Merge branch 'marie/fix-translation' into 'main'

Fix translation not working properly on some areas

See merge request KRypt0n_/an-anime-game-launcher!41
This commit is contained in:
Observer KRypt0n_ 2022-02-10 14:56:22 +00:00
commit 44d481ee84
2 changed files with 5 additions and 5 deletions

View file

@ -28,12 +28,12 @@
</script> </script>
<div style="display: {visible ? 'block' : 'none'}"> <div style="display: {visible ? 'block' : 'none'}">
<h3>{$_('settings.enhancements.items.winevd.settings.title')}</h3> <h3>{$_('settings.enhancements.wine.items.winevd.settings.title')}</h3>
<table class="table" style="margin: 16px 0"> <table class="table" style="margin: 16px 0">
<tr> <tr>
<td> <td>
<span>{$_('settings.enhancements.items.winevd.settings.items.width')}</span> <span>{$_('settings.enhancements.wine.items.winevd.settings.items.width')}</span>
</td> </td>
<td> <td>
@ -42,7 +42,7 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<span>{$_('settings.enhancements.items.winevd.settings.items.height')}</span> <span>{$_('settings.enhancements.wine.items.winevd.settings.items.height')}</span>
</td> </td>
<td> <td>

View file

@ -106,14 +106,14 @@
*/ */
let gamemode = { let gamemode = {
disabled: false, disabled: false,
tooltip: 'settings.enhancements.items.gamemode.tooltip.enabled' tooltip: 'settings.enhancements.game.items.gamemode.tooltip.enabled'
}; };
Package.exists('gamemoderun').then((available) => { Package.exists('gamemoderun').then((available) => {
gamemode.disabled = !available; gamemode.disabled = !available;
if (gamemode.disabled) if (gamemode.disabled)
gamemode.tooltip = 'settings.enhancements.items.gamemode.tooltip.disabled'; gamemode.tooltip = 'settings.enhancements.game.items.gamemode.tooltip.disabled';
}); });
/** /**