Files
TREK/shared/src/i18n/tr/common.ts
T
Gio Cettuzzi 33fcbba414 fix(date-picker): locale-aware keyboard input parsing and i18n control labels
- 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
2026-07-01 18:27:36 +02:00

67 lines
2.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;