mirror of
https://github.com/status-im/react-native-i18n.git
synced 2025-02-02 07:14:53 +00:00
Fix class atrributes name and type
This commit is contained in:
parent
b36f9cf1a7
commit
45d6d34eee
@ -16,11 +16,14 @@ namespace ReactNative.Modules.RNI18n
|
||||
}
|
||||
}
|
||||
|
||||
public override Dictionary<String, Object> Constants()
|
||||
public override IReadOnlyDictionary<String, Object> Constants
|
||||
{
|
||||
get
|
||||
{
|
||||
Dictionary<String, Object> constants = new Dictionary<string, object>();
|
||||
constants.Add("locale", System.Globalization.CultureInfo.CurrentCulture.Name);
|
||||
return constants;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user