From 746fdef013ad7c83c15280176311a47a70323259 Mon Sep 17 00:00:00 2001 From: blue Date: Fri, 4 Oct 2019 18:12:08 +0300 Subject: [PATCH] first translations experiments --- core/archive.cpp | 2 +- translations/main.ts | 283 ++++++++++++++++++++++++++++++++++++++ translations/main_ru.qm | Bin 0 -> 4639 bytes translations/main_ru.qph | 22 +++ translations/main_ru.ts | 288 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 594 insertions(+), 1 deletion(-) create mode 100644 translations/main.ts create mode 100644 translations/main_ru.qm create mode 100644 translations/main_ru.qph create mode 100644 translations/main_ru.ts diff --git a/core/archive.cpp b/core/archive.cpp index 9615914..00139ac 100644 --- a/core/archive.cpp +++ b/core/archive.cpp @@ -57,7 +57,7 @@ void Core::Archive::open(const QString& account) } mdb_env_set_maxdbs(environment, 4); - mdb_env_set_mapsize(environment, 1UL * 1024UL * 1024UL * 1024UL); + mdb_env_set_mapsize(environment, 512UL * 1024UL * 1024UL); mdb_env_open(environment, path.toStdString().c_str(), 0, 0664); MDB_txn *txn; diff --git a/translations/main.ts b/translations/main.ts new file mode 100644 index 0000000..e655a2b --- /dev/null +++ b/translations/main.ts @@ -0,0 +1,283 @@ + + + + + Account + + + + Account + + + + + + Your account login + + + + + + Server + + + + + + A server address of your account. Like 404.city or macaw.me + + + + + + Login + + + + + + Password + + + + + + Password of your account + + + + + + Name + + + + + + Just a name how would you call this account, doesn't affect anything + + + + + + Resource + + + + + + A resource name like "Home" or "Work" + + + + + + QXmpp + + + + + Accounts + + + + Accounts + + + + + + Delete + + + + + + Add + + + + + + Edit + + + + + + Change password + + + + + + Connect + + + + + JoinConference + + + + Join new conference + + + + + + JID + + + + + + Room JID + + + + + + identifier@conference.server.org + + + + + + Account + + + + + + Join on login + + + + + + If checked Squawk will try to join this conference on login + + + + + + Nick name + + + + + + Your nick name for that conference. If you leave this field empty your account name will be used as a nick name + + + + + + John + + + + + NewContact + + + + Add new contact + + + + + + Account + + + + + + An account that is going to have new contact + + + + + + JID + + + + + + Jabber id of your new contact + + + + + + name@server.dmn + + + + + + Name + + + + + + The way this new contact will be labeled in your roster (optional) + + + + + + John Smith + + + + + Squawk + + + + squawk + + + + + + Settings + + + + + + Squawk + + + + + + Accounts + + + + + + Quit + + + + + + Add contact + + + + + + Add conference + + + + diff --git a/translations/main_ru.qm b/translations/main_ru.qm new file mode 100644 index 0000000000000000000000000000000000000000..a0d42b229563a937aff4e0cacdef85ebc9de354d GIT binary patch literal 4639 zcmbVP-ESL35FeAZ<0ffR(i95fV+kK^QLvmeY274E>?F`M2`OzVD3vODvCr`l`!2OF zHTee+LOdW451=B%Hv+^%5fW0xSAiF*@&W>h3W*8?LINrz9(dv7H@o)T#daW|$hq6y z+1;7>&HQF=`0dQrPcEH$;`|NQym$QBcfKAY3LPif_X1J4n`riPqUHznv+WHMX9Q6s zOyMoRVE#0PCkKd{q<(IElERN*z2gG)?r@1(pP{*9e-d4Gf$sio33A`iv4JB*8;{Zt zze6s3h%Uu4L~Wta=A$?-dN6e5({B;cxzNbAk8%FRrqd@5W8X>9@$5FDmaoJEm#)J8 zv*Puh7qS2I@TpU0iNsL&mA5YtZQ2vLZ+Zgf{1|!T7OZ!SG(VN^f<348Gm_NL)?>|D zKHL1+&!1wy6+Qm_Z_wk5=&Rp;hx_i>@X`k#V*a9jw*R%^-KQUeUbNxMF6b3~t))Bk z5zc?2#hiwG_*CoOpI~R?!Pc{O7*bPhFP-0l{jF_hLM7-WIu1V{BWi!McQ+V-gb!rF^2bEF^!cOlGII;TvilyVxY*qc$>vl#?JV1Fh)sD^Y=W9eT%8grT#~|D zQuL|+ag4R<1Iom4v5!@R`r72(Fk%#HrIcFRAv+BRz+{}5P^JvBnNYc(;`qfVO%}Pd z5-_Gf24)Q^W0eiv;TbfPk|ncv(kx0NlYwa^>15>!43vh}KPG3`#Qu1HEN!_fY-GVm z8|7HRtTXc(aigbvTw&rXKjU3l^-SINhsE^@-V{Tov}gDkI6bb|DLNJGdtvo%_=0`M z{u+Q>3Z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H+YDxH&%qu1?U<}&X{MkmWUcdp8M@ByFrtgT>RV##D6W1n@e67@ zC#Fv&Y-R9R8OZu-3%Lpi&&JluLDhr_p3=hKaJmwE^5WpK?&5-io#I+x$aROm`}Y8O zzuSq + + + Add contact + Добавить контакт + Opens add contact dialog + + + Add conference + Присоединиться к беседе + Opens a dialog to join conference + + + Quit + Выйти + Quits the application + + + Account + Учетная запись + + diff --git a/translations/main_ru.ts b/translations/main_ru.ts new file mode 100644 index 0000000..c1b218a --- /dev/null +++ b/translations/main_ru.ts @@ -0,0 +1,288 @@ + + + + + Account + + + + Account + Заголовок окна + Учетная запись + + + + + Your account login + Имя пользователя Вашей учетной записи + + + + + Server + Сервер + + + + + A server address of your account. Like 404.city or macaw.me + Адресс сервера вашей учетной записи (выглядит как 404.city или macaw.me) + + + + + Login + Имя учетной записи + + + + + Password + Пароль + + + + + Password of your account + Пароль вашей учетной записи + + + + + Name + Имя + + + + + Just a name how would you call this account, doesn't affect anything + Просто имя, то как Вы называете свою учетную запись, может быть любым + + + + + Resource + Ресурс + + + + + A resource name like "Home" or "Work" + Имя этой программы для ваших контактов, может быть "Home" или "Phone" + + + + + QXmpp + Ресурс по умолчанию + QXmpp + + + + Accounts + + + + Accounts + Учетные записи + + + + + Delete + Удалить + + + + + Add + Добавить + + + + + Edit + Редактировать + + + + + Change password + Изменить пароль + + + + + Connect + Подключить + + + + JoinConference + + + + Join new conference + Заголовок окна + Присоединиться к новой беседе + + + + + JID + JID + + + + + Room JID + Jabber-идентификатор беседы + + + + + identifier@conference.server.org + + + + + + Account + + + + + + Join on login + + + + + + If checked Squawk will try to join this conference on login + + + + + + Nick name + + + + + + Your nick name for that conference. If you leave this field empty your account name will be used as a nick name + + + + + + John + + + + + NewContact + + + + Add new contact + Заголовок окна + Добавление нового контакта + + + + + Account + Учетная запись + + + + + An account that is going to have new contact + Учетная запись для которой будет добавлен контакт + + + + + JID + JID + + + + + Jabber id of your new contact + Jabber-идентификатор нового контакта + + + + + name@server.dmn + Placeholder поля ввода JID + name@server.dmn + + + + + Name + Имя + + + + + The way this new contact will be labeled in your roster (optional) + То, как будет подписан контакт в вашем списке контактов (не обязательно) + + + + + John Smith + Иван Иванов + + + + Squawk + + + + squawk + Squawk + + + + + Settings + Настройки + + + + + Squawk + Squawk + + + + + Accounts + Учетные записи + + + + + Quit + Выйти + + + + + Add contact + Добавить контакт + + + + + Add conference + Присоединиться к беседе + + +