mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-24 07:53:09 +00:00
33fcbba414
- Replace fixed-order date parser with locale-aware implementation using Intl.DateTimeFormat.formatToParts to detect field order; adds swap fallback for unambiguous inputs (day > 12) to handle locale mismatches gracefully - Pre-fill keyboard input with locale-formatted numeric date (e.g. 14.06.2026) instead of raw ISO value - Replace all hardcoded English aria-labels and titles with t() calls; add new keys under common.datepicker.* namespace across all locale files - Update FE-COMP-DATEPICKER-013 to use unambiguous day value (> 12) to avoid locale-dependent test failures
67 lines
2.4 KiB
TypeScript
67 lines
2.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const common: TranslationStrings = {
|
||
'common.save': 'Kaydet',
|
||
'common.showMore': 'Daha fazla göster',
|
||
'common.showLess': 'Daha az göster',
|
||
'common.cancel': 'İptal',
|
||
'common.clear': 'Temizle',
|
||
'common.delete': 'Sil',
|
||
'common.edit': 'Düzenle',
|
||
'common.add': 'Ekle',
|
||
'common.loading': 'Yükleniyor...',
|
||
'common.import': 'İçe aktar',
|
||
'common.select': 'Seç',
|
||
'common.selectAll': 'Tümünü seç',
|
||
'common.deselectAll': 'Seçimi kaldır',
|
||
'common.error': 'Hata',
|
||
'common.unknownError': 'Bilinmeyen hata',
|
||
'common.tooManyAttempts': 'Çok fazla deneme. Lütfen daha sonra tekrar deneyin.',
|
||
'common.back': 'Geri',
|
||
'common.all': 'Tümü',
|
||
'common.close': 'Kapat',
|
||
'common.open': 'Aç',
|
||
'common.upload': 'Yükle',
|
||
'common.search': 'Ara',
|
||
'common.confirm': 'Onayla',
|
||
'common.ok': 'Tamam',
|
||
'common.yes': 'Evet',
|
||
'common.no': 'Hayır',
|
||
'common.or': 'veya',
|
||
'common.none': 'Yok',
|
||
'common.date': 'Tarih',
|
||
'common.rename': 'Yeniden adlandır',
|
||
'common.discardChanges': 'Değişiklikleri iptal et',
|
||
'common.discard': 'Vazgeç',
|
||
'common.name': 'Ad',
|
||
'common.email': 'E-posta',
|
||
'common.password': 'Şifre',
|
||
'common.saving': 'Kaydediliyor...',
|
||
'common.justNow': 'az önce',
|
||
'common.hoursAgo': '{count} sa. önce',
|
||
'common.daysAgo': '{count} gün önce',
|
||
'common.saved': 'Kaydedildi',
|
||
'common.update': 'Güncelle',
|
||
'common.change': 'Değiştir',
|
||
'common.uploading': 'Yükleniyor…',
|
||
'common.backToPlanning': 'Planlamaya dön',
|
||
'common.reset': 'Sıfırla',
|
||
'common.expand': 'Genişlet',
|
||
'common.collapse': 'Daralt',
|
||
'common.copy': 'Kopyala',
|
||
'common.copied': 'Kopyalandı',
|
||
'common.datepicker.prevMonth': 'Previous month', // en-fallback
|
||
'common.datepicker.nextMonth': 'Next month', // en-fallback
|
||
'common.datepicker.prevYear': 'Previous year', // en-fallback
|
||
'common.datepicker.nextYear': 'Next year', // en-fallback
|
||
'common.datepicker.prevYears': 'Previous years', // en-fallback
|
||
'common.datepicker.nextYears': 'Next years', // en-fallback
|
||
'common.datepicker.selectMonth': 'Select month', // en-fallback
|
||
'common.datepicker.selectYear': 'Select year', // en-fallback
|
||
'common.datepicker.enterManually': 'Enter date manually', // en-fallback
|
||
'common.datepicker.typeDate': 'Type a date', // en-fallback
|
||
'common.datepicker.dialog': 'Date picker', // en-fallback
|
||
'common.datepicker.clearDate': 'Clear date', // en-fallback
|
||
};
|
||
export default common;
|