mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-01-15 14:42:46 +01:00
17 lines
718 B
C#
17 lines
718 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using TweetLib.Utils.Globalization;
|
|
|
|
namespace TweetLib.Core.Features.Twitter {
|
|
public static class TweetDeckTranslations {
|
|
// TD.languages.getSupportedTranslationDestinationLanguages() except for "ht", "in", "iw" which are missing/duplicates
|
|
public static IEnumerable<Language> SupportedLanguages { get; } = new List<string> {
|
|
"bg", "ca", "zh-cn", "zh-tw", "cs", "da", "nl",
|
|
"en", "et", "fi", "fr", "de", "el", "he", "hi",
|
|
"hu", "id", "it", "ja", "ko", "lv", "lt", "no",
|
|
"pl", "pt", "ro", "ru", "sk", "sl", "es", "sv",
|
|
"th", "tr", "uk", "vi", "ar", "fa"
|
|
}.Select(static code => new Language(code)).OrderBy(static code => code).ToList();
|
|
}
|
|
}
|