From 4a685e42da2d3e9d616fb8810ea695e2ec0b91ca Mon Sep 17 00:00:00 2001 From: goat Date: Sun, 12 Apr 2020 16:13:13 +0200 Subject: [PATCH] feat: localization --- Dalamud/Dalamud.cs | 102 ++++++++---- Dalamud/Dalamud.csproj | 16 ++ Dalamud/Game/ChatHandlers.cs | 11 +- Dalamud/Localization.cs | 45 +++++ Dalamud/Plugin/PluginInstallerWindow.cs | 37 ++--- Dalamud/UIRes/loc/dalamud/dalamud_de.json | 194 ++++++++++++++++++++++ Dalamud/UIRes/loc/dalamud/dalamud_es.json | 194 ++++++++++++++++++++++ Dalamud/UIRes/loc/dalamud/dalamud_fr.json | 194 ++++++++++++++++++++++ Dalamud/UIRes/loc/dalamud/dalamud_it.json | 194 ++++++++++++++++++++++ Dalamud/UIRes/loc/dalamud/dalamud_ja.json | 194 ++++++++++++++++++++++ 10 files changed, 1123 insertions(+), 58 deletions(-) create mode 100644 Dalamud/Localization.cs create mode 100644 Dalamud/UIRes/loc/dalamud/dalamud_de.json create mode 100644 Dalamud/UIRes/loc/dalamud/dalamud_es.json create mode 100644 Dalamud/UIRes/loc/dalamud/dalamud_fr.json create mode 100644 Dalamud/UIRes/loc/dalamud/dalamud_it.json create mode 100644 Dalamud/UIRes/loc/dalamud/dalamud_ja.json diff --git a/Dalamud/Dalamud.cs b/Dalamud/Dalamud.cs index 3ed3b2ef8..58e67d505 100644 --- a/Dalamud/Dalamud.cs +++ b/Dalamud/Dalamud.cs @@ -7,6 +7,7 @@ using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; +using CheapLoc; using Dalamud.Data; using Dalamud.DiscordBot; using Dalamud.Game; @@ -61,10 +62,17 @@ namespace Dalamud { private AntiDebug antiDebug; + private Localization localizationMgr; + + private readonly string assemblyVersion = Assembly.GetAssembly(typeof(ChatHandlers)).GetName().Version.ToString(); public Dalamud(DalamudStartInfo info) { this.StartInfo = info; + + this.localizationMgr = new Localization(this.StartInfo.WorkingDirectory); + this.localizationMgr.SetupWithUiCulture(); + this.Configuration = DalamudConfiguration.Load(info.ConfigurationPath); this.baseDirectory = info.WorkingDirectory; @@ -120,8 +128,6 @@ namespace Dalamud { PluginRepository = new PluginRepository(PluginManager, this.StartInfo.PluginDirectory, this.StartInfo.GameVersion); } catch (Exception ex) { - this.Framework.Gui.Chat.PrintError( - "[XIVLAUNCHER] There was an error loading additional plugins. Please check the log for more details."); Log.Error(ex, "Plugin load failed."); } } @@ -147,8 +153,6 @@ namespace Dalamud { } catch (Exception ex) { - Framework.Gui.Chat.PrintError( - "[XIVLAUNCHER] There was an error unloading additional plugins. Please check the log for more details."); Log.Error(ex, "Plugin unload failed."); } @@ -261,6 +265,36 @@ namespace Dalamud { ImGui.EndMenu(); } + if (ImGui.BeginMenu("Localization")) + { + if (ImGui.MenuItem("Export localizable")) + { + Loc.ExportLocalizable(); + } + + if (ImGui.BeginMenu("Load language...")) + { + if (ImGui.MenuItem("From Fallbacks")) + { + Loc.SetupWithFallbacks(); + } + + if (ImGui.MenuItem("From UICulture")) { + this.localizationMgr.SetupWithUiCulture(); + } + + foreach (var applicableLangCode in Localization.ApplicableLangCodes) { + if (ImGui.MenuItem($"Applicable: {applicableLangCode}")) + { + this.localizationMgr.SetupWithLangCode(applicableLangCode); + } + } + + ImGui.EndMenu(); + } + ImGui.EndMenu(); + } + ImGui.EndMainMenuBar(); } } @@ -305,52 +339,52 @@ namespace Dalamud { private void SetupCommands() { CommandManager.AddHandler("/xldclose", new CommandInfo(OnUnloadCommand) { - HelpMessage = "Unloads XIVLauncher in-game addon.", + HelpMessage = Loc.Localize("DalamudUnloadHelp", "Unloads XIVLauncher in-game addon."), ShowInHelp = false }); CommandManager.AddHandler("/xldreloadplugins", new CommandInfo(OnPluginReloadCommand) { - HelpMessage = "Reloads all plugins.", - ShowInHelp = false + HelpMessage = Loc.Localize("DalamudPluginReloadHelp", "Reloads all plugins."), + ShowInHelp = false }); CommandManager.AddHandler("/xldsay", new CommandInfo(OnCommandDebugSay) { - HelpMessage = "Print to chat.", - ShowInHelp = false + HelpMessage = Loc.Localize("DalamudPrintChatHelp", "Print to chat."), + ShowInHelp = false }); CommandManager.AddHandler("/xlhelp", new CommandInfo(OnHelpCommand) { - HelpMessage = "Shows list of commands available." + HelpMessage = Loc.Localize("DalamudCmdInfoHelp", "Shows list of commands available.") }); CommandManager.AddHandler("/xlmute", new CommandInfo(OnBadWordsAddCommand) { - HelpMessage = "Mute a word or sentence from appearing in chat. Usage: /xlmute " + HelpMessage = Loc.Localize("DalamudMuteHelp", "Mute a word or sentence from appearing in chat. Usage: /xlmute ") }); CommandManager.AddHandler("/xlmutelist", new CommandInfo(OnBadWordsListCommand) { - HelpMessage = "List muted words or sentences." + HelpMessage = Loc.Localize("DalamudMuteListHelp", "List muted words or sentences.") }); CommandManager.AddHandler("/xlunmute", new CommandInfo(OnBadWordsRemoveCommand) { - HelpMessage = "Unmute a word or sentence. Usage: /xlunmute " + HelpMessage = Loc.Localize("DalamudUnmuteHelp", "Unmute a word or sentence. Usage: /xlunmute ") }); CommandManager.AddHandler("/ll", new CommandInfo(OnLastLinkCommand) { - HelpMessage = "Open the last posted link in your default browser." + HelpMessage = Loc.Localize("DalamudLastLinkHelp", "Open the last posted link in your default browser.") }); CommandManager.AddHandler("/xlbotjoin", new CommandInfo(OnBotJoinCommand) { - HelpMessage = "Add the XIVLauncher discord bot you set up to your server." + HelpMessage = Loc.Localize("DalamudBotJoinHelp", "Add the XIVLauncher discord bot you set up to your server.") }); CommandManager.AddHandler("/xlbgmset", new CommandInfo(OnBgmSetCommand) { - HelpMessage = "Set the Game background music. Usage: /xlbgmset " + HelpMessage = Loc.Localize("DalamudBgmSetHelp", "Set the Game background music. Usage: /xlbgmset ") }); CommandManager.AddHandler("/xlitem", new CommandInfo(OnItemLinkCommand) { - HelpMessage = "Link an item by name. Usage: /xlitem . For matching an item exactly, use /xlitem +" + HelpMessage = Loc.Localize("DalamudItemLinkHelp", "Link an item by name. Usage: /xlitem . For matching an item exactly, use /xlitem +") }); #if DEBUG @@ -363,21 +397,21 @@ namespace Dalamud { CommandManager.AddHandler("/xlbonus", new CommandInfo(OnRouletteBonusNotifyCommand) { - HelpMessage = "Notify when a roulette has a bonus you specified. Run without parameters for more info. Usage: /xlbonus " + HelpMessage = Loc.Localize("DalamudBonusHelp", "Notify when a roulette has a bonus you specified. Run without parameters for more info. Usage: /xlbonus ") }); CommandManager.AddHandler("/xldev", new CommandInfo(OnDebugDrawDevMenu) { - HelpMessage = "Draw dev menu DEBUG", - ShowInHelp = false + HelpMessage = Loc.Localize("DalamudDevMenuHelp", "Draw dev menu DEBUG"), + ShowInHelp = false }); CommandManager.AddHandler("/xlplugins", new CommandInfo(OnOpenInstallerCommand) { - HelpMessage = "Open the plugin installer" + HelpMessage = Loc.Localize("DalamudInstallerHelp", "Open the plugin installer") }); this.CommandManager.AddHandler("/xlcredits", new CommandInfo(OnOpenCreditsCommand) { - HelpMessage = "Opens the credits for dalamud." + HelpMessage = Loc.Localize("DalamudCreditsHelp", "Opens the credits for dalamud.") }); } @@ -389,7 +423,7 @@ namespace Dalamud { private void OnHelpCommand(string command, string arguments) { var showDebug = arguments.Contains("debug"); - Framework.Gui.Chat.Print("Available commands:"); + Framework.Gui.Chat.Print(Loc.Localize("DalamudCmdHelpAvailable", "Available commands:")); foreach (var cmd in CommandManager.Commands) { if (!cmd.Value.ShowInHelp && !showDebug) continue; @@ -433,7 +467,7 @@ namespace Dalamud { this.Configuration.Save(this.StartInfo.ConfigurationPath); - Framework.Gui.Chat.Print($"Muted \"{arguments}\"."); + Framework.Gui.Chat.Print(string.Format(Loc.Localize("DalamudMuted", "Muted \"{0}\"."), arguments)); } private void OnBadWordsListCommand(string command, string arguments) { @@ -441,7 +475,7 @@ namespace Dalamud { this.Configuration.BadWords = new List(); if (this.Configuration.BadWords.Count == 0) { - Framework.Gui.Chat.Print("No muted words or sentences."); + Framework.Gui.Chat.Print(Loc.Localize("DalamudNoneMuted", "No muted words or sentences.")); return; } @@ -458,16 +492,16 @@ namespace Dalamud { this.Configuration.Save(this.StartInfo.ConfigurationPath); - Framework.Gui.Chat.Print($"Unmuted \"{arguments}\"."); + Framework.Gui.Chat.Print(string.Format(Loc.Localize("DalamudUnmuted", "Unmuted \"{0}\"."), arguments)); } private void OnLastLinkCommand(string command, string arguments) { if (string.IsNullOrEmpty(ChatHandlers.LastLink)) { - Framework.Gui.Chat.Print("No last link..."); + Framework.Gui.Chat.Print(Loc.Localize("DalamudNoLastLink", "No last link...")); return; } - Framework.Gui.Chat.Print("Opening " + ChatHandlers.LastLink); + Framework.Gui.Chat.Print(string.Format(Loc.Localize("DalamudOpeningLink", "Opening {0}"), ChatHandlers.LastLink)); Process.Start(ChatHandlers.LastLink); } @@ -477,7 +511,7 @@ namespace Dalamud { $"https://discordapp.com/oauth2/authorize?client_id={this.BotManager.UserId}&scope=bot&permissions=117760"); else Framework.Gui.Chat.Print( - "The XIVLauncher discord bot was not set up correctly or could not connect to discord. Please check the settings and the FAQ."); + Loc.Localize("DalamudBotNotSetup", "The XIVLauncher discord bot was not set up correctly or could not connect to discord. Please check the settings and the FAQ.")); } private void OnBgmSetCommand(string command, string arguments) @@ -518,7 +552,7 @@ namespace Dalamud { }); } catch { - Framework.Gui.Chat.PrintError("Could not find item."); + Framework.Gui.Chat.PrintError(Loc.Localize("DalamudItemNotFound", "Could not find item.")); } }); @@ -536,7 +570,7 @@ namespace Dalamud { private void OnRouletteBonusNotifyCommand(string command, string arguments) { if (this.Configuration.DiscordFeatureConfig.CfPreferredRoleChannel == null) - Framework.Gui.Chat.PrintError("You have not set up a discord channel for these notifications - you will only receive them in chat. To do this, please use the XIVLauncher in-game settings."); + Framework.Gui.Chat.PrintError(Loc.Localize("DalamudChannelNotSetup", "You have not set up a discord channel for these notifications - you will only receive them in chat. To do this, please use the XIVLauncher in-game settings.")); if (string.IsNullOrEmpty(arguments)) goto InvalidArgs; @@ -563,14 +597,14 @@ namespace Dalamud { this.Configuration.PreferredRoleReminders.Add(rouletteIndex, role); Framework.Gui.Chat.Print($"Set bonus notifications for {argParts[0]}({rouletteIndex}) to {role}"); + Framework.Gui.Chat.Print(string.Format(Loc.Localize("DalamudBonusSet", "Set bonus notifications for {0}({1}) to {2}"), argParts[0], rouletteIndex, role)); this.Configuration.Save(this.StartInfo.ConfigurationPath); return; InvalidArgs: - Framework.Gui.Chat.PrintError("Unrecognized arguments."); - Framework.Gui.Chat.Print("Possible values for roulette: leveling, 506070, msq, guildhests, expert, trials, mentor, alliance, normal\n" + - "Possible values for role: tank, dps, healer, all, none/reset"); + Framework.Gui.Chat.PrintError(Loc.Localize("DalamudInvalidArguments", "Unrecognized arguments.")); + Framework.Gui.Chat.Print(Loc.Localize("DalamudBonusPossibleValues", "Possible values for roulette: leveling, 506070, msq, guildhests, expert, trials, mentor, alliance, normal\nPossible values for role: tank, dps, healer, all, none/reset")); } private void OnDebugDrawDevMenu(string command, string arguments) { diff --git a/Dalamud/Dalamud.csproj b/Dalamud/Dalamud.csproj index 4b52bface..c3acc4d6f 100644 --- a/Dalamud/Dalamud.csproj +++ b/Dalamud/Dalamud.csproj @@ -42,6 +42,7 @@ + @@ -78,6 +79,21 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + PreserveNewest diff --git a/Dalamud/Game/ChatHandlers.cs b/Dalamud/Game/ChatHandlers.cs index eb7e8573e..739e1d40e 100644 --- a/Dalamud/Game/ChatHandlers.cs +++ b/Dalamud/Game/ChatHandlers.cs @@ -6,6 +6,7 @@ using System.Reflection; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; +using CheapLoc; using Dalamud.Game.Chat; using Dalamud.Game.Chat.SeStringHandling; using Dalamud.Game.Chat.SeStringHandling.Payloads; @@ -103,17 +104,17 @@ namespace Dalamud.Game { if (type == XivChatType.Notice && !this.hasSeenLoadingMsg) { var assemblyVersion = Assembly.GetAssembly(typeof(ChatHandlers)).GetName().Version.ToString(); - this.dalamud.Framework.Gui.Chat.Print($"XIVLauncher in-game addon v{assemblyVersion} loaded."); + this.dalamud.Framework.Gui.Chat.Print(string.Format(Loc.Localize("DalamudWelcome", "XIVLauncher in-game addon v{0} loaded."), assemblyVersion)); foreach (var plugin in this.dalamud.PluginManager.Plugins) { - this.dalamud.Framework.Gui.Chat.Print($" 》 {plugin.Plugin.Name} v{plugin.Plugin.GetType().Assembly.GetName().Version} loaded."); + this.dalamud.Framework.Gui.Chat.Print(string.Format(Loc.Localize("DalamudPluginLoaded", " 》 {0} v{1} loaded."), plugin.Plugin.Name, plugin.Plugin.GetType().Assembly.GetName().Version)); } this.hasSeenLoadingMsg = true; if (string.IsNullOrEmpty(this.dalamud.Configuration.LastVersion) || !assemblyVersion.StartsWith(this.dalamud.Configuration.LastVersion)) { this.dalamud.Framework.Gui.Chat.PrintChat(new XivChatEntry { - MessageBytes = Encoding.UTF8.GetBytes("The In-Game addon has been updated or was reinstalled successfully! Please check the discord for a full changelog."), + MessageBytes = Encoding.UTF8.GetBytes(Loc.Localize("DalamudUpdated", "The In-Game addon has been updated or was reinstalled successfully! Please check the discord for a full changelog.")), Type = XivChatType.Notice }); @@ -127,12 +128,12 @@ namespace Dalamud.Game { if (hasNeedsUpdate) { this.dalamud.Framework.Gui.Chat.PrintChat(new XivChatEntry { - MessageBytes = Encoding.UTF8.GetBytes("One or more of your plugins needs to be updated. Please use the /xlplugins command in-game to update them!"), + MessageBytes = Encoding.UTF8.GetBytes(Loc.Localize("DalamudPluginUpdateRequired", "One or more of your plugins needs to be updated. Please use the /xlplugins command in-game to update them!")), Type = XivChatType.Urgent }); } } catch (Exception e) { - Log.Error(e, "Could not check for plugin updates."); + Log.Error(e, Loc.Localize("DalamudPluginUpdateCheckFail", "Could not check for plugin updates.")); } } diff --git a/Dalamud/Localization.cs b/Dalamud/Localization.cs new file mode 100644 index 000000000..43c2e1bc8 --- /dev/null +++ b/Dalamud/Localization.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using CheapLoc; +using Serilog; + +namespace Dalamud +{ + class Localization { + private readonly string workingDirectory; + + public static readonly string[] ApplicableLangCodes = { "de", "ja", "fr", "it", "es" }; + + public Localization(string workingDirectory) { + this.workingDirectory = workingDirectory; + } + + public void SetupWithUiCulture() { + try + { + var currentUiLang = CultureInfo.CurrentUICulture; + Log.Information("Trying to set up Loc for culture {0}", currentUiLang.TwoLetterISOLanguageName); + + if (ApplicableLangCodes.Any(x => currentUiLang.TwoLetterISOLanguageName == x)) { + SetupWithLangCode(currentUiLang.TwoLetterISOLanguageName); + } else { + Loc.Setup("{}"); + } + } + catch (Exception ex) + { + Log.Error(ex, "Could not get language information. Setting up fallbacks."); + Loc.Setup("{}"); + } + } + + public void SetupWithLangCode(string langCode) { + Loc.Setup(File.ReadAllText(Path.Combine(this.workingDirectory, "UIRes", "loc", "dalamud", $"dalamud_{langCode}.json"))); + } + } +} diff --git a/Dalamud/Plugin/PluginInstallerWindow.cs b/Dalamud/Plugin/PluginInstallerWindow.cs index 0c4d7474e..d77bfc49c 100644 --- a/Dalamud/Plugin/PluginInstallerWindow.cs +++ b/Dalamud/Plugin/PluginInstallerWindow.cs @@ -10,6 +10,7 @@ using System.Net.Http; using System.Numerics; using System.Text; using System.Threading.Tasks; +using CheapLoc; using ImGuiNET; using Newtonsoft.Json; using Serilog; @@ -49,11 +50,10 @@ namespace Dalamud.Plugin ImGui.SetNextWindowSize(new Vector2(750, 520)); - ImGui.Begin("Plugin Installer", ref windowOpen, + ImGui.Begin(Loc.Localize("InstallerHeader", "Plugin Installer"), ref windowOpen, ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoScrollbar); - ImGui.Text("This window allows you install and remove in-game plugins."); - ImGui.Text("They are made by third-party developers."); + ImGui.Text(Loc.Localize("InstallerHint", "This window allows you install and remove in-game plugins.\nThey are made by third-party developers.")); ImGui.Separator(); ImGui.BeginChild("scrolling", new Vector2(0, 400), true, ImGuiWindowFlags.HorizontalScrollbar); @@ -61,9 +61,9 @@ namespace Dalamud.Plugin ImGui.PushStyleVar(ImGuiStyleVar.ItemSpacing, new Vector2(1, 3)); if (this.repository.State == PluginRepository.InitializationState.InProgress) { - ImGui.Text("Loading plugins..."); + ImGui.Text(Loc.Localize("InstallerLoading", "Loading plugins...")); } else if (this.repository.State == PluginRepository.InitializationState.Fail) { - ImGui.Text("Download failed."); + ImGui.Text(Loc.Localize("InstallerDownloadFailed", "Download failed.")); } else { @@ -80,7 +80,7 @@ namespace Dalamud.Plugin var isInstalled = this.manager.Plugins.Where(x => x.Definition != null).Any( x => x.Definition.InternalName == pluginDefinition.InternalName); - if (ImGui.CollapsingHeader(pluginDefinition.Name + (isInstalled ? " (installed)" : string.Empty))) { + if (ImGui.CollapsingHeader(pluginDefinition.Name + (isInstalled ? Loc.Localize("InstallerInstalled", " (installed)") : string.Empty))) { ImGui.Indent(); ImGui.Text(pluginDefinition.Name); @@ -91,7 +91,7 @@ namespace Dalamud.Plugin if (!isInstalled) { if (this.installStatus == PluginInstallStatus.InProgress) { - ImGui.Button("Install in progress..."); + ImGui.Button(Loc.Localize("InstallerInProgress", "Install in progress...")); } else { if (ImGui.Button($"Install v{pluginDefinition.AssemblyVersion}")) { this.installStatus = PluginInstallStatus.InProgress; @@ -112,7 +112,7 @@ namespace Dalamud.Plugin x => x.Definition.InternalName == pluginDefinition.InternalName); - if (ImGui.Button("Disable")) + if (ImGui.Button(Loc.Localize("InstallerDisable", "Disable"))) try { this.manager.DisablePlugin(installedPlugin.Definition); } catch (Exception exception) { @@ -124,7 +124,7 @@ namespace Dalamud.Plugin if (installedPlugin.PluginInterface.UiBuilder.OnOpenConfigUi != null) { ImGui.SameLine(); - if (ImGui.Button("Open Configuration")) installedPlugin.PluginInterface.UiBuilder.OnOpenConfigUi?.Invoke(null, null); + if (ImGui.Button(Loc.Localize("InstallerOpenConfig", "Open Configuration"))) installedPlugin.PluginInterface.UiBuilder.OnOpenConfigUi?.Invoke(null, null); } ImGui.SameLine(); @@ -145,14 +145,14 @@ namespace Dalamud.Plugin ImGui.Separator(); if (this.installStatus == PluginInstallStatus.InProgress) { - ImGui.Button("Updating..."); + ImGui.Button(Loc.Localize("InstallerUpdating", "Updating...")); } else { if (this.updateComplete) { ImGui.Button(this.updatePluginCount == 0 - ? "No updates found!" - : $"{this.updatePluginCount} plugins updated!"); + ? Loc.Localize("InstallerNoUpdates", "No updates found!") + : string.Format(Loc.Localize("InstallerUpdateComplete", "{0} plugins updated!"), this.updatePluginCount)); } else { - if (ImGui.Button("Update plugins")) + if (ImGui.Button(Loc.Localize("InstallerUpdatePlugins", "Update plugins"))) { this.installStatus = PluginInstallStatus.InProgress; @@ -177,27 +177,26 @@ namespace Dalamud.Plugin ImGui.SameLine(); - if (ImGui.Button("Close")) + if (ImGui.Button(Loc.Localize("Close", "Close"))) { windowOpen = false; } ImGui.Spacing(); - if (ImGui.BeginPopupModal("Installer failed", ref this.errorModalDrawing, ImGuiWindowFlags.AlwaysAutoResize)) + if (ImGui.BeginPopupModal(Loc.Localize("InstallerError","Installer failed"), ref this.errorModalDrawing, ImGuiWindowFlags.AlwaysAutoResize)) { - ImGui.Text("The plugin installer ran into an issue or the plugin is incompatible."); - ImGui.Text("Please restart the game and report this error on our discord."); + ImGui.Text(Loc.Localize("InstallerErrorHint", "The plugin installer ran into an issue or the plugin is incompatible.\nPlease restart the game and report this error on our discord.")); ImGui.Spacing(); - if (ImGui.Button("OK", new Vector2(120, 40))) { ImGui.CloseCurrentPopup(); } + if (ImGui.Button(Loc.Localize("OK", "OK"), new Vector2(120, 40))) { ImGui.CloseCurrentPopup(); } ImGui.EndPopup(); } if (this.errorModalOnNextFrame) { - ImGui.OpenPopup("Installer failed"); + ImGui.OpenPopup(Loc.Localize("InstallerError", "Installer failed")); this.errorModalOnNextFrame = false; } diff --git a/Dalamud/UIRes/loc/dalamud/dalamud_de.json b/Dalamud/UIRes/loc/dalamud/dalamud_de.json new file mode 100644 index 000000000..d64d4594b --- /dev/null +++ b/Dalamud/UIRes/loc/dalamud/dalamud_de.json @@ -0,0 +1,194 @@ +{ + "DalamudUnloadHelp": { + "message": "Entläd das XIVLauncher In-Game-Addon.", + "description": "Dalamud.SetupCommands" + }, + "DalamudPluginReloadHelp": { + "message": "Läd alle Plugins neu.", + "description": "Dalamud.SetupCommands" + }, + "DalamudPrintChatHelp": { + "message": "Gibt eine Nachricht im Chat aus.", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdInfoHelp": { + "message": "Zeigt eine Liste aller verfügbaren Textkommandos an.", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteHelp": { + "message": "Gib ein Wort oder einen Satz ein, der nicht im Chat auftauchen soll. Nutzung: /xlmute ", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteListHelp": { + "message": "Listet stummgeschaltete Worte oder Sätze auf.", + "description": "Dalamud.SetupCommands" + }, + "DalamudUnmuteHelp": { + "message": "Löscht ein Wort oder einen Satz von der Liste der stummgeschalteten Worte. Nutzung: /xlunmute ", + "description": "Dalamud.SetupCommands" + }, + "DalamudLastLinkHelp": { + "message": "Öffnet den zuletzt im Chat geposteten Link in deinem Browser.", + "description": "Dalamud.SetupCommands" + }, + "DalamudBotJoinHelp": { + "message": "Füge den XIVLauncher Discord-Bot zu einem deiner Server hinzu.", + "description": "Dalamud.SetupCommands" + }, + "DalamudBgmSetHelp": { + "message": "Setzt die Hintergrundmusik im Spiel. Nutzung: /xlbgmset ", + "description": "Dalamud.SetupCommands" + }, + "DalamudItemLinkHelp": { + "message": "Verlinkt den angegebenen Gegenstand. Nutzung: /xlitem . Um den exakten Namen anzugeben, nutze /xlitem +", + "description": "Dalamud.SetupCommands" + }, + "DalamudBonusHelp": { + "message": "Sende eine Benachrichtigung, wenn ein Zufallsinhalt einen Bonus für die Rolle hast, die du angibst. Nutzung: /xlbonus ", + "description": "Dalamud.SetupCommands" + }, + "DalamudDevMenuHelp": { + "message": "Öffne das dev-Menü DEBUG", + "description": "Dalamud.SetupCommands" + }, + "DalamudInstallerHelp": { + "message": "Öffnet den Plugin-Installer", + "description": "Dalamud.SetupCommands" + }, + "DalamudCreditsHelp": { + "message": "Öffnet die Liste der Mitwirkenden", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdHelpAvailable": { + "message": "Verfügbare Kommandos:", + "description": "Dalamud.OnHelpCommand" + }, + "DalamudMuted": { + "message": "\"{0}\" stummgeschaltet.", + "description": "Dalamud.OnBadWordsAddCommand" + }, + "DalamudNoneMuted": { + "message": "Keine stummgeschalteten Wörte oder Sätze.", + "description": "Dalamud.OnBadWordsListCommand" + }, + "DalamudUnmuted": { + "message": "\"{0}\" freigegeben.", + "description": "Dalamud.OnBadWordsRemoveCommand" + }, + "DalamudNoLastLink": { + "message": "Keinen Link gefunden...", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudOpeningLink": { + "message": "{0} wird geöffnet", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudBotNotSetup": { + "message": "Der XIVLauncher Discord-Bot wurde nicht korrekt eingestellt. Bitte prüfe die Einstellungen und unser FAQ.", + "description": "Dalamud.OnBotJoinCommand" + }, + "DalamudChannelNotSetup": { + "message": "Du hast keinen Discord-Kanal für diese Notifikationen eingestellt - du wirst sie also nur im Chat erhalten.\nUm einen Kanal einzustellen, nutze bitte die XIVLauncher-Einstellungen.", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusSet": { + "message": "Bonus-Notifikationen für {0}({1}) auf {2} gesetzt", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudInvalidArguments": { + "message": "Parameter nicht erkannt.", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusPossibleValues": { + "message": "Mögliche Werte für Zufallsinhalte: leveling, 506070, msq, guildhests, expert, trials, mentor, alliance, normal\nMögliche Werte für Rollen: tank, dps, healer, all, none/reset", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudItemNotFound": { + "message": "Gegenstand konnte nicht gefunden werden.", + "description": "<b__0>d.MoveNext" + }, + "InstallerHeader": { + "message": "Plugin-Installer", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerHint": { + "message": "Dieses Fenster erlaubt es dir, Plugins zu installieren.\nSie werden von Drittanbietern entwickelt.", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerLoading": { + "message": "Plugins werden geladen...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDownloadFailed": { + "message": "Download fehlgeschlagen.", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInstalled": { + "message": " (installiert)", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInProgress": { + "message": "Wird installiert...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDisable": { + "message": "Deaktivieren", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerOpenConfig": { + "message": "Einstellungen öffnen", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdating": { + "message": "Wird aktualisiert...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdateComplete": { + "message": "{0} Plugins aktualisiert!", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerNoUpdates": { + "message": "Keine Aktualisierungen gefunden!", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdatePlugins": { + "message": "Plugins aktualisieren", + "description": "PluginInstallerWindow.Draw" + }, + "Close": { + "message": "Schließen", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerError": { + "message": "Installation fehlgeschlagen", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerErrorHint": { + "message": "Der Plugin-Installer konnte die Operation nicht erfolgreich beenden.\nBitte starte das Spiel neu und melde diesen Fehler auf unserem Discord-Server.", + "description": "PluginInstallerWindow.Draw" + }, + "OK": { + "message": "OK", + "description": "PluginInstallerWindow.Draw" + }, + "DalamudWelcome": { + "message": "XIVLauncher In-Game-Addon v{0} geladen.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginLoaded": { + "message": " 》 {0} v{1} geladen.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudUpdated": { + "message": "Das In-Game-Addon wurde aktualisiert oder neu installiert. Bitte prüfe unseren Discord-Server für weitere Informationen!", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateRequired": { + "message": "Eines oder mehrere deiner Plugins müssen aktualisiert werden. Bitte nutze das /xlplugins-Kommando, um sie zu aktualisieren.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateCheckFail": { + "message": "Konnte nicht auf Plugin-Aktualisierungen prüfen.", + "description": "ChatHandlers.OnChatMessage" + } +} \ No newline at end of file diff --git a/Dalamud/UIRes/loc/dalamud/dalamud_es.json b/Dalamud/UIRes/loc/dalamud/dalamud_es.json new file mode 100644 index 000000000..e8aceb20b --- /dev/null +++ b/Dalamud/UIRes/loc/dalamud/dalamud_es.json @@ -0,0 +1,194 @@ +{ + "DalamudUnloadHelp": { + "message": "Decarga el extra In-Game de XIVLauncher.", + "description": "Dalamud.SetupCommands" + }, + "DalamudPluginReloadHelp": { + "message": "Recarga todos de los plugins.", + "description": "Dalamud.SetupCommands" + }, + "DalamudPrintChatHelp": { + "message": "Publica al chat.", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdInfoHelp": { + "message": "Muestre la lista de los comandos disponibles.", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteHelp": { + "message": "Bloquea una palabra u oración que aperecer en el chat. Uso: /xlmute ", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteListHelp": { + "message": "Enumera las palabras u oraciónes qué están bloqueadas.", + "description": "Dalamud.SetupCommands" + }, + "DalamudUnmuteHelp": { + "message": "Desbloquea una palabra u oración. Uso: /xlunmute ", + "description": "Dalamud.SetupCommands" + }, + "DalamudLastLinkHelp": { + "message": "Abre el enlace anterior en su navegador por defecto.", + "description": "Dalamud.SetupCommands" + }, + "DalamudBotJoinHelp": { + "message": "Agrega el bot Discord de XIVLauncher que ha configurado a su servidor.", + "description": "Dalamud.SetupCommands" + }, + "DalamudBgmSetHelp": { + "message": "Configura la música ambiental del juego. Uso: /xlbgmset ", + "description": "Dalamud.SetupCommands" + }, + "DalamudItemLinkHelp": { + "message": "Enlaza un artículo por nombre. Uso: /xlitem . Para emperejando un artículo exactamente, utiliza /xlitem +", + "description": "Dalamud.SetupCommands" + }, + "DalamudBonusHelp": { + "message": "Notifícase cuando una ruleta tenga un extra que usted especifica. Ejecútalo sin parametres para más información. Uso: /xlbonus ", + "description": "Dalamud.SetupCommands" + }, + "DalamudDevMenuHelp": { + "message": "Dibuja el menú dev DEBUG", + "description": "Dalamud.SetupCommands" + }, + "DalamudInstallerHelp": { + "message": "Abre el instalador de plugins", + "description": "Dalamud.SetupCommands" + }, + "DalamudCreditsHelp": { + "message": "Abra los méritos de Dalamud.", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdHelpAvailable": { + "message": "Comandos disponibles:", + "description": "Dalamud.OnHelpCommand" + }, + "DalamudMuted": { + "message": "Ha bloqueado \"{0}\".", + "description": "Dalamud.OnBadWordsAddCommand" + }, + "DalamudNoneMuted": { + "message": "No hay palabras u oraciónes qué están bloqueadas.", + "description": "Dalamud.OnBadWordsListCommand" + }, + "DalamudUnmuted": { + "message": "Ha desbloqueado \"{0}\".", + "description": "Dalamud.OnBadWordsRemoveCommand" + }, + "DalamudNoLastLink": { + "message": "No hay un enlace anterior...", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudOpeningLink": { + "message": "Está abriendo {0}", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudBotNotSetup": { + "message": "El bot Discord de XIVLauncher no configuría corecto o no pudo conectar a Discord. Por favor revisa los ajustes y el FAQ.", + "description": "Dalamud.OnBotJoinCommand" + }, + "DalamudChannelNotSetup": { + "message": "No configuría un canal Discord para estos notificaciónes - solo recibirá en el chat. Para que lo configura, por favor utiliza los ajustes de XIVLauncher en el juego.", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusSet": { + "message": "Configura notificaciónes bonus para {0}({1}) a {2}", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudInvalidArguments": { + "message": "Hay argumentes que no reconocido.", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusPossibleValues": { + "message": "Valores posibles para ruleta: leveling, 506070, msq, guildhests, expert, trials, mentor, alliance, normal\nValores posibles para rol: tank, dps, healer, all, none/reset", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudItemNotFound": { + "message": "No pudo encuentra el artículo.", + "description": "<b__0>d.MoveNext" + }, + "InstallerHeader": { + "message": "Instalador de Plugins", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerHint": { + "message": "Esta ventana permite que instalar y elimnar los plugins en el juego.\nFueron hechos por desarrolladores terceros.", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerLoading": { + "message": "Está cargando los plugins...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDownloadFailed": { + "message": "La descarga falló.", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInstalled": { + "message": " (instalado)", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInProgress": { + "message": "Instalación en curso...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDisable": { + "message": "Desactiva", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerOpenConfig": { + "message": "Abre Configuración", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdating": { + "message": "Actualizando...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdateComplete": { + "message": "¡{0} plugins han actualizado!", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerNoUpdates": { + "message": "¡No hay actualizaciónes!", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdatePlugins": { + "message": "Actualiza plugins", + "description": "PluginInstallerWindow.Draw" + }, + "Close": { + "message": "Cierra", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerError": { + "message": "El instalador falló", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerErrorHint": { + "message": "El instalador de plugins corrió a una problema, o el plugin está incompatible.\nPor favor reinicia el juego y informa el error en neustro Discord.", + "description": "PluginInstallerWindow.Draw" + }, + "OK": { + "message": "OK", + "description": "PluginInstallerWindow.Draw" + }, + "DalamudWelcome": { + "message": "El extra In-Game v{0} de XIVLauncher ha cargado.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginLoaded": { + "message": " 》 {0} v{1} ha cargado.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudUpdated": { + "message": "¡El extra In-Game había actualizado o reinstalado con éxito! Por favor comproba el Discord para un changelog completo.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateRequired": { + "message": "Uno o más de sus plugins deben habar actualizado. ¡Por favor utiliza el comando /xlplugins para los actualizan!", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateCheckFail": { + "message": "No pudo buscar para actualizaciónes de los plugins.", + "description": "ChatHandlers.OnChatMessage" + } +} \ No newline at end of file diff --git a/Dalamud/UIRes/loc/dalamud/dalamud_fr.json b/Dalamud/UIRes/loc/dalamud/dalamud_fr.json new file mode 100644 index 000000000..9bba4cc16 --- /dev/null +++ b/Dalamud/UIRes/loc/dalamud/dalamud_fr.json @@ -0,0 +1,194 @@ +{ + "DalamudUnloadHelp": { + "message": "Désactive l'addon in-game de XIVLauncher.", + "description": "Dalamud.SetupCommands" + }, + "DalamudPluginReloadHelp": { + "message": "Recharge tous les plugins.", + "description": "Dalamud.SetupCommands" + }, + "DalamudPrintChatHelp": { + "message": "Afficher dans le chat.", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdInfoHelp": { + "message": "Montre la liste des commandes disponibles.", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteHelp": { + "message": "Met en sourdine un mot ou une phrase dans le chat. Utilisation : /xlmute ", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteListHelp": { + "message": "Liste les mots ou phrases en sourdine.", + "description": "Dalamud.SetupCommands" + }, + "DalamudUnmuteHelp": { + "message": "Ré-affiche un mot ou une phrase. Utilisation : /xlunmute ", + "description": "Dalamud.SetupCommands" + }, + "DalamudLastLinkHelp": { + "message": "Ouvre le dernier lien affiché dans le chat dans votre navigateur par défaut.", + "description": "Dalamud.SetupCommands" + }, + "DalamudBotJoinHelp": { + "message": "Ajoute le bot discord XIVLauncher que vous avez configuré à votre serveur.", + "description": "Dalamud.SetupCommands" + }, + "DalamudBgmSetHelp": { + "message": "Définit la musique de fond. Utilisation : /xlbgmset ", + "description": "Dalamud.SetupCommands" + }, + "DalamudItemLinkHelp": { + "message": "Envoie le lien d'un objet grâce à son nom. Utilisation : /xlitem . Pour trouver un objet précis, utilisez /xlitem +", + "description": "Dalamud.SetupCommands" + }, + "DalamudBonusHelp": { + "message": "Informe lorsque une mission aléatoire possède le bonus spécifié. Exécuter sans paramètres pour plus d'infos. Utilisation : /xlbonus ", + "description": "Dalamud.SetupCommands" + }, + "DalamudDevMenuHelp": { + "message": "Fait sortir le menu dev DEBUG", + "description": "Dalamud.SetupCommands" + }, + "DalamudInstallerHelp": { + "message": "Ouvrir l’installateur de plugins", + "description": "Dalamud.SetupCommands" + }, + "DalamudCreditsHelp": { + "message": "Ouvre la liste des participants.", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdHelpAvailable": { + "message": "Commandes disponibles :", + "description": "Dalamud.OnHelpCommand" + }, + "DalamudMuted": { + "message": "\"{0}\" est mis en sourdine.", + "description": "Dalamud.OnBadWordsAddCommand" + }, + "DalamudNoneMuted": { + "message": "Pas de mots ou phrases en sourdine.", + "description": "Dalamud.OnBadWordsListCommand" + }, + "DalamudUnmuted": { + "message": "\"{0}\" est de nouveau visible.", + "description": "Dalamud.OnBadWordsRemoveCommand" + }, + "DalamudNoLastLink": { + "message": "Il n'y a pas de lien...", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudOpeningLink": { + "message": "Ouverture de {0}", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudBotNotSetup": { + "message": "Le bot discord XIVLauncher n'a pas été configuré correctement ou ne peut pas se connecter à discord. Veuillez vérifier les paramètres et la FAQ.", + "description": "Dalamud.OnBotJoinCommand" + }, + "DalamudChannelNotSetup": { + "message": "Vous n'avez pas configuré de canal discord pour ces notifications - vous les recevrez uniquement dans le chat. Pour ce faire, veuillez utiliser les paramètres \"In-game\" dans XIVLauncher.", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusSet": { + "message": "Définit les notifications de bonus pour {0}({1}) à {2}", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudInvalidArguments": { + "message": "Arguments non-reconnus.", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusPossibleValues": { + "message": "Valeurs possibles pour mission aléatoire : leveling, 506070, msq, guildhests, expert, trials, mentor, alliance, normal\nValeurs possibles pour rôle : tank, dps, healer, all, none/reset", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudItemNotFound": { + "message": "L'objet n'a pas pu être trouvé.", + "description": "<b__0>d.MoveNext" + }, + "InstallerHeader": { + "message": "Installateur de Plugin", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerHint": { + "message": "Cette fenêtre vous autorise à installer ou retirer des plugins en jeu.\nIls sont créés par des développeurs tiers.", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerLoading": { + "message": "Chargement des plugins...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDownloadFailed": { + "message": "Le téléchargement a échoué.", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInstalled": { + "message": " (installé)", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInProgress": { + "message": "Installation en cours...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDisable": { + "message": "Désactiver", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerOpenConfig": { + "message": "Ouvrir la configuration", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdating": { + "message": "Mise à jour...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdateComplete": { + "message": "{0} plugin(s) mis à jour !", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerNoUpdates": { + "message": "Pas de mise à jour trouvée !", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdatePlugins": { + "message": "Mettre à jour les plugins", + "description": "PluginInstallerWindow.Draw" + }, + "Close": { + "message": "Fermer", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerError": { + "message": "Échec de l'installation", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerErrorHint": { + "message": "L'installateur de plugins a rencontré un problème ou le plugin est incompatible.\nVeuillez redémarrer le jeu et rapporter cette erreur sur notre discord.", + "description": "PluginInstallerWindow.Draw" + }, + "OK": { + "message": "OK", + "description": "PluginInstallerWindow.Draw" + }, + "DalamudWelcome": { + "message": "Addon en jeu XIVLauncher v{0} chargé.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginLoaded": { + "message": " 》 {0} v{1} chargé.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudUpdated": { + "message": "L'addon en jeu à été mis à jour ou réinstallé avec succès ! Veuillez consulter le discord pour plus d'informations.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateRequired": { + "message": "Un ou plusieurs plugins ne sont plus à jour. Veuillez utiliser la commande en jeu /xlplugins pour les mettre à jour !", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateCheckFail": { + "message": "Impossible de vérifier les mises à jour des plugins.", + "description": "ChatHandlers.OnChatMessage" + } +} \ No newline at end of file diff --git a/Dalamud/UIRes/loc/dalamud/dalamud_it.json b/Dalamud/UIRes/loc/dalamud/dalamud_it.json new file mode 100644 index 000000000..186e6ed29 --- /dev/null +++ b/Dalamud/UIRes/loc/dalamud/dalamud_it.json @@ -0,0 +1,194 @@ +{ + "DalamudUnloadHelp": { + "message": "Unloads XIVLauncher in-game addon.", + "description": "Dalamud.SetupCommands" + }, + "DalamudPluginReloadHelp": { + "message": "Reloads all plugins.", + "description": "Dalamud.SetupCommands" + }, + "DalamudPrintChatHelp": { + "message": "Print to chat.", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdInfoHelp": { + "message": "Shows list of commands available.", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteHelp": { + "message": "Mute a word or sentence from appearing in chat. Usage: /xlmute ", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteListHelp": { + "message": "List muted words or sentences.", + "description": "Dalamud.SetupCommands" + }, + "DalamudUnmuteHelp": { + "message": "Unmute a word or sentence. Usage: /xlunmute ", + "description": "Dalamud.SetupCommands" + }, + "DalamudLastLinkHelp": { + "message": "Open the last posted link in your default browser.", + "description": "Dalamud.SetupCommands" + }, + "DalamudBotJoinHelp": { + "message": "Add the XIVLauncher discord bot you set up to your server.", + "description": "Dalamud.SetupCommands" + }, + "DalamudBgmSetHelp": { + "message": "Set the Game background music. Usage: /xlbgmset ", + "description": "Dalamud.SetupCommands" + }, + "DalamudItemLinkHelp": { + "message": "Link an item by name. Usage: /xlitem . For matching an item exactly, use /xlitem +", + "description": "Dalamud.SetupCommands" + }, + "DalamudBonusHelp": { + "message": "Notify when a roulette has a bonus you specified. Run without parameters for more info. Usage: /xlbonus ", + "description": "Dalamud.SetupCommands" + }, + "DalamudDevMenuHelp": { + "message": "Draw dev menu DEBUG", + "description": "Dalamud.SetupCommands" + }, + "DalamudInstallerHelp": { + "message": "Open the plugin installer", + "description": "Dalamud.SetupCommands" + }, + "DalamudCreditsHelp": { + "message": "Opens the credits for dalamud.", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdHelpAvailable": { + "message": "Available commands:", + "description": "Dalamud.OnHelpCommand" + }, + "DalamudMuted": { + "message": "Muted \"{0}\".", + "description": "Dalamud.OnBadWordsAddCommand" + }, + "DalamudNoneMuted": { + "message": "No muted words or sentences.", + "description": "Dalamud.OnBadWordsListCommand" + }, + "DalamudUnmuted": { + "message": "Unmuted \"{0}\".", + "description": "Dalamud.OnBadWordsRemoveCommand" + }, + "DalamudNoLastLink": { + "message": "No last link...", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudOpeningLink": { + "message": "Opening {0}", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudBotNotSetup": { + "message": "The XIVLauncher discord bot was not set up correctly or could not connect to discord. Please check the settings and the FAQ.", + "description": "Dalamud.OnBotJoinCommand" + }, + "DalamudChannelNotSetup": { + "message": "You have not set up a discord channel for these notifications - you will only receive them in chat. To do this, please use the XIVLauncher in-game settings.", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusSet": { + "message": "Set bonus notifications for {0}({1}) to {2}", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudInvalidArguments": { + "message": "Unrecognized arguments.", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusPossibleValues": { + "message": "Possible values for roulette: leveling, 506070, msq, guildhests, expert, trials, mentor, alliance, normal\nPossible values for role: tank, dps, healer, all, none/reset", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudItemNotFound": { + "message": "Could not find item.", + "description": "<b__0>d.MoveNext" + }, + "InstallerHeader": { + "message": "Plugin Installer", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerHint": { + "message": "This window allows you install and remove in-game plugins.\nThey are made by third-party developers.", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerLoading": { + "message": "Loading plugins...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDownloadFailed": { + "message": "Download failed.", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInstalled": { + "message": " (installed)", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInProgress": { + "message": "Install in progress...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDisable": { + "message": "Disable", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerOpenConfig": { + "message": "Open Configuration", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdating": { + "message": "Updating...", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdateComplete": { + "message": "{0} plugins updated!", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerNoUpdates": { + "message": "No updates found!", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdatePlugins": { + "message": "Update plugins", + "description": "PluginInstallerWindow.Draw" + }, + "Close": { + "message": "Close", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerError": { + "message": "Installer failed", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerErrorHint": { + "message": "The plugin installer ran into an issue or the plugin is incompatible.\nPlease restart the game and report this error on our discord.", + "description": "PluginInstallerWindow.Draw" + }, + "OK": { + "message": "OK", + "description": "PluginInstallerWindow.Draw" + }, + "DalamudWelcome": { + "message": "XIVLauncher in-game addon v{0} loaded.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginLoaded": { + "message": " 》 {0} v{1} loaded.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudUpdated": { + "message": "The In-Game addon has been updated or was reinstalled successfully! Please check the discord for a full changelog.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateRequired": { + "message": "One or more of your plugins needs to be updated. Please use the /xlplugins command in-game to update them!", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateCheckFail": { + "message": "Could not check for plugin updates.", + "description": "ChatHandlers.OnChatMessage" + } +} \ No newline at end of file diff --git a/Dalamud/UIRes/loc/dalamud/dalamud_ja.json b/Dalamud/UIRes/loc/dalamud/dalamud_ja.json new file mode 100644 index 000000000..c4f81d2bf --- /dev/null +++ b/Dalamud/UIRes/loc/dalamud/dalamud_ja.json @@ -0,0 +1,194 @@ +{ + "DalamudUnloadHelp": { + "message": "XIVLauncher In-Game アドオンをアンロードします。", + "description": "Dalamud.SetupCommands" + }, + "DalamudPluginReloadHelp": { + "message": "全てのプラグインをリロードします。", + "description": "Dalamud.SetupCommands" + }, + "DalamudPrintChatHelp": { + "message": "チャットに出力する。", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdInfoHelp": { + "message": "利用可能なコマンド一覧を表示します。", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteHelp": { + "message": "チャットに表示される単語や文章をミュートします。 利用法: /xlmute <単語 または、文章>", + "description": "Dalamud.SetupCommands" + }, + "DalamudMuteListHelp": { + "message": "ミュートされた単語または文章の一覧を表示します。", + "description": "Dalamud.SetupCommands" + }, + "DalamudUnmuteHelp": { + "message": "単語または文章のミュートを解除します。利用法: /xlunmute <単語 または、文章>", + "description": "Dalamud.SetupCommands" + }, + "DalamudLastLinkHelp": { + "message": "デフォルトブラウザで直前に投稿したリンクを開きます。", + "description": "Dalamud.SetupCommands" + }, + "DalamudBotJoinHelp": { + "message": "設定した XIVLauncher の Discord ボットを自分のサーバーへ追加します。", + "description": "Dalamud.SetupCommands" + }, + "DalamudBgmSetHelp": { + "message": "ゲームBGMを設定します。利用法: /xlbgmset ", + "description": "Dalamud.SetupCommands" + }, + "DalamudItemLinkHelp": { + "message": "アイテムを名前でリンクします。使用法: /xlitem <アイテム名> アイテム名を完全一致したい場合: /xlitem +<アイテム名>", + "description": "Dalamud.SetupCommands" + }, + "DalamudBonusHelp": { + "message": "ルーレットに指定したボーナスがある場合に通知します。詳細はパラメータなしで実行してください。使用法: /xlbonus <ルーレット名> <ロール名>", + "description": "Dalamud.SetupCommands" + }, + "DalamudDevMenuHelp": { + "message": "DEBUG 開発メニューを表示します。", + "description": "Dalamud.SetupCommands" + }, + "DalamudInstallerHelp": { + "message": "プラグインインストーラを開きます", + "description": "Dalamud.SetupCommands" + }, + "DalamudCreditsHelp": { + "message": "Dalamud のクレジットを開きます。", + "description": "Dalamud.SetupCommands" + }, + "DalamudCmdHelpAvailable": { + "message": "利用可能なコマンド:", + "description": "Dalamud.OnHelpCommand" + }, + "DalamudMuted": { + "message": "\"{0}\" をミュートしました。", + "description": "Dalamud.OnBadWordsAddCommand" + }, + "DalamudNoneMuted": { + "message": "ミュートされている単語または、文章はありません。", + "description": "Dalamud.OnBadWordsListCommand" + }, + "DalamudUnmuted": { + "message": "\"{0}\" のミュートを解除しました。", + "description": "Dalamud.OnBadWordsRemoveCommand" + }, + "DalamudNoLastLink": { + "message": "直前のリンクがありません……", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudOpeningLink": { + "message": "{0} を開いています。", + "description": "Dalamud.OnLastLinkCommand" + }, + "DalamudBotNotSetup": { + "message": "XIVLauncher の Discordボットが正しく設定されていないか、Discord に接続できませんでした。設定やFAQをご確認ください。", + "description": "Dalamud.OnBotJoinCommand" + }, + "DalamudChannelNotSetup": { + "message": "通知用の Discord チャンネルを設定していません (チャットでのみ受信できます)。Discord で通知を受け取るには、XIVLauncher の In-Game 設定をしてください。", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusSet": { + "message": "{0}({1}) のボーナス通知を {2} に設定します", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudInvalidArguments": { + "message": "認識できないパラメータです。", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudBonusPossibleValues": { + "message": "ルーレットの可能な入力:leveling, 506070, msq, guildhests, expert, trials, mentor, alliance, normal\nロールの可能な入力:tank, dps, healer, all, none/reset", + "description": "Dalamud.OnRouletteBonusNotifyCommand" + }, + "DalamudItemNotFound": { + "message": "アイテムを見つけられませんでした。", + "description": "<b__0>d.MoveNext" + }, + "InstallerHeader": { + "message": "プラグインインストーラ", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerHint": { + "message": "このウィンドウでは、In-Game プラグインのインストールと削除を行うことができます。\nこれらはサードパーティの開発者によって作られたものです。", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerLoading": { + "message": "プラグインをロード中……", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDownloadFailed": { + "message": "ダウンロードが失敗しました。", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInstalled": { + "message": " (導入済み)", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerInProgress": { + "message": "インストール中……", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerDisable": { + "message": "無効化", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerOpenConfig": { + "message": "設定を開く", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdating": { + "message": "アップデートしています……", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdateComplete": { + "message": "{0} のプラグインが更新されました!", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerNoUpdates": { + "message": "アップデートが見つかりませんでした!", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerUpdatePlugins": { + "message": "プラグインをアップデートする", + "description": "PluginInstallerWindow.Draw" + }, + "Close": { + "message": "閉じる", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerError": { + "message": "インストールが失敗しました", + "description": "PluginInstallerWindow.Draw" + }, + "InstallerErrorHint": { + "message": "プラグインのインストーラに問題が発生したか、プラグインとの互換性がありません。\nゲームを再起動して、このエラーを私たちのディスコードで報告してください。", + "description": "PluginInstallerWindow.Draw" + }, + "OK": { + "message": "OK", + "description": "PluginInstallerWindow.Draw" + }, + "DalamudWelcome": { + "message": "XIVLauncher In-Game アドオン v{0} がロードされました.", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginLoaded": { + "message": " 》 {0} v{1} がロードされました。", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudUpdated": { + "message": "In-Game アドオンの更新または、再インストールに成功しました。詳細な変更履歴はDiscordで確認してください。", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateRequired": { + "message": "いくつかのプラグインで更新が必要です。/xlplugins コマンドを使用して、プラグインを更新してください。", + "description": "ChatHandlers.OnChatMessage" + }, + "DalamudPluginUpdateCheckFail": { + "message": "プラグインの更新を確認できませんでした。", + "description": "ChatHandlers.OnChatMessage" + } +} \ No newline at end of file