Turkish language support

Turkish language support
This commit is contained in:
Anon 2022-10-26 17:00:35 +00:00 committed by GitHub
commit 01eee22921
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 145 additions and 37 deletions

View file

@ -304,7 +304,7 @@ namespace MinecraftClient {
///mcc.password=Password:
///mcc.password_basic_io=Please type the password for {0}.
///mcc.password_hidden=Password(invisible): {0}
///mcc.off [rest of string was truncated]";.
///mcc.offline=§8You [rest of string was truncated]";.
/// </summary>
internal static string Translation_en {
get {
@ -356,6 +356,26 @@ namespace MinecraftClient {
}
}
/// <summary>
/// Looks up a localized string similar to [mcc]
///# Messages from MCC itself
///mcc.help_us_translate=MCCyi çevirmemize yardımcı olun: {0}
///mcc.run_with_default_settings=\nMCC varsayılan ayarlarla çalışıyor.
///mcc.settings_generated=§cAyarlar dosyası MinecraftClient.ini oluşturuldu.
///mcc.has_update=§eMCCnin yeni sürümü mevcut: {0}
///mcc.login=Login :
///mcc.login_basic_io=Lütfen tercih ettiğiniz kullanıcı adını veya e-posta adresini yazın.
///mcc.password=Password :
///mcc.password_basic_io=Lütfen {0} için şifreyi yazın.
///mcc.password_hidden=Password : {0}
///m [rest of string was truncated]&quot;;.
/// </summary>
internal static string Translation_tr {
get {
return ResourceManager.GetString("Translation_tr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to [mcc]
///# Messages from MCC itself

View file

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
@ -160,6 +160,9 @@
<data name="Translation_ru" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\lang\ru.ini;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Translation_tr" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\lang\tr.ini;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Translation_vi" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\lang\vi.ini;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>

View file

@ -668,7 +668,7 @@ cmd.follow.resuming=Resuming to follow!
cmd.follow.player_left_the_range=The player {0} has left the range!
cmd.follow.pausing=Pausing!
cmd.follow.player_left=The player {0} left the server!
cmd.follow.stopping=Stopped!
cmd.follow.stopped=Stopped!
# HangmanGame
botname.HangmanGame=HangmanGame
@ -1029,4 +1029,4 @@ config.ChatBot.TelegramBridge.Token=Your Telegram Bot token.
config.ChatBot.TelegramBridge.ChannelId=An ID of a channel where you want to interact with the MCC using the bot.
config.ChatBot.TelegramBridge.Authorized_Chat_Ids=A list of Chat IDs that are allowed to send messages and execute commands. To get an id of your chat DM with the bot use ".chatid" bot command in Telegram.
config.ChatBot.TelegramBridge.MessageSendTimeout=How long to wait (in seconds) if a message can not be sent to Telegram before canceling the task (minimum 1 second).
config.ChatBot.TelegramBridge.Formats=Message formats\n# Words wrapped with { and } are going to be replaced during the code execution, do not change them!\n# For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time.\n# For Telegram message formatting, check the following: https://sendpulse.com/blog/telegram-text-formatting
config.ChatBot.TelegramBridge.Formats=Message formats\n# Words wrapped with { and } are going to be replaced during the code execution, do not change them!\n# For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time.\n# For Telegram message formatting, check the following: https://sendpulse.com/blog/telegram-text-formatting

Binary file not shown.

View file

@ -484,6 +484,7 @@ namespace MinecraftClient
case "tr":
case "tr-TR":
gameLanguage = "tr_tr";
name.Add("tr");
break;
case "tt":
case "tt-RU":
@ -564,6 +565,9 @@ namespace MinecraftClient
case "ru_ru":
name.Add("ru");
break;
case "tr_tr":
name.Add("tr");
break;
case "vi_vn":
name.Add("vi");
break;
@ -659,7 +663,7 @@ namespace MinecraftClient
string[] transEn = DefaultConfigResource.ResourceManager.GetString("Translation_en")!
.Split(new[] { "\r\n", "\r", "\n" }, StringSplitOptions.None);
foreach (string lang in new string[] { "de", "fr", "ru", "vi", "zh-Hans", "zh-Hant" })
foreach (string lang in new string[] { "de", "fr", "ru", "tr", "vi", "zh-Hans", "zh-Hant" })
{
Dictionary<string, string> trans = ParseTranslationContent(
DefaultConfigResource.ResourceManager.GetString("Translation_" + lang.Replace('-', '_'), System.Globalization.CultureInfo.InvariantCulture)!

80
README-tr.md Normal file
View file

@ -0,0 +1,80 @@
<div align="center">
<img src="https://i.pics.rs/LLDhE.png" alt="Logo"/>
# Minecraft Console Client (MCC)
[Kütüphane](https://mccteam.github.io/) | [İndir](https://github.com/MCCTeam/Minecraft-Console-Client/releases/latest) | [Kurulum](https://mccteam.github.io/guide/installation.html) | [Yapılandırma](https://mccteam.github.io/guide/configuration.html) | [Kullanım](https://mccteam.github.io/guide/usage.html)
[![GitHub Actions build status](https://github.com/MCCTeam/Minecraft-Console-Client/actions/workflows/build-and-release.yml/badge.svg)](https://github.com/MCCTeam/Minecraft-Console-Client/releases/latest) <a href="https://discord.gg/sfBv4TtpC9"><img src="https://img.shields.io/discord/1018553894831403028?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a>
</div>
## **Bilgilendirme **
**Minecraft Console Client (MCC)**, herhangi bir Minecraft Java sunucusuna bağlanmanıza, oyunu açmak zorunda kalmadan hızlı ve kolay bir şekilde komutlar göndermenize ve metin mesajları almanıza olanak tanıyan **Java** sürümü için hafif bir çapraz platform açık kaynaklı Minecraft TUI istemcisidir. Minecraft oyunu.
## İndir
[Releases](https://github.com/MCCTeam/Minecraft-Console-Client/releases/latest) kısmından güncellenmiş yeni sürümleri indirin.
## Nasıl Kullanılır 📚
- 🌐 [Kütüphaneler](https://mccteam.github.io/)
- 📦 [Kurulum](https://mccteam.github.io/guide/installation.html)
- 📖 [Kullanım](https://mccteam.github.io/guide/usage.html)
- ⚙️ [Yapılandırma](https://mccteam.github.io/guide/configuration.html)
- 🤖 [Sohbet Botu](https://mccteam.github.io/guide/chat-bots.html)
- 📝 [Örnek yapılandırma dosyaları](MinecraftClient/config/)
## Yardım Alma 🙋
[Web adresimize](https://mccteam.github.io/), [README'ye](https://github.com/MCCTeam/Minecraft-Console-Client/tree/master/MinecraftClient/config#minecraft-console-client-user-manual) ve mevcut [Tartışmalara](https://github.com/MCCTeam/Minecraft-Console-Client/discussions) göz atın: Belki sorunuz orada yanıtlanmıştır. Değilse, lütfen [Yeni Tartışma](https://github.com/MCCTeam/Minecraft-Console-Client/discussions/new) açın ve sorunuzu sorun. Bir hata bulursanız, lütfen bunu [Issues](https://github.com/MCCTeam/Minecraft-Console-Client/issues) bölümünde bildirin.
## Discord
Artık bir Discord sunucumuz var, katılmak için [buraya](https://discord.gg/sfBv4TtpC9) tıklayın.
## Bize Yardım Etmek ❤️
Biz küçük bir topluluğuz, bu nedenle yeni Minecraft sürümleri için yükseltmeleri uygulamak, hataları düzeltmek ve projeyi geliştirmek için yardıma ihtiyacımız var. Her zaman katkıda bulunacak motive insanlar arıyoruz. Siz olabileceğini düşünüyorsanız, lütfen [Issues](https://github.com/MCCTeam/Minecraft-Console-Client/issues?q=is%3Aissue+is%3Aopen+label%3Awaiting-for%3Acontributor) kısmına bir göz atın
## Nasıl Katkıda Bulunulur 📝
Minecraft Console Client için katkıda bulunmak istiyorsanız, harika, _Master_ bölümünü forklayın ve katkıda bulunduğunz yeri pull request ile gönderin. Web sitemize / çevrimiçi belgelere katkıda bulunmak için ayrıca [Website repository] kısmına bakın.
![Alt](https://repobeats.axiom.co/api/embed/c8a6c7c47fde8fcbe3727a21eab46e6b39dff60d.svg "Repobeats analytics image")
## Minecraft Console Client Çevirme 🌍
Minecraft Console Client uygulamamızı farklı bir dile çevirmek istiyorsanız, lütfen çeviri dosyasını [lang klasöründen](https://github.com/MCCTeam/Minecraft-Console-Client/tree/master/MinecraftClient/Resources/lang) indirin veya forklayın. Çeviri işini bitirdikten sonra, bir pull request gönderin veya Github'a aşina değilseniz dosyayı bir [Issues](https://github.com/MCCTeam/Minecraft-Console-Client/issues) aracılığıyla bize gönderin.
Çevrilmiş dil dosyasını kullanmak için, onu 'lang/mcc/' klasörünün altına yerleştirin ve dilinizi '.ini' yapılandırmasında ayarlayın. Dizin yoksa, dizini oluşturabilirsiniz.
Çeviri dosyasının adları için lütfen [bu yoruma](https://github.com/MCCTeam/Minecraft-Console-Client/pull/1282#issuecomment-711150715) bakın.
MCC artık aşağıdaki dilleri desteklemektedir (Alfabetik sıra) :
* `de.ini` : Deutsch - German
* `en.ini` : English - English
* `fr.ini` : Français (France) - French
* `ru.ini` : Русский (Russkiy) - Russian
* `tr.ini` : Türkçe (Türkiye) - Turkish
* `vi.ini` : Tiếng Việt (Việt Nam) - Vietnamese
* `zh-Hans.ini` : 简体中文 - Chinese Simplified
* `zh-Hant.ini` : 繁體中文 - Chinese Traditional
## Kaynaktan Geliştirme 🏗️
Bu bölüm yeni [Kütüphaneler web sitemize](https://mccteam.github.io/guide/installation.html#building-from-the-source-code) taşındı.
## Lisans ⚖️
Özel olarak belirtilmediği sürece, kod MCC Ekibine veya Katkıda Bulunanlara aittir ve CDDL-1.0 altında mevcuttur. Aksi takdirde, kaynak dosya başlıklarında lisans ve orijinal yazar belirtilir.
CDDL-1.0 lisansının ana koşulları temel olarak aşağıdaki gibidir:
- Lisanslı kodu, programın bir bütün olarak (veya daha doğrusu ödünç aldığınız kod hariç) lisansı ne olursa olsun, dilediğiniz herhangi bir programda kısmen veya tamamen kullanabilirsiniz. Programın kendisi açık veya kapalı kaynak, ücretsiz veya ticari olabilir.
- Bununla birlikte, her durumda, CDDL kodunda yapılan herhangi bir değişiklik, iyileştirme veya ekleme (CDDL kodunda doğrudan değişikliklerde atıfta bulunulan herhangi bir kod, CDDL koduna bir ek olarak kabul edilir ve bu nedenle bu gereksinime tabidir; örneğin bir değişiklik hızlı arama tablosu kullanmak için bir matematik işlevinin kullanılması, bu tablonun kendisinin bir kaynak kod dosyasında olup olmadığına bakılmaksızın, bu tablonun kendisini CDDL koduna bir ek yapar) CDDL lisansının kendisi altında kaynakta halka açık ve ücretsiz olarak erişilebilir hale getirilmelidir.
- CDDL kodunu kullanan herhangi bir programda (kaynak veya ikili), CDDL kodunun kaynağına (proje veya yazar) tanınma verilmelidir. Ayrıca, CDDL kodunda (kaynak olarak dağıtılması gereken) yapılan değişiklikler, kodun kökenini gösteren bildirimleri kaldırmayabilir.
Daha fazla bilgi: http://qstuff.blogspot.fr/2007/04/why-cddl.html
Tüm lisans: http://opensource.org/licenses/CDDL-1.0

View file

@ -52,13 +52,14 @@ If you'd like to contribute to Minecraft Console Client, great, just fork the re
Check out: [How to update or add translations for MCC](https://mccteam.github.io/guide/contibuting.html#translations).
MCC now supports the following languages (Alphabetical order) :
* `de.ini` (30.21% translated) : Deutsch - German
* `de.ini` (26.73% translated) : Deutsch - German
* `en.ini` : English - English
* `fr.ini` (30.21% translated) : Français (France) - French
* `ru.ini` (29.65% translated) : Русский (Russkiy) - Russian
* `vi.ini` (29.65% translated) : Tiếng Việt (Việt Nam) - Vietnamese
* `zh-Hans.ini` (87.08% translated) : 简体中文 - Chinese Simplified
* `zh-Hant.ini` (87.08% translated) : 繁體中文 - Chinese Traditional
* `fr.ini` (26.73% translated) : Français (France) - French
* `ru.ini` (26.24% translated) : Русский (Russkiy) - Russian
* `tr.ini` (100.00% translated) : Türkçe (Türkiye) - Turkish
* `vi.ini` (26.24% translated) : Tiếng Việt (Việt Nam) - Vietnamese
* `zh-Hans.ini` (76.92% translated) : 简体中文 - Chinese Simplified
* `zh-Hant.ini` (76.92% translated) : 繁體中文 - Chinese Traditional
## Building from the source 🏗️