From dc76633cb1c0a53bac1cbed8d3e020c5af318902 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Thu, 21 Aug 2025 17:36:43 +0500 Subject: [PATCH] Update service titles in ServicesScreen to use localized strings from the i18n library - Changed service titles to their corresponding localized versions in Turkmen. - Added new localization keys for 'Money', 'Hotel', 'Lost room key', and 'Translator' in the tk.json file. --- app/(tabs)/services.tsx | 8 ++++---- locales/tk.json | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/(tabs)/services.tsx b/app/(tabs)/services.tsx index e49cb7b..1cd4216 100644 --- a/app/(tabs)/services.tsx +++ b/app/(tabs)/services.tsx @@ -14,25 +14,25 @@ export default function ServicesScreen() { const services = [ { - title: 'Pul', + title: i18n.t('Money'), name: 'currencyConverter', icon: , onPress: () => setCurrencyModalVisible(true), }, { - title: 'Otel', + title: i18n.t('Hotel'), name: 'hotelCard', icon: , onPress: () => setHotelModalVisible(true), }, { - title: 'Açar içinde galdy', + title: i18n.t('Lost room key'), name: 'lostKey', icon: , onPress: () => setLostKeyModalVisible(true), }, { - title: 'Perewod', + title: i18n.t('Translator'), name: 'translator', icon: , onPress: () => setTranslatorModalVisible(true), diff --git a/locales/tk.json b/locales/tk.json index 81044b2..041bffc 100644 --- a/locales/tk.json +++ b/locales/tk.json @@ -38,5 +38,9 @@ "insultedWhileFasting": "Orazaly wagtyň kemsidilende", "seeingFruitSupplication": "Irki ýa-da bişmedik miwäni göreniňde aýdylýan doga", "sneezingSupplication": "Asgyranyňda aýdylýan doga", - "sarToTmt": "SAR-dan TMT-a" + "sarToTmt": "SAR-dan TMT-a", + "Money": "Pul", + "Hotel": "Otel", + "Lost room key": "Açar içinde galdy", + "Translator": "Perewod" }