-
-
Notifications
You must be signed in to change notification settings - Fork 180
Expand file tree
/
Copy pathILocalizationCatalog.cs
More file actions
20 lines (18 loc) · 834 Bytes
/
ILocalizationCatalog.cs
File metadata and controls
20 lines (18 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// <copyright file="ILocalizationCatalog.cs" company="iT Engineering - Software Innovations">
// Copyright (c) Jan Klass. All rights reserved.
// </copyright>
namespace FubarDev.FtpServer.Localization
{
public interface ILocalizationCatalog
{
/// <summary>Translate <paramref name="text"/>.</summary>
/// <param name="text">The text to be translated.</param>
/// <returns>The translated text.</returns>
string GetString(string text);
/// <summary>Translate <paramref name="text"/> with format values <paramref name="args"/>.</summary>
/// <param name="text">The text to be translated.</param>
/// <param name="args">The format arguments.</param>
/// <returns>The translated text.</returns>
string GetString(string text, params object?[] args);
}
}