Commit 830d8f0c authored by Alexander Yuzhin's avatar Alexander Yuzhin

[mobile] Fixed translation.

parent f05ee648
......@@ -107,6 +107,17 @@ define([
'mobile' : true
});
// Localization uiApp params
uiApp.params.modalButtonOk = me.textOK;
uiApp.params.modalButtonCancel = me.textCancel;
uiApp.params.modalPreloaderTitle = me.textPreloader;
uiApp.params.modalUsernamePlaceholder = me.textUsername;
uiApp.params.modalPasswordPlaceholder = me.textPassword;
uiApp.params.smartSelectBackText = me.textBack;
uiApp.params.smartSelectPopupCloseText = me.textClose;
uiApp.params.smartSelectPickerCloseText = me.textDone;
uiApp.params.notificationCloseButtonText = me.textClose;
if (me.api){
switch (value) {
case '0': me.api.SetFontRenderingMode(3); break;
......@@ -1188,7 +1199,15 @@ define([
advTxtOptions: 'Choose TXT Options',
advDRMOptions: 'Protected File',
advDRMEnterPassword: 'You password please:',
advDRMPassword: 'Password'
advDRMPassword: 'Password',
textOK: 'OK',
textCancel: 'Cancel',
textPreloader: 'Loading... ',
textUsername: 'Username',
textPassword: 'Password',
textBack: 'Back',
textClose: 'Close',
textDone: 'Done'
}
})(), DE.Controllers.Main || {}))
});
\ No newline at end of file
......@@ -117,6 +117,14 @@
"DE.Controllers.Main.warnLicenseExp": "Your license has expired.<br>Please update your license and refresh the page.",
"DE.Controllers.Main.warnNoLicense": "You are using an open source version of ONLYOFFICE. The version has limitations for concurrent connections to the document server (20 connections at a time).<br>If you need more please consider purchasing a commercial license.",
"DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"DE.Controllers.Main.textOK": "OK",
"DE.Controllers.Main.textCancel": "Cancel",
"DE.Controllers.Main.textPreloader": "Loading... ",
"DE.Controllers.Main.textUsername": "Username",
"DE.Controllers.Main.textPassword": "Password",
"DE.Controllers.Main.textBack": "Back",
"DE.Controllers.Main.textClose": "Close",
"DE.Controllers.Main.textDone": "Done",
"DE.Controllers.Search.textNoTextFound": "Text not Found",
"DE.Controllers.Search.textReplaceAll": "Replace All",
"DE.Controllers.Settings.notcriticalErrorTitle": "Warning",
......
......@@ -117,6 +117,14 @@
"DE.Controllers.Main.warnLicenseExp": "Votre licence a expiré.<br>Veuillez mettre à jour votre licence et actualisez la page.",
"DE.Controllers.Main.warnNoLicense": "Vous utilisez la version open source de ONLYOFFICE. La version a des limitations en connexions simultanées au serveur de documents (20 connexions à la fois).<br>Pour en avoir plus, veuillez envisager l'achat d'une licence commerciale.",
"DE.Controllers.Main.warnProcessRightsChange": "Le droit d'édition du fichier vous a été refusé.",
"DE.Controllers.Main.textOK": "OK",
"DE.Controllers.Main.textCancel": "Cancel",
"DE.Controllers.Main.textPreloader": "Loading... ",
"DE.Controllers.Main.textUsername": "Username",
"DE.Controllers.Main.textPassword": "Password",
"DE.Controllers.Main.textBack": "Back",
"DE.Controllers.Main.textClose": "Close",
"DE.Controllers.Main.textDone": "Done",
"DE.Controllers.Search.textNoTextFound": "Le texte est introuvable",
"DE.Controllers.Search.textReplaceAll": "Remplacer tout",
"DE.Controllers.Settings.notcriticalErrorTitle": "Avertissement",
......
......@@ -117,6 +117,14 @@
"DE.Controllers.Main.warnLicenseExp": "Истек срок действия лицензии.<br>Обновите лицензию, а затем обновите страницу.",
"DE.Controllers.Main.warnNoLicense": "Вы используете open source версию ONLYOFFICE. Эта версия имеет ограничения по количеству одновременных подключений к серверу документов (20 подключений одновременно).<br>Если требуется больше, рассмотрите вопрос о покупке коммерческой лицензии.",
"DE.Controllers.Main.warnProcessRightsChange": "Вам было отказано в праве на редактирование этого файла.",
"DE.Controllers.Main.textOK": "OK",
"DE.Controllers.Main.textCancel": "Отмена",
"DE.Controllers.Main.textPreloader": "Загрузка... ",
"DE.Controllers.Main.textUsername": "Имя пользователя",
"DE.Controllers.Main.textPassword": "Праоль",
"DE.Controllers.Main.textBack": "Назад",
"DE.Controllers.Main.textClose": "Закрыть",
"DE.Controllers.Main.textDone": "Готово",
"DE.Controllers.Search.textNoTextFound": "Текст не найден",
"DE.Controllers.Search.textReplaceAll": "Заменить все",
"DE.Controllers.Settings.notcriticalErrorTitle": "Внимание",
......
......@@ -102,6 +102,17 @@ define([
'mobile' : true
});
// Localization uiApp params
uiApp.params.modalButtonOk = me.textOK;
uiApp.params.modalButtonCancel = me.textCancel;
uiApp.params.modalPreloaderTitle = me.textPreloader;
uiApp.params.modalUsernamePlaceholder = me.textUsername;
uiApp.params.modalPasswordPlaceholder = me.textPassword;
uiApp.params.smartSelectBackText = me.textBack;
uiApp.params.smartSelectPopupCloseText = me.textClose;
uiApp.params.smartSelectPickerCloseText = me.textDone;
uiApp.params.notificationCloseButtonText = me.textClose;
if (me.api){
Common.Utils.Metric.setCurrentMetric(1); //pt
......@@ -1190,7 +1201,15 @@ define([
saveErrorText: 'An error has occurred while saving the file',
advDRMOptions: 'Protected File',
advDRMEnterPassword: 'You password please:',
advDRMPassword: 'Password'
advDRMPassword: 'Password',
textOK: 'OK',
textCancel: 'Cancel',
textPreloader: 'Loading... ',
textUsername: 'Username',
textPassword: 'Password',
textBack: 'Back',
textClose: 'Close',
textDone: 'Done'
}
})(), PE.Controllers.Main || {}))
});
\ No newline at end of file
......@@ -129,6 +129,14 @@
"PE.Controllers.Main.advDRMOptions": "Protected File",
"PE.Controllers.Main.advDRMEnterPassword": "You password please:",
"PE.Controllers.Main.advDRMPassword": "Password",
"PE.Controllers.Main.textOK": "OK",
"PE.Controllers.Main.textCancel": "Cancel",
"PE.Controllers.Main.textPreloader": "Loading... ",
"PE.Controllers.Main.textUsername": "Username",
"PE.Controllers.Main.textPassword": "Password",
"PE.Controllers.Main.textBack": "Back",
"PE.Controllers.Main.textClose": "Close",
"PE.Controllers.Main.textDone": "Done",
"PE.Controllers.DocumentHolder.menuCut": "Cut",
"PE.Controllers.DocumentHolder.menuCopy": "Copy",
......
......@@ -103,6 +103,17 @@ define([
,'mobile' : true
});
// Localization uiApp params
uiApp.params.modalButtonOk = me.textOK;
uiApp.params.modalButtonCancel = me.textCancel;
uiApp.params.modalPreloaderTitle = me.textPreloader;
uiApp.params.modalUsernamePlaceholder = me.textUsername;
uiApp.params.modalPasswordPlaceholder = me.textPassword;
uiApp.params.smartSelectBackText = me.textBack;
uiApp.params.smartSelectPopupCloseText = me.textClose;
uiApp.params.smartSelectPickerCloseText = me.textDone;
uiApp.params.notificationCloseButtonText = me.textClose;
if (me.api){
var value = Common.localStorage.getItem("sse-settings-fontrender");
if (value===null) value = window.devicePixelRatio > 1 ? '1' : '3';
......@@ -1405,7 +1416,15 @@ define([
advCSVOptions: 'Choose CSV Options',
advDRMOptions: 'Protected File',
advDRMEnterPassword: 'You password please:',
advDRMPassword: 'Password'
advDRMPassword: 'Password',
textOK: 'OK',
textCancel: 'Cancel',
textPreloader: 'Loading... ',
textUsername: 'Username',
textPassword: 'Password',
textBack: 'Back',
textClose: 'Close',
textDone: 'Done'
}
})(), SSE.Controllers.Main || {}))
});
\ No newline at end of file
......@@ -8,12 +8,12 @@
<div class="center">
<form class="searchbar search">
<div class="searchbar-input search">
<input type="search" placeholder="Search"><a href="#" class="searchbar-clear"></a>
<input type="search" placeholder="<%= scope.textSearch %>"><a href="#" class="searchbar-clear"></a>
</div>
</form>
<form class="searchbar replace">
<div class="searchbar-input replace">
<input type="search" placeholder="Replace"><a href="#" class="searchbar-clear"></a>
<input type="search" placeholder="<%= scope.textReplace %>"><a href="#" class="searchbar-clear"></a>
</div>
</form>
</div>
......
......@@ -193,6 +193,7 @@ define([
textFind: 'Find',
textFindAndReplace: 'Find and Replace',
textDone: 'Done',
textSearch: 'Search',
textReplace: 'Replace',
textMatchCase: 'Match Case',
textMatchCell: 'Match Cell',
......
......@@ -186,6 +186,8 @@ define([
textEditDoc: 'Edit Document',
textDownload: 'Download',
textDocInfo: 'Document Info',
textHelp: 'Help',
textAbout: 'About',
textBack: 'Back',
textDocTitle: 'Document title',
textLoading: 'Loading...',
......
......@@ -78,7 +78,7 @@ define([
$el.prepend(me.template({
android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'),
backTitle : Common.SharedSettings.get('android') ? '' : 'Back'
backTitle : Common.SharedSettings.get('android') ? '' : me.textBack
}));
$('.view-main .navbar').on('addClass removeClass', _.bind(me.onDisplayMainNavbar, me));
......@@ -147,7 +147,9 @@ define([
if (!(opts.indexOf('edit') < 0))
this.$btnEdit.toggleClass('disabled', val);
}
},
textBack: 'Back'
}
})(), SSE.Views.Toolbar || {}))
});
......@@ -185,6 +185,14 @@
"SSE.Controllers.Main.warnLicenseExp": "Your license has expired.<br>Please update your license and refresh the page.",
"SSE.Controllers.Main.warnNoLicense": "You are using an open source version of ONLYOFFICE. The version has limitations for concurrent connections to the document server (20 connections at a time).<br>If you need more please consider purchasing a commercial license.",
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"SSE.Controllers.Main.textOK": "OK",
"SSE.Controllers.Main.textCancel": "Cancel",
"SSE.Controllers.Main.textPreloader": "Loading... ",
"SSE.Controllers.Main.textUsername": "Username",
"SSE.Controllers.Main.textPassword": "Password",
"SSE.Controllers.Main.textBack": "Back",
"SSE.Controllers.Main.textClose": "Close",
"SSE.Controllers.Main.textDone": "Done",
"SSE.Controllers.Search.textNoTextFound": "Text not found",
"SSE.Controllers.Search.textReplaceAll": "Replace All",
"SSE.Controllers.Settings.notcriticalErrorTitle": "Warning",
......@@ -202,6 +210,7 @@
"SSE.Controllers.Toolbar.dlgLeaveTitleText": "You leave the application",
"SSE.Controllers.Toolbar.leaveButtonText": "Leave this Page",
"SSE.Controllers.Toolbar.stayButtonText": "Stay on this Page",
"SSE.Views.Toolbar.textBack": "Back",
"SSE.Views.AddFunction.sCatDateAndTime": "Date and time",
"SSE.Views.AddFunction.sCatEngineering": "Engineering",
"SSE.Views.AddFunction.sCatFinancial": "Financial",
......@@ -383,6 +392,7 @@
"SSE.Views.Search.textMatchCase": "Match Case",
"SSE.Views.Search.textMatchCell": "Match Cell",
"SSE.Views.Search.textReplace": "Replace",
"SSE.Views.Search.textSearch": "Search",
"SSE.Views.Search.textSearchIn": "Search In",
"SSE.Views.Search.textSheet": "Sheet",
"SSE.Views.Search.textWorkbook": "Workbook",
......@@ -392,6 +402,7 @@
"SSE.Views.Settings.textBack": "Back",
"SSE.Views.Settings.textCreateDate": "Creation date",
"SSE.Views.Settings.textDocInfo": "Document Info",
"SSE.Views.Settings.textHelp": "Help",
"SSE.Views.Settings.textDocTitle": "Document title",
"SSE.Views.Settings.textDone": "Done",
"SSE.Views.Settings.textDownload": "Download",
......
......@@ -185,6 +185,14 @@
"SSE.Controllers.Main.warnLicenseExp": "Истек срок действия лицензии.<br>Обновите лицензию, а затем обновите страницу.",
"SSE.Controllers.Main.warnNoLicense": "Вы используете open source версию ONLYOFFICE. Эта версия имеет ограничения по количеству одновременных подключений к серверу документов (20 подключений одновременно).<br>Если требуется больше, рассмотрите вопрос о покупке коммерческой лицензии.",
"SSE.Controllers.Main.warnProcessRightsChange": "Вам было отказано в праве на редактирование этого файла.",
"SSE.Controllers.Main.textOK": "OK",
"SSE.Controllers.Main.textCancel": "Отмена",
"SSE.Controllers.Main.textPreloader": "Загрузка... ",
"SSE.Controllers.Main.textUsername": "Имя пользователя",
"SSE.Controllers.Main.textPassword": "Праоль",
"SSE.Controllers.Main.textBack": "Назад",
"SSE.Controllers.Main.textClose": "Закрыть",
"SSE.Controllers.Main.textDone": "Готово",
"SSE.Controllers.Search.textNoTextFound": "Текст не найден",
"SSE.Controllers.Search.textReplaceAll": "Заменить все",
"SSE.Controllers.Settings.notcriticalErrorTitle": "Внимание",
......@@ -202,6 +210,7 @@
"SSE.Controllers.Toolbar.dlgLeaveTitleText": "Вы выходите из приложения",
"SSE.Controllers.Toolbar.leaveButtonText": "Уйти со страницы",
"SSE.Controllers.Toolbar.stayButtonText": "Остаться на странице",
"SSE.Views.Toolbar.textBack": "Назад",
"SSE.Views.AddFunction.sCatDateAndTime": "Дата и время",
"SSE.Views.AddFunction.sCatEngineering": "Инженерные",
"SSE.Views.AddFunction.sCatFinancial": "Финансовые",
......@@ -383,6 +392,7 @@
"SSE.Views.Search.textMatchCase": "С учетом регистра",
"SSE.Views.Search.textMatchCell": "Сопоставление ячеек",
"SSE.Views.Search.textReplace": "Заменить",
"SSE.Views.Search.textSearch": "Найти",
"SSE.Views.Search.textSearchIn": "Область поиска",
"SSE.Views.Search.textSheet": "Лист",
"SSE.Views.Search.textWorkbook": "Книга",
......@@ -392,6 +402,7 @@
"SSE.Views.Settings.textBack": "Назад",
"SSE.Views.Settings.textCreateDate": "Дата создания",
"SSE.Views.Settings.textDocInfo": "Информация о документе",
"SSE.Views.Settings.textHelp": "Справка",
"SSE.Views.Settings.textDocTitle": "Название документа",
"SSE.Views.Settings.textDone": "Готово",
"SSE.Views.Settings.textDownload": "Скачать",
......
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