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 @@
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>main_window</name>
<name>mainWindow</name>
<message>
<source>mainSearchBarPlaceholder</source>
<translation>Search contact, start call, start chat...</translation>
</message>
</context>
<context>
<name>manage_accounts</name>
<name>manageAccounts</name>
<message>
<source>manageAccountsTitle</source>
<translation>Presence and accounts</translation>
......
......@@ -2,14 +2,14 @@
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>main_window</name>
<name>mainWindow</name>
<message>
<source>mainSearchBarPlaceholder</source>
<translation>Chercher contact, commencer appel ou chat...</translation>
</message>
</context>
<context>
<name>manage_accounts</name>
<name>manageAccounts</name>
<message>
<source>manageAccountsTitle</source>
<translation>Présence et comptes</translation>
......
......@@ -12,8 +12,8 @@
<file>ui/components/form/DialogComboBox.qml</file>
<file>ui/components/form/RoundButton.qml</file>
<file>ui/components/form/ToolBarButton.qml</file>
<file>ui/views/main_window.qml</file>
<file>ui/views/manage_accounts.qml</file>
<file>ui/views/mainWindow.qml</file>
<file>ui/views/manageAccounts.qml</file>
<!-- Images. -->
<file>imgs/collapse.svg</file>
......
......@@ -8,7 +8,7 @@
int main (int argc, char *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())
return EXIT_FAILURE;
......
......@@ -29,7 +29,7 @@ ApplicationWindow {
// User actions.
ToolBarButton {
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) {
console.debug('Window not ready.')
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