mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
245 lines
9.8 KiB
245 lines
9.8 KiB
/* |
|
* Copyright (c) 2021, The PurpleI2P Project |
|
* |
|
* This file is part of Purple i2pd project and licensed under BSD3 |
|
* |
|
* See full license text in LICENSE file at top of project tree |
|
*/ |
|
|
|
#include <map> |
|
#include <vector> |
|
#include <string> |
|
#include <memory> |
|
#include "I18N.h" |
|
|
|
// Turkmen localization file |
|
|
|
namespace i2p |
|
{ |
|
namespace i18n |
|
{ |
|
namespace turkmen // language namespace |
|
{ |
|
// language name in lowercase |
|
static std::string language = "turkmen"; |
|
|
|
// See for language plural forms here: |
|
// https://localization-guide.readthedocs.io/en/latest/l10n/pluralforms.html |
|
static int plural (int n) { |
|
return n != 1 ? 1 : 0; |
|
} |
|
|
|
static std::map<std::string, std::string> strings |
|
{ |
|
// HTTP Proxy |
|
{"Proxy error", "Proksi ýalňyşlygy"}, |
|
{"Proxy info", "Proksi maglumat"}, |
|
{"Proxy error: Host not found", "Proksi ýalňyşlygy: Host tapylmady"}, |
|
{"Remote host not found in router's addressbook", "Uzakdaky öý eýesi marşruteriň salgy kitabynda tapylmady"}, |
|
{"You may try to find this host on jump services below", "Aşakdaky böküş hyzmatlarynda bu öý eýesini tapmaga synanyşyp bilersiňiz"}, |
|
{"Invalid request", "Nädogry haýyş"}, |
|
{"Proxy unable to parse your request", "Proksi haýyşyňyzy derňäp bilmeýär"}, |
|
{"addresshelper is not supported", "Salgylandyryjy goldanok"}, |
|
{"Host", "Adres"}, |
|
{"added to router's addressbook from helper", "marşruteriň adresini kömekçiden goşdy"}, |
|
{"already in router's addressbook", "marşruteriň adres kitaby"}, |
|
{"Click", "Basyň"}, |
|
{"here", "bu ýerde"}, |
|
{"to proceed", "dowam etmek"}, |
|
{"to update record", "recordazgyny täzelemek üçin"}, |
|
{"Addresshelper found", "Forgelper tapyldy"}, |
|
{"invalid request uri", "nädogry haýyş URI"}, |
|
{"Can't detect destination host from request", "Haýyşdan barmaly ýerini tapyp bilemok"}, |
|
{"Outproxy failure", "Daşarky proksi ýalňyşlyk"}, |
|
{"bad outproxy settings", "daşarky daşarky proksi sazlamalary nädogry"}, |
|
{"not inside I2P network, but outproxy is not enabled", "I2P torunda däl, ýöne daşarky proksi goşulmaýar"}, |
|
{"unknown outproxy url", "näbelli daşarky proksi URL"}, |
|
{"cannot resolve upstream proxy", "has ýokary proksi kesgitläp bilmeýär"}, |
|
{"hostname too long", "hoster eýesi ady gaty uzyn"}, |
|
{"cannot connect to upstream socks proxy", "ýokary jorap SOCKS proksi bilen birigip bolmaýar"}, |
|
{"Cannot negotiate with socks proxy", "Iň ýokary jorap SOCKS proksi bilen ylalaşyp bilmeýärler"}, |
|
{"CONNECT error", "Bagyr haýyşy säwligi"}, |
|
{"Failed to Connect", "Birikdirip bilmedi"}, |
|
{"socks proxy error", "socks proksi ýalňyşlygy"}, |
|
{"failed to send request to upstream", "öý eýesi proksi üçin haýyş iberip bilmedi"}, |
|
{"No Reply From socks proxy", "Jorap proksi serwerinden hiç hili jogap ýok"}, |
|
{"cannot connect", "birikdirip bilmedi"}, |
|
{"http out proxy not implemented", "daşarky HTTP proksi serwerini goldamak amala aşyrylmaýar"}, |
|
{"cannot connect to upstream http proxy", "ýokary akym HTTP proksi serwerine birigip bilmedi"}, |
|
{"Host is down", "Salgy elýeterli däl"}, |
|
{"Can't create connection to requested host, it may be down. Please try again later.", |
|
"Talap edilýän salgyda birikmäni gurup bilmedim, onlaýn bolup bilmez. Soňra haýyşy soň gaýtalamaga synanyşyň."}, |
|
|
|
// Webconsole // |
|
// cssStyles |
|
{"Disabled", "Öçürildi"}, |
|
{"Enabled", "Goşuldy"}, |
|
// ShowTraffic |
|
{"KiB", "KiB"}, |
|
{"MiB", "MiB"}, |
|
{"GiB", "GiB"}, |
|
// ShowTunnelDetails |
|
{"building", "bina"}, |
|
{"failed", "şowsuz"}, |
|
{"expiring", "möhleti gutarýar"}, |
|
{"established", "işleýär"}, |
|
{"exploratory", "gözleg"}, |
|
{"unknown", "näbelli"}, |
|
{"<b>i2pd</b> webconsole", "Web konsoly <b>i2pd</b>"}, |
|
// ShowPageHead |
|
{"Main page", "Esasy sahypa"}, |
|
{"Router commands", "Marşrutizator buýruklary"}, |
|
{"Local destinations", "Ýerli ýerler"}, |
|
{"LeaseSets", "Lizset"}, |
|
{"Tunnels", "Tuneller"}, |
|
{"Transit tunnels", "Tranzit tunels"}, |
|
{"Transports", "Daşamak"}, |
|
{"I2P tunnels", "I2P tuneller"}, |
|
{"SAM sessions", "SAM Sessiýasy"}, |
|
// Network Status |
|
{"OK", "OK"}, |
|
{"Testing", "Synag etmek"}, |
|
{"Firewalled", "Daşynda petiklendi"}, |
|
{"Unknown", "Näbelli"}, |
|
{"Proxy", "Proksi"}, |
|
{"Mesh", "MESH-tor"}, |
|
{"Error", "Ýalňyşlyk"}, |
|
{"Clock skew", "Takyk wagt däl"}, |
|
{"Offline", "Awtonom"}, |
|
{"Symmetric NAT", "Simmetriklik NAT"}, |
|
// Status |
|
{"Uptime", "Onlaýn onlaýn sözlügi"}, |
|
{"Network status", "Tor ýagdaýy"}, |
|
{"Network status v6", "Tor ýagdaýy v6"}, |
|
{"Stopping in", "Soň duruň"}, |
|
{"Family", "Maşgala"}, |
|
{"Tunnel creation success rate", "Gurlan teneller üstünlikli gurlan teneller"}, |
|
{"Received", "Alnan"}, |
|
{"Sent", "Ýerleşdirildi"}, |
|
{"Transit", "Tranzit"}, |
|
{"KiB/s", "KiB/s"}, |
|
{"Data path", "Maglumat ýoly"}, |
|
{"Hidden content. Press on text to see.", "Gizlin mazmun. Görkezmek üçin tekste basyň."}, |
|
{"Router Ident", "Marşrutly kesgitleýji"}, |
|
{"Router Family", "Marşrutler maşgalasy"}, |
|
{"Router Caps", "Baýdaklar marşruteri"}, |
|
{"Version", "Wersiýasy"}, |
|
{"Our external address", "Daşarky salgymyz"}, |
|
{"supported", "goldanýar"}, |
|
{"Routers", "Marşrutizatorlar"}, |
|
{"Floodfills", "Fludfillar"}, |
|
{"Client Tunnels", "Müşderi tunelleri"}, |
|
{"Transit Tunnels", "Tranzit Tunelleri"}, |
|
{"Services", "Hyzmatlar"}, |
|
// ShowLocalDestinations |
|
{"Local Destinations", "Ýerli ýerler"}, |
|
// ShowLeaseSetDestination |
|
{"Encrypted B33 address", "Şifrlenen B33 salgylar"}, |
|
{"Address registration line", "Hasaba alyş salgysy"}, |
|
{"Domain", "Domen"}, |
|
{"Generate", "Öndürmek"}, |
|
{"<b>Note:</b> result string can be used only for registering 2LD domains (example.i2p). For registering subdomains please use i2pd-tools.", |
|
"<b>Bellik:</b> Alnan setir diňe ikinji derejeli domenleri bellige almak üçin ulanylyp bilner. Subýutmalary hasaba almak üçin i2pd ulanyň-tools."}, |
|
{"Address", "Salgysy"}, |
|
{"Type", "Görnüş"}, |
|
{"EncType", "Şifrlemek görnüşi"}, |
|
{"Inbound tunnels", "Gelýän tuneller"}, |
|
{"Outbound tunnels", "Çykýan tuneller"}, |
|
{"ms", "ms"}, // milliseconds |
|
{"Tags", "Bellikler"}, |
|
{"Incoming", "Gelýän"}, |
|
{"Outgoing", "Çykýan"}, |
|
{"Destination", "Maksat"}, |
|
{"Amount", "Sany"}, |
|
{"Incoming Tags", "Gelýän bellikler"}, |
|
{"Tags sessions", "Sapaklar bellikler"}, |
|
{"Status", "Ýagdaýy"}, |
|
// ShowLocalDestination |
|
{"Local Destination", "Ýerli maksat"}, |
|
{"Streams", "Strimlary"}, |
|
{"Close stream", "Yap strim"}, |
|
// ShowI2CPLocalDestination |
|
{"I2CP session not found", "I2CP Sessiýa tapylmady"}, |
|
{"I2CP is not enabled", "I2CP goşulmaýar"}, |
|
// ShowLeasesSets |
|
{"Invalid", "Nädogry"}, |
|
{"Store type", "Ammar görnüşi"}, |
|
{"Expires", "Möhleti gutarýar"}, |
|
{"Non Expired Leases", "Möhleti gutarmady Lizsetlary"}, |
|
{"Gateway", "Derweze"}, |
|
{"TunnelID", "Tuneliň ID"}, |
|
{"EndDate", "Gutarýar"}, |
|
{"not floodfill", "fludfil däl"}, |
|
// ShowTunnels |
|
{"Queue size", "Nobatyň ululygy"}, |
|
// ShowCommands |
|
{"Run peer test", "Synag başlaň"}, |
|
{"Decline transit tunnels", "Tranzit tunellerini ret ediň"}, |
|
{"Accept transit tunnels", "Tranzit tunellerini alyň"}, |
|
{"Cancel graceful shutdown", "Tekiz durmagy ýatyryň"}, |
|
{"Start graceful shutdown", "Tekiz durmak"}, |
|
{"Force shutdown", "Mejbury duralga"}, |
|
{"<b>Note:</b> any action done here are not persistent and not changes your config files.", |
|
"<b>Bellik:</b> Bu ýerde öndürilen islendik çäre hemişelik däl we konfigurasiýa faýllaryňyzy üýtgetmeýär."}, |
|
{"Logging level", "Giriş derejesi"}, |
|
{"Transit tunnels limit", "Tranzit tunelleriniň çägi"}, |
|
{"Change", "Üýtgetmek"}, |
|
// ShowTransitTunnels |
|
{"no transit tunnels currently built", "gurlan tranzit tunelleri ýok"}, |
|
// ShowSAMSessions/ShowSAMSession |
|
{"SAM disabled", "SAM öçürilen"}, |
|
{"SAM session not found", "SAM Sessiýa tapylmady"}, |
|
{"no sessions currently running", "başlamagyň sessiýalary ýok"}, |
|
{"SAM Session", "SAM Sessiýa"}, |
|
// ShowI2PTunnels |
|
{"Server Tunnels", "Serwer tunelleri"}, |
|
{"Client Forwards", "Müşderi gönükdirýär"}, |
|
{"Server Forwards", "Serweriň täzeden düzlüleri"}, |
|
// HandlePage |
|
{"Unknown page", "Näbelli sahypa"}, |
|
// HandleCommand, ShowError |
|
{"Invalid token", "Nädogry token"}, |
|
{"SUCCESS", "Üstünlikli"}, |
|
{"ERROR", "Ýalňyşlyk"}, |
|
{"Unknown command", "Näbelli topar"}, |
|
{"Command accepted", "Topar kabul edilýär"}, |
|
{"Back to commands list", "Topar sanawyna dolan"}, |
|
{"You will be redirected in 5 seconds", "5 sekuntdan soň täzeden ugrukdyrylarsyňyz"}, |
|
// HTTP_COMMAND_KILLSTREAM |
|
{"Stream closed", "Strim ýapyk"}, |
|
{"Stream not found or already was closed", "Strim tapylmady ýa-da eýýäm ýapyldy"}, |
|
{"Destination not found", "Niýetlenen ýeri tapylmady"}, |
|
{"StreamID can't be null", "StreamID boş bolup bilmez"}, |
|
{"Return to destination page", "Barmaly nokadynyň nokadyna gaýdyp geliň"}, |
|
{"You will be redirected back in 5 seconds", "5 sekuntda yzyna iberiler"}, |
|
// HTTP_COMMAND_LIMITTRANSIT |
|
{"Transit tunnels count must not exceed 65535", "Tranzit tagtalaryň sany 65535-den geçmeli däldir"}, |
|
// HTTP_COMMAND_GET_REG_STRING |
|
{"Register at reg.i2p", "Reg.i2P-de hasaba duruň"}, |
|
{"Description", "Beýany"}, |
|
{"A bit information about service on domain", "Domendäki hyzmat barada käbir maglumatlar"}, |
|
{"Submit", "Iber"}, |
|
{"Domain can't end with .b32.i2p", "Domain .b32.i2p bilen gutaryp bilmez"}, |
|
{"Domain must end with .i2p", "Domeni .i2p bilen gutarmaly"}, |
|
{"Such destination is not found", "Bu barmaly ýer tapylmady"}, |
|
{"", ""}, |
|
}; |
|
|
|
static std::map<std::string, std::vector<std::string>> plurals |
|
{ |
|
// ShowUptime |
|
{"days", {"gün", "gün"}}, |
|
{"hours", {"sagat", "sagat"}}, |
|
{"minutes", {"minut", "minut"}}, |
|
{"seconds", {"sekunt", "sekunt"}}, |
|
{"", {"", ""}}, |
|
}; |
|
|
|
std::shared_ptr<const i2p::i18n::Locale> GetLocale() |
|
{ |
|
return std::make_shared<i2p::i18n::Locale>(language, strings, plurals, [] (int n)->int { return plural(n); }); |
|
} |
|
|
|
} // language |
|
} // i18n |
|
} // i2p
|
|
|