Esempio n. 1
0
 /// <summary>
 /// Translates the phrase matching the name of the specified <code>field</code>.
 /// </summary>
 /// <param name="field">The field.</param>
 public string Translate(IAnalyticsField field)
 {
     return(DashboardHelpers.Translate(Culture, field));
 }
Esempio n. 2
0
 /// <summary>
 /// Translates the phrase with the specified <code>key</code>.
 /// </summary>
 /// <param name="key">The key of the phrase.</param>
 /// <param name="args">The arguments to be inserted into the phrase.</param>
 public string Translate(string key, params string[] args)
 {
     return(DashboardHelpers.Translate(Culture, key, args));
 }