Files
pwap/shared/i18n/locales/tr.json
T
Claude 31a0f86382 Organize shared code across web, mobile, and SDK UI projects
Centralized common code into shared/ folder to eliminate duplication and
improve maintainability across all three frontend projects (web, mobile,
pezkuwi-sdk-ui).

Changes:
- Added token types and constants to shared/types/tokens.ts
  - TokenInfo, PoolInfo, SwapQuote, and other DEX types
  - KNOWN_TOKENS with HEZ, PEZ, wUSDT definitions
  - Token logos (🟡🟣💵)

- Added Kurdistan color palette to shared/constants/
  - Kesk, Sor, Zer, Spî, Reş color definitions

- Added TOKEN_DISPLAY_SYMBOLS mapping (USDT vs wUSDT)

- Updated blockchain configuration in shared/blockchain/polkadot.ts
  - Added beta testnet endpoint (wss://beta-rpc.pezkuwi.art)
  - Defined DEFAULT_ENDPOINT constant

- Moved i18n to shared/i18n/
  - Centralized translation files for 6 languages (EN, TR, KMR, CKB, AR, FA)
  - Added LANGUAGES configuration with RTL support
  - Created isRTL() helper function

- Updated web and mobile to import from shared
  - web/src/types/dex.ts now re-exports from shared
  - web/src/contexts/PolkadotContext.tsx uses DEFAULT_ENDPOINT
  - mobile/src/i18n/index.ts uses shared translations
  - mobile/src/contexts/PolkadotContext.tsx uses DEFAULT_ENDPOINT

- Updated shared/README.md with comprehensive documentation

This architecture reduces code duplication and ensures consistency across
all frontend projects.
2025-11-14 19:48:43 +00:00

65 lines
1.6 KiB
JSON
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.
{
"welcome": {
"title": "Pezkuwi'ye Hoş Geldiniz",
"subtitle": "Merkezi olmayan yönetim kapınız",
"selectLanguage": "Dilinizi Seçin",
"continue": "Devam Et"
},
"auth": {
"signIn": "Giriş Yap",
"signUp": "Kayıt Ol",
"email": "E-posta",
"password": "Şifre",
"confirmPassword": "Şifreyi Onayla",
"forgotPassword": "Şifremi Unuttum",
"noAccount": "Hesabınız yok mu?",
"haveAccount": "Zaten hesabınız var mı?",
"createAccount": "Hesap Oluştur",
"welcomeBack": "Tekrar Hoş Geldiniz!",
"getStarted": "Başlayın"
},
"dashboard": {
"title": "Ana Sayfa",
"wallet": "Cüzdan",
"staking": "Stake Etme",
"governance": "Yönetişim",
"dex": "Borsa",
"history": "Geçmiş",
"settings": "Ayarlar",
"balance": "Bakiye",
"totalStaked": "Toplam Stake",
"rewards": "Ödüller",
"activeProposals": "Aktif Teklifler"
},
"wallet": {
"title": "Cüzdan",
"connect": "Cüzdan Bağla",
"disconnect": "Bağlantıyı Kes",
"address": "Adres",
"balance": "Bakiye",
"send": "Gönder",
"receive": "Al",
"transaction": "İşlem",
"history": "Geçmiş"
},
"settings": {
"title": "Ayarlar",
"language": "Dil",
"theme": "Tema",
"notifications": "Bildirimler",
"security": "Güvenlik",
"about": "Hakkında",
"logout": "Çıkış Yap"
},
"common": {
"cancel": "İptal",
"confirm": "Onayla",
"save": "Kaydet",
"loading": "Yükleniyor...",
"error": "Hata",
"success": "Başarılı",
"retry": "Tekrar Dene",
"close": "Kapat"
}
}