Skip to content

Commit

Permalink
fin - Updated localizations!
Browse files Browse the repository at this point in the history
---

This marks the finalization of the development of Nitrocid KS 0.1.0, but we need to do something to it before it's 100% ready.

---

Type: fin
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Feb 29, 2024
1 parent 88aaa5b commit 9719160
Show file tree
Hide file tree
Showing 54 changed files with 121,441 additions and 119 deletions.
4 changes: 2 additions & 2 deletions private/Nitrocid.LocaleCheck/Checker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ static int Main()
// Print unlocalized strings
foreach (string unlocalizedString in unlocalizedStrings)
{
TextWriterColor.Write($"Unlocalized string: {unlocalizedString}", true, ConsoleColors.Yellow);
TextWriterColor.WriteColor($"Unlocalized string: {unlocalizedString}", true, ConsoleColors.Yellow);
File.AppendAllText("unlocalized.txt", $"{unlocalizedString}\n");
}
return 0;
}
else
{
TextWriterColor.Write("This internal program needs to be run within the Nitrocid KS repository.", true, ConsoleColors.Red);
TextWriterColor.WriteColor("This internal program needs to be run within the Nitrocid KS repository.", true, ConsoleColors.Red);
return 1;
}
}
Expand Down
2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/arb-T.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/arb.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/chi-T.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/chi.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/cnt-T.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/cnt.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/dtc.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/enk.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/fre.json

Large diffs are not rendered by default.

2,425 changes: 2,379 additions & 46 deletions public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/frs.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/ger.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/grk.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/ind-T.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/ind.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/ita.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/jpn.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/kor-T.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/kor.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/ltn.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/ptg.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/rmn.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/rus-T.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/rus.json

Large diffs are not rendered by default.

2,335 changes: 2,334 additions & 1 deletion public/Nitrocid.Addons/Nitrocid.LanguagePacks/Resources/Languages/spa.json

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/arb-T.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/arb.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/chi-T.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/chi.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/cnt-T.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/cnt.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/dtc.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/eng.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/enk.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/fre.txt

Large diffs are not rendered by default.

2,423 changes: 2,378 additions & 45 deletions public/Nitrocid.LocaleGen/AddonTranslations/frs.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/ger.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/grk.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/ind-T.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/ind.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/ita.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/jpn.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/kor-T.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/kor.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/ltn.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/ptg.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/rmn.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/rus-T.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/rus.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/AddonTranslations/spa.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/CustomLanguages/eng.txt

Large diffs are not rendered by default.

2,333 changes: 2,333 additions & 0 deletions public/Nitrocid.LocaleGen/Translations/eng.txt

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions public/Nitrocid/Languages/LanguageInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ public LanguageInfo(string LangName, string FullLanguageName, bool Transliterabl
{
string UntranslatedProperty = LanguageResourceEnglish[i];
string TranslatedProperty = LanguageResource[i];
langStrings.Add(UntranslatedProperty, TranslatedProperty);
if (langStrings.ContainsKey(UntranslatedProperty))
DebugWriter.WriteDebug(DebugLevel.W, "Fix: Duplicate string found in line {0}: {1}.", i + 1, UntranslatedProperty);
else
langStrings.Add(UntranslatedProperty, TranslatedProperty);
}
DebugWriter.WriteDebug(DebugLevel.I, "{0} strings.", langStrings.Count);
strings = langStrings;
Expand Down Expand Up @@ -231,7 +234,10 @@ public LanguageInfo(string LangName, string FullLanguageName, bool Transliterabl
{
string UntranslatedProperty = LanguageResourceEnglish[i];
string TranslatedProperty = LanguageToken[i];
langStrings.Add(UntranslatedProperty, TranslatedProperty);
if (langStrings.ContainsKey(UntranslatedProperty))
DebugWriter.WriteDebug(DebugLevel.W, "Fix: Duplicate string found in line {0}: {1}.", i + 1, UntranslatedProperty);
else
langStrings.Add(UntranslatedProperty, TranslatedProperty);
}

DebugWriter.WriteDebug(DebugLevel.I, "{0} strings.", langStrings.Count);
Expand Down
2,335 changes: 2,334 additions & 1 deletion public/Nitrocid/Resources/Languages/eng.json

Large diffs are not rendered by default.

0 comments on commit 9719160

Please sign in to comment.