From c7646d6ede8d7ab2dbb2beb9b09b9c049874f8a0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 16 Feb 2020 13:47:35 -0300 Subject: Remove Unused (and Untranslated) Languages. Deprecate: Polish, Italian and Danish --- npc/000-0/sailors.txt | 2 +- npc/functions/asklanguage.txt | 15 +++------------ npc/functions/clientversion.txt | 1 + 3 files changed, 5 insertions(+), 13 deletions(-) (limited to 'npc') diff --git a/npc/000-0/sailors.txt b/npc/000-0/sailors.txt index 85fab4553..cceffbc6b 100644 --- a/npc/000-0/sailors.txt +++ b/npc/000-0/sailors.txt @@ -22,7 +22,7 @@ OnTouch: //checkclientversion; .@lang = requestlang(); - if (.@lang >= 0 && .@lang <= 9) Lang = .@lang; + if (.@lang >= 0 && .@lang <= MAX_LANG) Lang = .@lang; showavatar 3; diff --git a/npc/functions/asklanguage.txt b/npc/functions/asklanguage.txt index fad9dd6db..523cb54c6 100644 --- a/npc/functions/asklanguage.txt +++ b/npc/functions/asklanguage.txt @@ -17,10 +17,7 @@ function script asklanguage { "Да я вас слышу... (Русский)", // Russian "Te oigo... (Español)", // Spanish "Eu te ouço... (Português)", // Portuguese - "Ich höre euch... (Deutsch)", // German - "Słyszę cię... (Polski)", // Polish - "Vi sento... (Italiano)", // Italian - "Mi aŭdas vin... (Angle)"; // Esperanto + "Ich höre euch... (Deutsch)"; // German break; case LANG_IN_SHIP: setarray .@messages$[0], "I speak English.", // English @@ -28,10 +25,7 @@ function script asklanguage { "Я говорю на русском.", // Russian "Hablo Español.", // Spanish "Eu falo Português.", // Portuguese - "Ich spreche Deutsch.", // German - "Mówię po polsku.", // Polish - "Parlo Italiano.", // Italian - "Mi parolas Esperanton."; // Esperanto + "Ich spreche Deutsch."; // German break; default: return; @@ -42,10 +36,7 @@ function script asklanguage { "flags/ru", "flags/es", "flags/pt_BR", - "flags/de", - "flags/pl", - "flags/it", - "flags/eo"; + "flags/de"; .@menustr$ = ""; .@separator$ = ":"; diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 9483e4de8..b674ac833 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -756,6 +756,7 @@ function script clientupdater { dispbottom l("Lt. Paul unclaimed rewards REDEEMED."); } } + // TODO: Remove lang > MAX_LANG // :// End of Regular Update System //////////////////////////////////// -- cgit v1.2.3-70-g09d2