From ae9c69e469160d28626a3e24aa915f219a1020c9 Mon Sep 17 00:00:00 2001 From: stax76 Date: Tue, 21 May 2024 13:58:35 +0200 Subject: [PATCH] Turkish translation added --- README.md | 6 ++++++ docs/changelog.md | 2 +- docs/manual.md | 12 ++++++++++-- src/MpvNet.Windows/Resources/editor_conf.txt | 1 + src/MpvNet.Windows/WPF/WpfTranslator.cs | 1 + 5 files changed, 19 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ad0415d..3ef5667 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ Table of contents - [Download](#download) - [Manual](#manual) - [Screenshots](#screenshots) +- [Contributing](#contributing) Features that mpv and mpv.net have in common @@ -108,6 +109,11 @@ Features exclusive to mpv.net [The mpv.net documentation.](docs/manual.md) +## [Contributing](docs/contributing.md) + +[Contributing section of the manual.](docs/manual.md#contributing) + + Screenshots ----------- diff --git a/docs/changelog.md b/docs/changelog.md index 4633d8b..bca3edd 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,7 +1,7 @@ # v7.1.1.1 Beta (????-??-??) -- Korean and Russian translation added, Japanese translation fixed. Thanks to the translation team! +- Korean, Russian and Turkish translation added, Japanese translation fixed. Thanks to the translation team! - Auto build update. # v7.1.1.0 (2024-02-03) diff --git a/docs/manual.md b/docs/manual.md index aff888d..a77120d 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -27,7 +27,7 @@ Table of contents * [Environment Variables](#environment-variables) * [user-data](#user-data) * [Context Menu Commands](#context-menu) - +* [Contributing](#contributing) About ----- @@ -476,7 +476,7 @@ Enable this only when a developer asks for it. Default: no User interface display language. mpv.net must be restarted after a change. -Interested joining our translation team?: +Work on the translation is done with transifex: https://app.transifex.com/stax76/teams/ #### --dark-mode=\ @@ -1438,3 +1438,11 @@ Exits mpv.net and remembers the position in the file using the following command `quit-watch-later` [quit-watch-later command](https://mpv.io/manual/master/#command-interface-quit-watch-later) + + +Contributing +------------ + +Work on the translation is done with transifex: + +https://app.transifex.com/stax76/teams/ diff --git a/src/MpvNet.Windows/Resources/editor_conf.txt b/src/MpvNet.Windows/Resources/editor_conf.txt index e641b27..d1836ef 100644 --- a/src/MpvNet.Windows/Resources/editor_conf.txt +++ b/src/MpvNet.Windows/Resources/editor_conf.txt @@ -1139,6 +1139,7 @@ option = german option = japanese option = korean option = russian +option = turkish name = dark-mode file = mpvnet diff --git a/src/MpvNet.Windows/WPF/WpfTranslator.cs b/src/MpvNet.Windows/WPF/WpfTranslator.cs index 9d172d0..1a9b194 100644 --- a/src/MpvNet.Windows/WPF/WpfTranslator.cs +++ b/src/MpvNet.Windows/WPF/WpfTranslator.cs @@ -17,6 +17,7 @@ public class WpfTranslator : ITranslator new("japanese", "ja", "ja"), new("korean", "ko", "ko"), new("russian", "ru", "ru"), + new("turkish", "tr", "tr"), }; public string Gettext(string msgId)