mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 20:24:16 +01:00
fix: make localize static for exloc
This commit is contained in:
parent
4af25292da
commit
fa29af8945
1 changed files with 2 additions and 2 deletions
|
|
@ -126,9 +126,9 @@ namespace Dalamud
|
||||||
/// <param name="key">The string key to be returned.</param>
|
/// <param name="key">The string key to be returned.</param>
|
||||||
/// <param name="fallBack">The fallback string, usually your source language.</param>
|
/// <param name="fallBack">The fallback string, usually your source language.</param>
|
||||||
/// <returns>The localized string, fallback or string key if not found.</returns>
|
/// <returns>The localized string, fallback or string key if not found.</returns>
|
||||||
public string Localize(string key, string fallBack)
|
public static string Localize(string key, string fallBack)
|
||||||
{
|
{
|
||||||
return Loc.Localize(key, fallBack, this.assembly);
|
return Loc.Localize(key, fallBack, Assembly.GetCallingAssembly());
|
||||||
}
|
}
|
||||||
|
|
||||||
private string ReadLocData(string langCode)
|
private string ReadLocData(string langCode)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue