Exemple #1
0
 public string GetResource(string resourceName)
 {
     if (resourceName == null)
     {
         return(null);
     }
     return(LocalisationService.Get(resourceName));
 }
Exemple #2
0
        void _onSetText(string value)
        {
            Placeholder = _localisationService.Get(value);

            if (string.IsNullOrWhiteSpace(Placeholder))
            {
                Placeholder = "* No loc resource for " + value;
            }
        }
Exemple #3
0
        void _onSetText(string value)
        {
            Text = _localisationService.Get(value);

            if (string.IsNullOrWhiteSpace(Text))
            {
                Text = "* No loc resource for " + value;
            }
        }