Fix translation not working properly on some areas

This commit is contained in:
Maroxy 2022-02-10 13:22:45 +01:00
parent f2ae86acbc
commit 4fd4168f9c
No known key found for this signature in database
GPG key ID: F4B27EADB21E3021
2 changed files with 5 additions and 5 deletions

View file

@ -28,12 +28,12 @@
</script>
<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">
<tr>
<td>
<span>{$_('settings.enhancements.items.winevd.settings.items.width')}</span>
<span>{$_('settings.enhancements.wine.items.winevd.settings.items.width')}</span>
</td>
<td>
@ -42,7 +42,7 @@
</tr>
<tr>
<td>
<span>{$_('settings.enhancements.items.winevd.settings.items.height')}</span>
<span>{$_('settings.enhancements.wine.items.winevd.settings.items.height')}</span>
</td>
<td>

View file

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