v1.2.0: fixed some missing translations

This commit is contained in:
Evan Debenham 2022-01-25 15:17:26 -05:00
parent f5e778f030
commit f97c733d1c
3 changed files with 5 additions and 8 deletions

View File

@ -131,6 +131,8 @@ windows.wndkeybindings$wndchangebinding.unbind=Unbind Key
windows.wndkeybindings$wndchangebinding.confirm=Confirm
windows.wndkeybindings$wndchangebinding.cancel=Cancel
windows.wndquickbag.title=quick-use an item
windows.wndranking.error=Unable to load additional information
windows.wndranking.stats=Stats
windows.wndranking.items=Items
@ -199,6 +201,7 @@ windows.wndsettings$audiotab.music_vol=Music Volume
windows.wndsettings$audiotab.music_mute=Mute Music
windows.wndsettings$audiotab.sfx_vol=SFX Volume
windows.wndsettings$audiotab.sfx_mute=Mute SFX
windows.wndsettings$audiotab.ignore_silent=Ignore Silent Mode
windows.wndsettings$langstab.title=Language Settings
windows.wndsettings$langstab.completed=This language has been fully translated and reviewed.
windows.wndsettings$langstab.unreviewed=_This language has not yet been reviewed._ It may contain errors, but all text has been translated.

View File

@ -140,13 +140,8 @@ public class WndQuickBag extends Window {
}
}
//TODO translate this!
RenderedTextBlock txtTitle;
if ( Messages.lang() == Languages.ENGLISH){
txtTitle = PixelScene.renderTextBlock( "Quick-use an Item", 8 );
} else {
txtTitle = PixelScene.renderTextBlock( Messages.titleCase(bag != null ? bag.name() : Dungeon.hero.belongings.backpack.name()), 8 );
}
txtTitle = PixelScene.renderTextBlock( Messages.titleCase(Messages.get(this, "title")), 8 );
txtTitle.hardlight( TITLE_COLOR );
if (txtTitle.width() > width) width = txtTitle.width();

View File

@ -698,13 +698,12 @@ public class WndSettings extends WndTabbed {
chkMuteSFX.checked(!SPDSettings.soundFx());
add( chkMuteSFX );
//TODO translate for v1.2.0!
if (DeviceCompat.isiOS() && Messages.lang() == Languages.ENGLISH){
sep3 = new ColorBlock(1, 1, 0xFF000000);
add(sep3);
chkIgnoreSilent = new CheckBox( "Ignore Silent Mode" ){
chkIgnoreSilent = new CheckBox( Messages.get(this, "ignore_silent") ){
@Override
protected void onClick() {
super.onClick();