[app] Added translation for "Enter folder name"

This commit is contained in:
Slava Monich 2015-11-30 18:29:37 +02:00
parent 57204d3cc4
commit ed218a6f03
5 changed files with 19 additions and 1 deletions

View file

@ -117,8 +117,10 @@ MouseArea {
textTopMargin: 0
opacity: _editing ? 1 : 0
visible: opacity > 0
placeholderText: "Enter folder name"
//% "Enter folder name"
placeholderText: qsTrId("shelf-title-placeholder")
onTextChanged: console.log(text)
EnterKey.enabled: text.length > 0 && text.indexOf("/") < 0
EnterKey.onClicked: {
if (_editing) {
if (text) {

View file

@ -39,6 +39,10 @@
<source>No books</source>
<translation>Sinulla ei ole kirjoja</translation>
</message>
<message id="shelf-title-placeholder">
<source>Enter folder name</source>
<translation type="unfinished">Anna kansion nimi</translation>
</message>
<message id="storage-removable">
<source>Memory card</source>
<translation>Muistikortti</translation>

View file

@ -39,6 +39,10 @@
<source>No books</source>
<translation>Здесь пусто, нет ничего вообще</translation>
</message>
<message id="shelf-title-placeholder">
<source>Enter folder name</source>
<translation>Введите имя папки</translation>
</message>
<message id="storage-removable">
<source>Memory card</source>
<translation>Карта памяти</translation>

View file

@ -39,6 +39,10 @@
<source>No books</source>
<translation>Inga böcker</translation>
</message>
<message id="shelf-title-placeholder">
<source>Enter folder name</source>
<translation type="unfinished">Ange mappnamn</translation>
</message>
<message id="storage-removable">
<source>Memory card</source>
<translation>Minneskort</translation>

View file

@ -39,6 +39,10 @@
<source>No books</source>
<translation>No books</translation>
</message>
<message id="shelf-title-placeholder">
<source>Enter folder name</source>
<translation>Enter folder name</translation>
</message>
<message id="storage-removable">
<source>Memory card</source>
<translation>Memory card</translation>