mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-04-26 14:28:23 +00:00
Finish translation of landing page
This commit is contained in:
parent
51228b2ca1
commit
1e9f672d6c
7 changed files with 34 additions and 24 deletions
|
@ -13,6 +13,8 @@ public class TranslatableString
|
|||
|
||||
public string Translate(string language) => LocalizationManager.GetLocalizedString(this.Area, language, this.Key);
|
||||
|
||||
public string Translate(string language, params object?[] format) => string.Format(LocalizationManager.GetLocalizedString(this.Area, language, this.Key), format);
|
||||
|
||||
// CS0809 is a warning about obsolete methods overriding non-obsoleted methods.
|
||||
// That works against what we're trying to do here, so we disable the warning here.
|
||||
#pragma warning disable CS0809
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue