mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Manually fallback to the fallback locale when a ResourceBundle is missing a resource key. Fallsback to "MISSING RESOUREC" if it's not present in the fallback.
This commit is contained in:
@@ -63,6 +63,9 @@ public class LocalizationAsset extends BaseResource implements LoadableResource,
|
||||
loaded = false;
|
||||
}
|
||||
|
||||
/** Returns the fallback locale used when locale is missing argument*/
|
||||
public Locale getFallback() {return this.fallback;}
|
||||
|
||||
/**
|
||||
* Checks whether this asset has been loaded.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user