From 7cce801a1a5772e2544d25be237e14e5f9d97822 Mon Sep 17 00:00:00 2001 From: Syer10 Date: Sun, 20 Jun 2021 17:08:10 -0400 Subject: [PATCH] New translations and string fixes --- .../ui/settings/SettingsAppearanceScreen.kt | 2 +- .../ui/settings/SettingsGeneralScreen.kt | 7 +- .../resources/values/values-hi/strings.xml | 168 ++++++++++++++++++ .../resources/values/values-tam/strings.xml | 168 ++++++++++++++++++ src/main/resources/values/values/strings.xml | 2 +- 5 files changed, 343 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/values/values-hi/strings.xml create mode 100644 src/main/resources/values/values-tam/strings.xml diff --git a/src/main/kotlin/ca/gosyer/ui/settings/SettingsAppearanceScreen.kt b/src/main/kotlin/ca/gosyer/ui/settings/SettingsAppearanceScreen.kt index 408dcdab..d88597bb 100644 --- a/src/main/kotlin/ca/gosyer/ui/settings/SettingsAppearanceScreen.kt +++ b/src/main/kotlin/ca/gosyer/ui/settings/SettingsAppearanceScreen.kt @@ -85,7 +85,7 @@ fun SettingsAppearance(navController: BackStack) { choices = mapOf( // ThemeMode.System to R.string.follow_system_settings, ThemeMode.Light to stringResource("theme_light"), - ThemeMode.Dark to stringResource("theme_Dark") + ThemeMode.Dark to stringResource("theme_dark") ), title = stringResource("theme") ) diff --git a/src/main/kotlin/ca/gosyer/ui/settings/SettingsGeneralScreen.kt b/src/main/kotlin/ca/gosyer/ui/settings/SettingsGeneralScreen.kt index 41b81ee1..725e7f45 100644 --- a/src/main/kotlin/ca/gosyer/ui/settings/SettingsGeneralScreen.kt +++ b/src/main/kotlin/ca/gosyer/ui/settings/SettingsGeneralScreen.kt @@ -42,7 +42,7 @@ class SettingsGeneralViewModel @Inject constructor( private val now: Instant = Instant.now() private val currentLocale = Locale.getDefault() - fun getLocalePair(locale: String): Pair { + private fun getLocalePair(locale: String): Pair { return locale to Locale.forLanguageTag(locale).getDisplayName(currentLocale) } @@ -52,7 +52,10 @@ class SettingsGeneralViewModel @Inject constructor( return mapOf( "" to resources.getString("language_system_default", currentLocaleDisplayName), - getLocalePair("en-CA") + getLocalePair("en"), + getLocalePair("en-CA"), + getLocalePair("hi"), + getLocalePair("tam") ) } diff --git a/src/main/resources/values/values-hi/strings.xml b/src/main/resources/values/values-hi/strings.xml new file mode 100644 index 00000000..a1fdfc49 --- /dev/null +++ b/src/main/resources/values/values-hi/strings.xml @@ -0,0 +1,168 @@ + + + + TachideskJUI + + + Tachidesk जार मौजूद नहीं है, Tachidesk को स्वयं चलाएं + सर्वर प्रारंभ करने में असमर्थ + + + हाँ + नहीं + कॅन्सल + डेलीट + जबरन स्टार्ट करे + रिनेम + क्रियेट + एड + पॉज़ + कंटिन्यू + क्लियर क्यू + मूव टू बॉटम + इनस्टॉल + उनिन्स्टल्ल + अपडेट + टॉगल रीड + मार्क प्रीवियस एज रीड + टॉगल बुकमार्क्ड + फेवरेट + अनफेवरेट + रिफ्रेश manga + + + Library + Sources + Extensions + Downloads + Settings + Categories + Manga + + + Do you wish to delete the category %1$s? + + + %1$s remaining + + + Enabled languages + + + Default + + + Page %1$s + + + Home + To Browse + To Latest + + + No pages found + There is no previous chapter + Previous:\n %1$s + Next:\n %1$s + There is no next chapter + + + Advanced + Appearance + Backup + Browse + Download + General + Library + Parental Controls + Reader + Security + Server + Tracking + + + Advanced Settings + Appearance Settings + Backup Settings + Browse Settings + Download Settings + General Settings + Library Settings + Parental Control Settings + Reader Settings + Security Settings + Server Settings + Tracking Settings + + + Theme + Light + Dark + Text + Preset themes + Color primary + Displayed most frequently across your app + Color secondary + Accents select parts of the UI + Window Decorations + Restart JUI when this setting is changed + + + Restore Backup + Restore a backup into Tachidesk + Create Backup + Create a backup from Tachidesk + + + Start Screen + Confirm Exit + Language + System Default (%1$s) + Date Format + System Default + + + Show all category + + + Reader Mode + Direction + Down + RTL + LTR + Up + Continuous + If the reader is a pager or a scrolling window + Page Padding + None + Force fit width + When the window's width is over the images width, scale the image to the window + Force fit height + When the window's height is over the images height, scale the image to the window + Max width + Width to restrict a image from going over, currently %1$sdp. Works with the above setting to scale images up but restrict them to a certain amount + Max height + Height to restrict a image from going over, currently %1$sdp. Works with the above setting to scale images up but restrict them to a certain amount + Unrestricted + Image Scale + Fit Screen + Stretch + Fit Width + Fit Height + Original Size + Smart Fit + Navigation mode + L shaped + Kindle-ish + Edge + Right and Left + + + Host server inside TachideskJUI + Server Url + Server Port + \ No newline at end of file diff --git a/src/main/resources/values/values-tam/strings.xml b/src/main/resources/values/values-tam/strings.xml new file mode 100644 index 00000000..2be037dc --- /dev/null +++ b/src/main/resources/values/values-tam/strings.xml @@ -0,0 +1,168 @@ + + + + தாச்சிடெஸ்க் ஜெ.யு.ஐ. + + + "Tachidesk.jar" கண்டுபிடிக்க முடியவில்லை, "Tachidesk.jar"-ஐ நீங்களே ஆரம்பியுங்கள் + சேவையகம் ஆரம்பிக்க முடியவில்லை + + + சரி + இல்லை + ஏற்காதே + அழி + எப்படியும் ஆரம்பி + மறுபெயரிடு + உருவாக்கு + கூட்டு + இடைநிறுத்தம் + தொடரவும் + வரிசையை அழிக்கு + கீழே நகர்த்து + நிறுவுக + நிறுவல் நீக்கம் + புதுப்பிப்பு + வாசிப்பு நிலை மாற்று + முந்தியதை வாசித்ததாகக் குறி + புத்தக அடையாள குறி மாற்று + பிடித்ததுனு குறி + பிடித்ததுனு குறிக்காதே + மங்காவை புதுஏற்றவும் + + + நூலகம் + மூலங்கள் + நீட்டிப்புகள் + பதிவிறக்கங்கள் + அமைவுகள் + பிரிவுகள் + மங்கா + + + %1$s-ஐ அழிக்க வரும்புகிறீர்களா? + + + %1$s மீதி + + + இயக்கப்பட்ட மொழிகள் + + + இயல்புநிலை + + + பக்கம் %1$s + + + முகப்பு + உலாவு + சமீபம் + + + எந்தப் பக்கமும் கிடைக்கவில்லை + முந்தைய அதிகாரம் இல்லை + முந்தைய அதிகாரம்:\n %1$s + அடுத்த அதிகாரம்:\n %1$s + அடுத்த அதிகாரம் இல்லை + + + மேம்பட்ட + தோற்றம் + பின்சேமிப்பு + உலாவு + பதிவிறக்க + பொது + நூலகம் + பெற்றோர் கட்டுப்பாடுகள் + படிப்பி + பாதுகாப்பு + சேவையகம் + கண்காணிப்பு சேவைகள் + + + மேம்பட்ட அமைவுகள் + தோற்ற அமைவுகள் + பின்சேமிப்பு அமைவுகள் + உலாவ அமைவுகள் + பதிவிறக்க அமைவுகள் + பொது அமைவுகள் + நூலகம் அமைவுகள் + பெற்றோர் கட்டுப்பு அமைவுகள் + படிப்பி அமைவுகள் + பாதுகாப்பு அமைவுகள் + சேவையகமின் அமைவுகள் + கண்காணிப்பு சேவைகளின் அமைவுகள் + + + பின்னனி + ஒளி பின்னனி + கருமை பின்னனி + உரை + முன்நிறுவு themes + முதன்மை நிறம் + பொதுவான நிறம் + இரண்டாம் நிலை நிறம் + குறிப்புகளின் நிறம் + ஜன்னல் அலங்காரம் + Restart JUI when this setting is changed + + + பின்சேமிப்பு மீட்டுதல் + தாச்சிடெஸ்கில் பின்சேமிப்பை மீட்க்கபடும் + பின்சேமிப்பை உருவாக்கு + தாச்சிடெஸ்கில் பின்சேமிப்பை உருவாக்கபடும் + + + தொடக்கத் திரை + வெளியேற்றும்போது உறுதிப்படுத்தவும் + மொழி + கருவியின் இயல்பு மொழி (%1$s) + தேதி வடிவமைப்பு + கருவியின் இயல்பு வடிவமைப்பு + + + எல்லா பிரிவுகளை காமிக்கவும் + + + படிக்கும் முறை + படிக்கும் திசை + கீழ்நோக்கி + வலமிருந்து இடமாக (RTL) + இடமிருந்து வலம் (LTR) + மேல்நோக்கி + தொடர்ச்சியாக + If the reader is a pager or a scrolling window + Page Padding + None + Force fit width + When the window's width is over the images width, scale the image to the window + Force fit height + When the window's height is over the images height, scale the image to the window + Max width + Width to restrict a image from going over, currently %1$sdp. Works with the above setting to scale images up but restrict them to a certain amount + Max height + Height to restrict a image from going over, currently %1$sdp. Works with the above setting to scale images up but restrict them to a certain amount + Unrestricted + Image Scale + Fit Screen + Stretch + Fit Width + Fit Height + Original Size + Smart Fit + Navigation mode + L shaped + Kindle-ish + Edge + Right and Left + + + தாச்சிடெஸ் ஜெ.யு.ஐ.-க்குள் சேவையகம் நடத்தப்படுத்தல் + சேவையகம் Url + சேவையகம் Port + \ No newline at end of file diff --git a/src/main/resources/values/values/strings.xml b/src/main/resources/values/values/strings.xml index 9119c2ff..934394d7 100644 --- a/src/main/resources/values/values/strings.xml +++ b/src/main/resources/values/values/strings.xml @@ -102,7 +102,7 @@ Theme Light - Light + Dark Text Preset themes Color primary