Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Turkish translations #636

Merged
merged 6 commits into from
May 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/main/java/alfio/model/ContentLanguage.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ public class ContentLanguage {
private static final ContentLanguage FRENCH = new ContentLanguage(Locale.FRENCH,0b10000, Locale.FRENCH, "fr");
private static final ContentLanguage ROMANIAN = new ContentLanguage(new Locale("ro"),0b100000, new Locale("ro"), "ro");
private static final ContentLanguage PORTUGUESE = new ContentLanguage(new Locale("pt"),0b1000000, new Locale("pt"), "pt");
private static final ContentLanguage TURKISH = new ContentLanguage(new Locale("tr"),0b10000000, new Locale("tr"), "tr");

public static final List<ContentLanguage> ALL_LANGUAGES = Arrays.asList(ITALIAN, ENGLISH, GERMAN, DUTCH, FRENCH, ROMANIAN, PORTUGUESE);
public static final List<ContentLanguage> ALL_LANGUAGES = Arrays.asList(ITALIAN, ENGLISH, GERMAN, DUTCH, FRENCH, ROMANIAN, PORTUGUESE, TURKISH);
public static final int ALL_LANGUAGES_IDENTIFIER = ALL_LANGUAGES.stream().mapToInt(ContentLanguage::getValue).reduce(0, (a,b) -> a|b);

public static List<ContentLanguage> findAllFor(int bitMask) {
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/alfio/model/system/ConfigurationKeys.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ public enum ConfigurationKeys {
TRANSLATION_OVERRIDE_VAT_IT("Override the default tax term IT: IVA", false, SettingCategory.TRANSLATIONS, ComponentType.TEXT, false, EnumSet.of(SYSTEM, ORGANIZATION, EVENT)),
TRANSLATION_OVERRIDE_VAT_NL("Override the default tax term NL: BTW", false, SettingCategory.TRANSLATIONS, ComponentType.TEXT, false, EnumSet.of(SYSTEM, ORGANIZATION, EVENT)),
TRANSLATION_OVERRIDE_VAT_RO("Override the default tax term RO: TVA", false, SettingCategory.TRANSLATIONS, ComponentType.TEXT, false, EnumSet.of(SYSTEM, ORGANIZATION, EVENT)),
TRANSLATION_OVERRIDE_VAT_PT("Override the default tax term PT: IVA", false, SettingCategory.TRANSLATIONS, ComponentType.TEXT, false, EnumSet.of(SYSTEM, ORGANIZATION, EVENT));
TRANSLATION_OVERRIDE_VAT_PT("Override the default tax term PT: IVA", false, SettingCategory.TRANSLATIONS, ComponentType.TEXT, false, EnumSet.of(SYSTEM, ORGANIZATION, EVENT)),
TRANSLATION_OVERRIDE_VAT_TR("Override the default tax term TR: KDV", false, SettingCategory.TRANSLATIONS, ComponentType.TEXT, false, EnumSet.of(SYSTEM, ORGANIZATION, EVENT));

@Getter
public enum SettingCategory {
Expand Down
21 changes: 21 additions & 0 deletions src/main/resources/alfio/i18n/admin_tr.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
admin.title=alf.io admin
admin.main.organizations=Varolan Organizasyonlar
admin.main.users=Mevcut Kullanıcılar
admin.main.events=Kayıtlı Etkinlikler
error.shortname=Etkinlik ismi geçerli değil
error.displayname=Etkinlik görüntü ismi geçerli değil
error.organizationId=Organizasyon geçerli değil.
error.location=Konum geçerli değil
error.description=Tanım geçerli değil
error.websiteurl=Web sayfası URL''i geçerli değil
error.termsandconditionsurl=Şartlar ve Koşullar URL''i geçerli değil
error.imageurl=Görüntü URL''i https ile başlamalı
error.allowedpaymentproxies=En az bir ödeme proxy''si seçilmelidir
error.regularprice=Normal fiyat geçerli değil
error.vat=KDV geçerli değil
error.currency=Para birimi geçerli değil
error.availableseats=Maksimum yer seçimi geçerli değil
error.category.name=Kategori ismi geçerli değil
error.category.maxtickets=Maksimum bilet sayısı geçerli değil
error.date=Tarih geçerli değil
error.required=Değer gerekli
Loading