Skip to content

Commit

Permalink
Add Ukrainian as language (#9236)
Browse files Browse the repository at this point in the history
And put the non-English term first

Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Carl Christian Snethlage <50491877+calixtus@users.noreply.github.com>
Co-authored-by: Houssem Nasri <housi.housi2015@gmail.com>
Co-authored-by: ThiloteE <73715071+ThiloteE@users.noreply.github.com>

Co-authored-by: Christoph <siedlerkiller@gmail.com>
Co-authored-by: Carl Christian Snethlage <50491877+calixtus@users.noreply.github.com>
Co-authored-by: Houssem Nasri <housi.housi2015@gmail.com>
Co-authored-by: ThiloteE <73715071+ThiloteE@users.noreply.github.com>
  • Loading branch information
5 people authored Oct 10, 2022
1 parent 3c49114 commit 900ed0a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/main/java/org/jabref/logic/l10n/Language.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,34 @@ public enum Language {
BAHASA_INDONESIA("Bahasa Indonesia", "id"),
BRAZILIAN_PORTUGUESE("Brazilian Portuguese", "pt_BR"),
DANISH("Dansk", "da"),
GERMAN("Deutsch", "de"),
DUTCH("Nederlands", "nl"),
ENGLISH("English", "en"),
SPANISH("Español", "es"),
FRENCH("Français", "fr"),
GERMAN("Deutsch", "de"),
GREEK("ελληνικά (Greek)", "el"),
ITALIAN("Italiano", "it"),
JAPANESE("Japanese", "ja"),
DUTCH("Nederlands", "nl"),
KOREAN("한국어 (Korean)", "ko"),
NORWEGIAN("Norsk", "no"),
PERSIAN("Persian (فارسی)", "fa"),
PERSIAN("فارسی (Farsi)", "fa"),
POLISH("Polish", "pl"),
PORTUGUESE("Português", "pt"),
RUSSIAN("Russian", "ru"),
SIMPLIFIED_CHINESE("Chinese (Simplified)", "zh_CN"),
SPANISH("Español", "es"),
SWEDISH("Svenska", "sv"),
TAGALOG("Tagalog/Filipino", "tl"),
TRADITIONAL_CHINESE("Chinese (Traditional)", "zh_TW"),
SVENSKA("Svenska", "sv"),
TURKISH("Turkish", "tr"),
VIETNAMESE("Vietnamese", "vi"),
GREEK("ελληνικά", "el"),
TAGALOG("Tagalog/Filipino", "tl"),
POLISH("Polish", "pl"),
KOREAN("Korean (한국어)", "ko");
UKRAINIAN("украї́нська (Ukrainian)", "uk"),
VIETNAMESE("Vietnamese", "vi");

private final String displayName;
private final String id;

/**
* @param id Typically as 639-1 code
*/
Language(String displayName, String id) {
this.displayName = displayName;
this.id = id;
Expand Down
Empty file.

0 comments on commit 900ed0a

Please sign in to comment.