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.
This commit is contained in:
2025-08-21 17:36:43 +05:00
parent 7ecbe23e0d
commit dc76633cb1
2 changed files with 9 additions and 5 deletions

View File

@@ -14,25 +14,25 @@ export default function ServicesScreen() {
const services = [
{
title: 'Pul',
title: i18n.t('Money'),
name: 'currencyConverter',
icon: <FontAwesome5 name="dollar-sign" size={24} color="#D4AF37" />,
onPress: () => setCurrencyModalVisible(true),
},
{
title: 'Otel',
title: i18n.t('Hotel'),
name: 'hotelCard',
icon: <FontAwesome5 name="hotel" size={24} color="#D4AF37" />,
onPress: () => setHotelModalVisible(true),
},
{
title: 'Açar içinde galdy',
title: i18n.t('Lost room key'),
name: 'lostKey',
icon: <FontAwesome5 name="key" size={24} color="#D4AF37" />,
onPress: () => setLostKeyModalVisible(true),
},
{
title: 'Perewod',
title: i18n.t('Translator'),
name: 'translator',
icon: <FontAwesome5 name="language" size={24} color="#D4AF37" />,
onPress: () => setTranslatorModalVisible(true),

View File

@@ -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"
}