Added missing Localization Strings in Options Menu
This commit is contained in:
@@ -96,12 +96,12 @@ public class GuiReplaySettings extends GuiScreen {
|
||||
for(RenderOptions o : RenderOptions.values()) {
|
||||
if(o == RenderOptions.videoFramerate) {
|
||||
this.buttonList.add(new GuiVideoFramerateSlider(FRAMERATE_SLIDER_ID,
|
||||
this.width / 2 - 155 + i % 2 * 160, this.height / 6 + 24 * (i >> 1), settings.getVideoFramerate(), "Video Framerate"));
|
||||
this.width / 2 - 155 + i % 2 * 160, this.height / 6 + 24 * (i >> 1), settings.getVideoFramerate(), I18n.format("replaymod.gui.settings.framerate")));
|
||||
} else if(o == RenderOptions.videoQuality) {
|
||||
this.buttonList.add(new GuiVideoQualitySlider(QUALITY_SLIDER_ID,
|
||||
this.width / 2 - 155 + i % 2 * 160, this.height / 6 + 24 * (i >> 1), (float) settings.getVideoQuality(), "Video Quality"));
|
||||
this.width / 2 - 155 + i % 2 * 160, this.height / 6 + 24 * (i >> 1), (float) settings.getVideoQuality(), I18n.format("replaymod.gui.settings.quality")));
|
||||
} else if(o == RenderOptions.waitForChunks) {
|
||||
this.buttonList.add(resourcePackButton = new GuiButton(WAITFORCHUNKS_ID, this.width / 2 - 155 + i % 2 * 160,
|
||||
this.buttonList.add(waitForChunksButton = new GuiButton(WAITFORCHUNKS_ID, this.width / 2 - 155 + i % 2 * 160,
|
||||
this.height / 6 + 24 * (i >> 1), 150, 20, I18n.format("replaymod.gui.settings.forcechunks")+": " + onOff(settings.getWaitForChunks())));
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ public class GuiReplaySettings extends GuiScreen {
|
||||
case WAITFORCHUNKS_ID:
|
||||
enabled = ReplayMod.replaySettings.getWaitForChunks();
|
||||
enabled = !enabled;
|
||||
resourcePackButton.displayString = I18n.format("replaymod.gui.settings.forcechunks")+": " + onOff(enabled);
|
||||
waitForChunksButton.displayString = I18n.format("replaymod.gui.settings.forcechunks")+": " + onOff(enabled);
|
||||
ReplayMod.replaySettings.setWaitForChunks(enabled);
|
||||
break;
|
||||
case INDICATOR_ID:
|
||||
|
||||
@@ -36,7 +36,8 @@ public class LocalizedResourcePack implements IResourcePack {
|
||||
boolean downloaded = true;
|
||||
try {
|
||||
String lang = ReplayMod.apiClient.getTranslation(langcode);
|
||||
availableLanguages.put(langcode, StringEscapeUtils.unescapeHtml4(lang));
|
||||
String prop = StringEscapeUtils.unescapeHtml4(lang);
|
||||
availableLanguages.put(langcode, prop);
|
||||
} catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
downloaded = false;
|
||||
|
||||
@@ -120,6 +120,8 @@ replaymod.gui.settings.title=Replay Mod Settings
|
||||
replaymod.gui.settings.interpolation.linear=Linear
|
||||
replaymod.gui.settings.interpolation.cubic=Cubic
|
||||
|
||||
replaymod.gui.settings.quality=Video Quality
|
||||
replaymod.gui.settings.framerate=Video Framerate
|
||||
replaymod.gui.settings.notifications=Enable Notifications
|
||||
replaymod.gui.settings.recordserver=Record Server
|
||||
replaymod.gui.settings.recordsingleplayer=Record Singleplayer
|
||||
|
||||
Reference in New Issue
Block a user