summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-16 13:47:35 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-16 13:47:35 -0300
commitc7646d6ede8d7ab2dbb2beb9b09b9c049874f8a0 (patch)
treeb8a4b70914546fd3d3dcc94bc48b50365ffa2661 /npc
parentffdc4dde3960c7943bfa78a764bfa9843578b615 (diff)
downloadserverdata-c7646d6ede8d7ab2dbb2beb9b09b9c049874f8a0.tar.gz
serverdata-c7646d6ede8d7ab2dbb2beb9b09b9c049874f8a0.tar.bz2
serverdata-c7646d6ede8d7ab2dbb2beb9b09b9c049874f8a0.tar.xz
serverdata-c7646d6ede8d7ab2dbb2beb9b09b9c049874f8a0.zip
Remove Unused (and Untranslated) Languages.
Deprecate: Polish, Italian and Danish
Diffstat (limited to 'npc')
-rw-r--r--npc/000-0/sailors.txt2
-rw-r--r--npc/functions/asklanguage.txt15
-rw-r--r--npc/functions/clientversion.txt1
3 files changed, 5 insertions, 13 deletions
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
////////////////////////////////////