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> </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';
}); });
/** /**