mirror of
https://github.com/greenshot/greenshot.git
synced 2025-01-09 15:23:03 -08:00
19 lines
465 B
C#
19 lines
465 B
C#
using GreenshotPlugin.Core;
|
|
|
|
namespace GreenshotConfluencePlugin.Support {
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class LanguageXMLTranslationProvider : ITranslationProvider {
|
|
/// <summary>
|
|
/// See <see cref="ITranslationProvider.Translate" />
|
|
/// </summary>
|
|
public object Translate(string key) {
|
|
if (Language.HasKey("confluence", key)) {
|
|
return Language.GetString("confluence", key);
|
|
}
|
|
return key;
|
|
}
|
|
}
|
|
}
|