mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
Merge pull request #338 from kalilistic/fix-plugin-exloc
fix: make localize static for exloc
This commit is contained in:
commit
5ab4522eda
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="fallBack">The fallback string, usually your source language.</param>
|
||||
/// <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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue