mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
fix(app): use camelCase instead of snake_case for qml files
This commit is contained in:
parent
da7f69e550
commit
f41720a15d
6 changed files with 8 additions and 8 deletions
|
|
@ -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) {
|
||||
Loading…
Add table
Reference in a new issue