mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-15 11:50:04 +10:00
Add Japanese translation (#353)
* Add Japanese translation * indentation fix --------- Co-authored-by: amd64fox <62529699+amd64fox@users.noreply.github.com>
This commit is contained in:
+5
-1
@@ -116,7 +116,7 @@ function Format-LanguageCode {
|
||||
|
||||
|
||||
$supportLanguages = @(
|
||||
'en', 'ru', 'it', 'tr', 'ka', 'pl', 'es', 'fr', 'hi', 'pt', 'id', 'vi', 'ro', 'de', 'hu', 'zh', 'zh-TW', 'ko', 'ua', 'fa', 'sr', 'lv', 'bn', 'el', 'fi'
|
||||
'en', 'ru', 'it', 'tr', 'ka', 'pl', 'es', 'fr', 'hi', 'pt', 'id', 'vi', 'ro', 'de', 'hu', 'zh', 'zh-TW', 'ko', 'ua', 'fa', 'sr', 'lv', 'bn', 'el', 'fi', 'ja'
|
||||
)
|
||||
|
||||
|
||||
@@ -222,6 +222,10 @@ function Format-LanguageCode {
|
||||
$returnCode = 'fi'
|
||||
break
|
||||
}
|
||||
'^ja' {
|
||||
$returnCode = 'ja'
|
||||
break
|
||||
}
|
||||
Default {
|
||||
$returnCode = $PSUICulture
|
||||
$long_code = $true
|
||||
|
||||
Reference in New Issue
Block a user