mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-20 17:01:47 +03:00
Fix translation not working properly on some areas
This commit is contained in:
parent
f2ae86acbc
commit
4fd4168f9c
2 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||||
|
|
|
@ -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';
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue