mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
Changed the settings label to "Português (BR)"
This commit is contained in:
parent
520cc464dd
commit
7ee9a456cc
@ -1,10 +1,10 @@
|
||||
import SettingsUiHandler from "#app/ui/settings-ui-handler";
|
||||
import { Mode } from "#app/ui/ui";
|
||||
import i18next from "i18next";
|
||||
import BattleScene from "../battle-scene";
|
||||
import { hasTouchscreen } from "../touch-controls";
|
||||
import { updateWindowType } from "../ui/ui-theme";
|
||||
import { PlayerGender } from "./game-data";
|
||||
import { Mode } from "#app/ui/ui";
|
||||
import SettingsUiHandler from "#app/ui/settings-ui-handler";
|
||||
|
||||
export enum Setting {
|
||||
Game_Speed = "GAME_SPEED",
|
||||
@ -40,28 +40,28 @@ export interface SettingDefaults {
|
||||
}
|
||||
|
||||
export const settingOptions: SettingOptions = {
|
||||
[Setting.Game_Speed]: [ '1x', '1.25x', '1.5x', '2x', '2.5x', '3x', '4x', '5x' ],
|
||||
[Setting.Game_Speed]: ['1x', '1.25x', '1.5x', '2x', '2.5x', '3x', '4x', '5x'],
|
||||
[Setting.Master_Volume]: new Array(11).fill(null).map((_, i) => i ? (i * 10).toString() : 'Mute'),
|
||||
[Setting.BGM_Volume]: new Array(11).fill(null).map((_, i) => i ? (i * 10).toString() : 'Mute'),
|
||||
[Setting.SE_Volume]: new Array(11).fill(null).map((_, i) => i ? (i * 10).toString() : 'Mute'),
|
||||
[Setting.Language]: [ 'English', 'Change' ],
|
||||
[Setting.Damage_Numbers]: [ 'Off', 'Simple', 'Fancy' ],
|
||||
[Setting.UI_Theme]: [ 'Default', 'Legacy' ],
|
||||
[Setting.Language]: ['English', 'Change'],
|
||||
[Setting.Damage_Numbers]: ['Off', 'Simple', 'Fancy'],
|
||||
[Setting.UI_Theme]: ['Default', 'Legacy'],
|
||||
[Setting.Window_Type]: new Array(5).fill(null).map((_, i) => (i + 1).toString()),
|
||||
[Setting.Tutorials]: [ 'Off', 'On' ],
|
||||
[Setting.Enable_Retries]: [ 'Off', 'On' ],
|
||||
[Setting.Sprite_Set]: [ 'Consistent', 'Mixed Animated' ],
|
||||
[Setting.Move_Animations]: [ 'Off', 'On' ],
|
||||
[Setting.Show_Stats_on_Level_Up]: [ 'Off', 'On' ],
|
||||
[Setting.EXP_Gains_Speed]: [ 'Normal', 'Fast', 'Faster', 'Skip' ],
|
||||
[Setting.EXP_Party_Display]: [ 'Normal', 'Level Up Notification', 'Skip' ],
|
||||
[Setting.HP_Bar_Speed]: [ 'Normal', 'Fast', 'Faster', 'Instant' ],
|
||||
[Setting.Fusion_Palette_Swaps]: [ 'Off', 'On' ],
|
||||
[Setting.Player_Gender]: [ 'Boy', 'Girl' ],
|
||||
[Setting.Gamepad_Support]: [ 'Auto', 'Disabled' ],
|
||||
[Setting.Swap_A_and_B]: [ 'Enabled', 'Disabled' ],
|
||||
[Setting.Touch_Controls]: [ 'Auto', 'Disabled' ],
|
||||
[Setting.Vibration]: [ 'Auto', 'Disabled' ]
|
||||
[Setting.Tutorials]: ['Off', 'On'],
|
||||
[Setting.Enable_Retries]: ['Off', 'On'],
|
||||
[Setting.Sprite_Set]: ['Consistent', 'Mixed Animated'],
|
||||
[Setting.Move_Animations]: ['Off', 'On'],
|
||||
[Setting.Show_Stats_on_Level_Up]: ['Off', 'On'],
|
||||
[Setting.EXP_Gains_Speed]: ['Normal', 'Fast', 'Faster', 'Skip'],
|
||||
[Setting.EXP_Party_Display]: ['Normal', 'Level Up Notification', 'Skip'],
|
||||
[Setting.HP_Bar_Speed]: ['Normal', 'Fast', 'Faster', 'Instant'],
|
||||
[Setting.Fusion_Palette_Swaps]: ['Off', 'On'],
|
||||
[Setting.Player_Gender]: ['Boy', 'Girl'],
|
||||
[Setting.Gamepad_Support]: ['Auto', 'Disabled'],
|
||||
[Setting.Swap_A_and_B]: ['Enabled', 'Disabled'],
|
||||
[Setting.Touch_Controls]: ['Auto', 'Disabled'],
|
||||
[Setting.Vibration]: ['Auto', 'Disabled']
|
||||
};
|
||||
|
||||
export const settingDefaults: SettingDefaults = {
|
||||
@ -89,7 +89,7 @@ export const settingDefaults: SettingDefaults = {
|
||||
[Setting.Vibration]: 0
|
||||
};
|
||||
|
||||
export const reloadSettings: Setting[] = [ Setting.UI_Theme, Setting.Language, Setting.Sprite_Set ];
|
||||
export const reloadSettings: Setting[] = [Setting.UI_Theme, Setting.Language, Setting.Sprite_Set];
|
||||
|
||||
export function setSetting(scene: BattleScene, setting: Setting, value: integer): boolean {
|
||||
switch (setting) {
|
||||
@ -211,7 +211,7 @@ export function setSetting(scene: BattleScene, setting: Setting, value: integer)
|
||||
handler: () => changeLocaleHandler('zh_CN')
|
||||
},
|
||||
{
|
||||
label: 'Português',
|
||||
label: 'Português (BR)',
|
||||
handler: () => changeLocaleHandler('pt_BR')
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user