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

This commit is contained in:
Ronan Abhamon 2016-09-09 11:11:17 +02:00
parent da7f69e550
commit f41720a15d
6 changed files with 8 additions and 8 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>

View 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;

View file

@ -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) {