ExamplesWindow: enabled i18n, improved resource strings, added Russian translation

This commit is contained in:
Maxim Ganetsky 2022-03-11 01:49:51 +03:00
parent c65ec38220
commit 2a725d7a5a
3 changed files with 185 additions and 7 deletions

View File

@ -0,0 +1,84 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: uconst.rsdirwhereexamplesgo
msgid "Directory where Examples go"
msgstr ""
#: uconst.rsexamplecategory
msgid "Category"
msgstr ""
#: uconst.rsexampleclose
msgid "Close"
msgstr ""
#: uconst.rsexampledownload
msgid "Download"
msgstr ""
#: uconst.rsexamplekeywords
msgid "Keywords"
msgstr ""
#: uconst.rsexamplename
msgid "Name"
msgstr ""
#: uconst.rsexampleopen
msgid "Open"
msgstr ""
#: uconst.rsexamplepath
msgid "Path"
msgstr ""
#: uconst.rsexampleprojects
msgid "Example Projects"
msgstr ""
#: uconst.rsexcopyingproject
msgid "Copying Project ..."
msgstr ""
#: uconst.rsexdownloadingproject
msgid "Downloading Project ..."
msgstr ""
#: uconst.rsexnetworkerror
msgid "GitLab Network Error"
msgstr ""
#: uconst.rsexnoprojectfile
msgid "Project file not found."
msgstr ""
#: uconst.rsexprojectcopiedto
msgid "Project Copied to"
msgstr ""
#: uconst.rsexprojectdownloadedto
msgid "Project Downloaded to"
msgstr ""
#: uconst.rsexsearchingforexamples
msgid "Searching for Examples ..."
msgstr ""
#: uconst.rsexsearchprompt
msgid "Search Here"
msgstr ""
#: uconst.rsfailedtocopyfilesto
msgid "Failed to copy files to"
msgstr ""
#: uconst.rsfoundexampleprojects
#, object-pascal-format
msgid "Found %d Example Projects"
msgstr ""
#: uconst.rsrefreshexistingexample
msgid "Refresh Existing Example?"
msgstr ""

View File

@ -0,0 +1,94 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Maxim Ganetsky <maxkill@mail.ru>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"
"X-Generator: Poedit 2.4.3\n"
#: uconst.rsdirwhereexamplesgo
msgid "Directory where Examples go"
msgstr "Каталог для помещения примеров"
#: uconst.rsexamplecategory
msgid "Category"
msgstr "Категория"
#: uconst.rsexampleclose
msgid "Close"
msgstr "Закрыть"
#: uconst.rsexampledownload
msgid "Download"
msgstr "Загрузить"
#: uconst.rsexamplekeywords
msgid "Keywords"
msgstr "Ключевые слова"
#: uconst.rsexamplename
msgid "Name"
msgstr "Имя"
#: uconst.rsexampleopen
msgid "Open"
msgstr "Открыть"
#: uconst.rsexamplepath
msgid "Path"
msgstr "Путь"
#: uconst.rsexampleprojects
msgid "Example Projects"
msgstr "Примеры проектов"
#: uconst.rsexcopyingproject
msgid "Copying Project ..."
msgstr "Копирование проекта ..."
#: uconst.rsexdownloadingproject
msgid "Downloading Project ..."
msgstr "Загрузка проекта ..."
#: uconst.rsexnetworkerror
msgid "GitLab Network Error"
msgstr "Ошибка подключения к GitLab"
#: uconst.rsexnoprojectfile
msgid "Project file not found."
msgstr "Файл проекта не найден."
#: uconst.rsexprojectcopiedto
msgid "Project Copied to"
msgstr "Проект скопирован в"
#: uconst.rsexprojectdownloadedto
msgid "Project Downloaded to"
msgstr "Проект загружен в"
#: uconst.rsexsearchingforexamples
msgid "Searching for Examples ..."
msgstr "Поиск примеров ..."
#: uconst.rsexsearchprompt
msgid "Search Here"
msgstr "Поисковый запрос"
#: uconst.rsfailedtocopyfilesto
msgid "Failed to copy files to"
msgstr "Не удалось скопировать файлы в"
#: uconst.rsfoundexampleprojects
#, object-pascal-format
msgid "Found %d Example Projects"
msgstr "Найдено примеров проектов: %d"
#: uconst.rsrefreshexistingexample
msgid "Refresh Existing Example?"
msgstr "Обновить уже имеющийся пример?"

View File

@ -32,17 +32,17 @@ resourcestring
// ---------- uLaz_Examples
rsExSearchPrompt = 'Search Here';
rsExNoProjectFile = 'Maybe no project file ?';
rsExNoProjectFile = 'Project file not found.';
rsFoundExampleProjects = 'Found %d Example Projects';
rsRefreshExistingExample = 'Refresh Existing Example ?';
rsExDownloadingProject = 'Downloading Project...';
rsExCopyingProject = 'Copying Project...';
rsRefreshExistingExample = 'Refresh Existing Example?';
rsExDownloadingProject = 'Downloading Project ...';
rsExCopyingProject = 'Copying Project ...';
rsExProjectDownloadedTo = 'Project Downloaded to'; // followed by a full path name
rsExProjectCopiedTo = 'Project Copied to'; // followed by a full path name
rsExampleName = 'Name'; // Column title
rsExamplePath = 'Path'; // "
rsExampleKeyWords = 'Key Words'; // "
rsExSearchingForExamples = 'Searching for Examples';
rsExampleKeyWords = 'Keywords'; // "
rsExSearchingForExamples = 'Searching for Examples ...';
rsFailedToCopyFilesTo = 'Failed to copy files to'; // Followed by a dir were we, apparently, cannot write
// These are ObjectInspector set but I believe I cannot get OI literals i18n in a Package ??
@ -57,7 +57,7 @@ resourcestring
// ------- rsExampleData
// Most literals in uExampleData are for debugging only and very unlikely to be
// seen by the end user. But a couple of network related ones may need i18n -
rsExNetWorkError = 'GitLab NetWork Error'; // Followed by system error msg
rsExNetWorkError = 'GitLab Network Error'; // Followed by system error msg
implementation