1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-06 18:00:17 +00:00

XLAT refactor continued

This commit is contained in:
Zeno Rogue
2021-05-23 14:33:25 +02:00
parent c0002da574
commit 0f767e16b6
18 changed files with 69 additions and 70 deletions

View File

@@ -408,7 +408,7 @@ EX string generateHelpForItem(eItem it) {
for(int i=0; i<ittypes; i++) {
eItem it2 = eItem(i);
if(isEmpathyOrb(it2)) {
help += XLAT(cnt ? ", %1" : " %1", it2);
help += cnt ? XLAT(", %1", it2) : XLAT(" %1", it2);
cnt++;
}
}
@@ -465,7 +465,7 @@ EX string generateHelpForItem(eItem it) {
for(int i=0; i<landtypes; i++) {
eLand land = eLand(i);
if(isLuckyLand(land)) {
help += XLAT(cnt ? ", %1" : " %1", land);
help += cnt ? XLAT(", %1", land) : XLAT(" %1", land);
cnt++;
}
}