Commit f41720a1 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(app): use camelCase instead of snake_case for qml files

parent da7f69e5
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1"> <TS version="2.1">
<context> <context>
<name>main_window</name> <name>mainWindow</name>
<message> <message>
<source>mainSearchBarPlaceholder</source> <source>mainSearchBarPlaceholder</source>
<translation>Search contact, start call, start chat...</translation> <translation>Search contact, start call, start chat...</translation>
</message> </message>
</context> </context>
<context> <context>
<name>manage_accounts</name> <name>manageAccounts</name>
<message> <message>
<source>manageAccountsTitle</source> <source>manageAccountsTitle</source>
<translation>Presence and accounts</translation> <translation>Presence and accounts</translation>
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1"> <TS version="2.1">
<context> <context>
<name>main_window</name> <name>mainWindow</name>
<message> <message>
<source>mainSearchBarPlaceholder</source> <source>mainSearchBarPlaceholder</source>
<translation>Chercher contact, commencer appel ou chat...</translation> <translation>Chercher contact, commencer appel ou chat...</translation>
</message> </message>
</context> </context>
<context> <context>
<name>manage_accounts</name> <name>manageAccounts</name>
<message> <message>
<source>manageAccountsTitle</source> <source>manageAccountsTitle</source>
<translation>Présence et comptes</translation> <translation>Présence et comptes</translation>
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
<file>ui/components/form/DialogComboBox.qml</file> <file>ui/components/form/DialogComboBox.qml</file>
<file>ui/components/form/RoundButton.qml</file> <file>ui/components/form/RoundButton.qml</file>
<file>ui/components/form/ToolBarButton.qml</file> <file>ui/components/form/ToolBarButton.qml</file>
<file>ui/views/main_window.qml</file> <file>ui/views/mainWindow.qml</file>
<file>ui/views/manage_accounts.qml</file> <file>ui/views/manageAccounts.qml</file>
<!-- Images. --> <!-- Images. -->
<file>imgs/collapse.svg</file> <file>imgs/collapse.svg</file>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
int main (int argc, char *argv[]) { int main (int argc, char *argv[]) {
App app(argc, argv); App app(argc, argv);
QQmlApplicationEngine engine(QUrl("qrc:/ui/views/main_window.qml")); QQmlApplicationEngine engine(QUrl("qrc:/ui/views/mainWindow.qml"));
if (engine.rootObjects().isEmpty()) if (engine.rootObjects().isEmpty())
return EXIT_FAILURE; return EXIT_FAILURE;
......
...@@ -29,7 +29,7 @@ ApplicationWindow { ...@@ -29,7 +29,7 @@ ApplicationWindow {
// User actions. // User actions.
ToolBarButton { ToolBarButton {
onClicked: { onClicked: {
var component = Qt.createComponent('qrc:/ui/views/manage_accounts.qml'); var component = Qt.createComponent('qrc:/ui/views/manageAccounts.qml');
if (component.status !== Component.Ready) { if (component.status !== Component.Ready) {
console.debug('Window not ready.') console.debug('Window not ready.')
if(component.status === Component.Error) { if(component.status === Component.Error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment