mirror of
https://github.com/greenshot/greenshot
synced 2025-07-15 01:23:47 -07:00
23 lines
No EOL
570 B
C#
23 lines
No EOL
570 B
C#
using GreenshotPlugin.Core;
|
|
|
|
namespace Greenshot.Plugin.Confluence.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;
|
|
}
|
|
}
|
|
} |