[app] Set window title
This commit is contained in:
parent
a56349fe11
commit
7d891bfd45
6 changed files with 20 additions and 0 deletions
|
@ -37,6 +37,9 @@ ApplicationWindow {
|
|||
id: window
|
||||
allowedOrientations: Orientation.All
|
||||
|
||||
//% "Books"
|
||||
readonly property string title: qsTrId("books-app-name")
|
||||
|
||||
property variant currentShelf: mainPage.currentShelf
|
||||
|
||||
BooksSettings { id: globalSettings }
|
||||
|
|
|
@ -170,6 +170,7 @@ void ZLibrary::run(ZLApplication* aApp)
|
|||
root->setContextProperty("PointsPerInch", BOOKS_PPI);
|
||||
root->setContextProperty("MaximumHintCount", 1);
|
||||
|
||||
view->setTitle(qtTrId("books-app-name"));
|
||||
view->setSource(QUrl::fromLocalFile(qml));
|
||||
view->show();
|
||||
HDEBUG("started");
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
<TS version="2.1" language="fi">
|
||||
<context>
|
||||
<name></name>
|
||||
<message id="books-app-name">
|
||||
<source>Books</source>
|
||||
<translation>Kirjat</translation>
|
||||
</message>
|
||||
<message id="book-view-back">
|
||||
<source>Back to library</source>
|
||||
<translation>Takaisin kirjalistaan</translation>
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
<TS version="2.1" language="ru">
|
||||
<context>
|
||||
<name></name>
|
||||
<message id="books-app-name">
|
||||
<source>Books</source>
|
||||
<translation>Книги</translation>
|
||||
</message>
|
||||
<message id="book-view-back">
|
||||
<source>Back to library</source>
|
||||
<translation>Вернуться в библиотеку</translation>
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
<TS version="2.1" language="sv">
|
||||
<context>
|
||||
<name></name>
|
||||
<message id="books-app-name">
|
||||
<source>Books</source>
|
||||
<translation>Böcker</translation>
|
||||
</message>
|
||||
<message id="book-view-back">
|
||||
<source>Back to library</source>
|
||||
<translation>Tillbaka till biblioteket</translation>
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
<TS version="2.1" language="en">
|
||||
<context>
|
||||
<name></name>
|
||||
<message id="books-app-name">
|
||||
<source>Books</source>
|
||||
<translation>Books</translation>
|
||||
</message>
|
||||
<message id="book-view-back">
|
||||
<source>Back to library</source>
|
||||
<translation>Back to library</translation>
|
||||
|
|
Loading…
Reference in a new issue