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

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

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