Skip to content

Commit

Permalink
Adding the translations for Upload help resources
Browse files Browse the repository at this point in the history
  • Loading branch information
vipinpaul committed Dec 8, 2023
1 parent b155afb commit 4808994
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 5 deletions.
6 changes: 3 additions & 3 deletions renderer/src/components/Resources/ImportResource.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ export default function ImportResource({

return (
<>
<h2 className="uppercase text-sm">{selectResource === 'local-helps' ? 'Import Door43 helps resources' : t('label-import-resource')}</h2>
<h2 className="uppercase text-sm">{selectResource === 'local-helps' ? t('label-import-door43-resources') : t('label-import-resource')}</h2>
<h4 className="text-xs text-primary tracking-wide leading-4 font-light flex items-center py-2 gap-2">
{selectResource === 'local-helps' ? 'Helps Resource filepath with valid manifest.yaml' : t('label-burrito-resource-path')}
{selectResource === 'local-helps' ? t('msg-helps-filepath') : t('label-burrito-resource-path')}
<button
title={
selectResource === 'local-helps'
? 'supported resources are TN, TW, TQ, TA'
? t('tooltip-supported-resources')
: t('msg-select-dir-for-SB')
}
type="button"
Expand Down
2 changes: 1 addition & 1 deletion renderer/src/components/Resources/ResourcesSideBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default function ResourcesSidebar({
},
{
id: 'local-helps',
title: 'Upload Help Resources',
title: t('label-upload-help-resources'),
resourceType: 'helps',
Icon: UploadIcon,
subCategory: [],
Expand Down
4 changes: 4 additions & 0 deletions renderer/src/translations/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const En = {
'label-no-content-available': 'No content available!',
'label-enter-location': 'Enter location',
'label-editor-load-module': 'Load a Module',
'label-import-door43-resources': 'Import Door43 helps resources',
'tooltip-editor-lock': 'navigation lock/unlock',
'tooltip-editor-bookmark': 'bookmark',
'tooltip-editor-notification': 'notification',
Expand Down Expand Up @@ -276,4 +277,7 @@ export const En = {
'label-check-updates': 'Check updates',
'label-documentation': 'Documentation',
'label-tech-support': 'Tech Support',
'msg-helps-filepath': 'Helps Resource filepath with valid manifest.yaml',
'tooltip-supported-resources': 'supported resources are TN, TW, TQ, TA',
'label-upload-help-resources': 'Upload Help Resources',
};
4 changes: 4 additions & 0 deletions renderer/src/translations/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const Fr = {
'label-no-content-available': 'Aucun contenu disponible!',
'label-enter-location': 'Entrez l\'emplacement',
'label-editor-load-module': 'Charger un module',
'label-import-door43-resources': 'Importer DOOR43 aide les ressources',
'tooltip-editor-lock': 'verrouillage/déverrouillage de la navigation',
'tooltip-editor-bookmark': 'signet',
'tooltip-editor-notification': 'notification',
Expand Down Expand Up @@ -276,4 +277,7 @@ export const Fr = {
'label-check-updates': 'Vérifier les mises à jour',
'label-documentation': 'Documentation',
'label-tech-support': 'support technique',
'msg-helps-filepath': 'Vous pouvez mettre en place une ressource rapide pour le serveur manifest.yaml.',
'tooltip-supported-resources': 'les ressources prises en charge sont TN, TW, TQ, TA',
'label-upload-help-resources': 'Télécharger des ressources d\'aide',
};
4 changes: 4 additions & 0 deletions renderer/src/translations/hi.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const Hi = {
'label-no-content-available': 'कोई सामग्री उपलब्ध नहीं है!',
'label-enter-location': 'स्थान दर्ज करें',
'label-editor-load-module': 'मॉड्यूल लोड करें',
'label-import-door43-resources': 'आयात DOOR43 संसाधनों की सहायता करता है',
'tooltip-editor-lock': 'नेविगेशन लॉक/अनलॉक',
'tooltip-editor-bookmark': 'बुकमार्क',
'tooltip-editor-notification': 'सूचना',
Expand Down Expand Up @@ -276,4 +277,7 @@ export const Hi = {
'label-check-updates': 'अपडेट जांचें',
'label-documentation': 'प्रलेखन',
'label-tech-support': 'तकनीकी समर्थन',
'msg-helps-filepath': 'आप manifest.yaml सर्वर के लिए एक त्वरित संसाधन सेट कर सकते हैं।',
'tooltip-supported-resources': 'समर्थित संसाधन TN, TW, TQ, TA हैं।',
'label-upload-help-resources': 'सहायता संसाधन अपलोड करें',
};
4 changes: 4 additions & 0 deletions renderer/src/translations/ne.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const Ne = {
'label-no-content-available': 'कुनै सामाग्री उपलब्ध छैन',
'label-enter-location': 'स्थान दर्ता गर्नुहोस्',
'label-editor-load-module': 'मोड्‍युल लोड गर्नुहोस्',
'label-import-door43-resources': 'आयात DOOR43 संसाधनहरूको सहायता गर्छ',
'tooltip-editor-lock': 'नेविगेशन लॉक/अनलॉक',
'tooltip-editor-bookmark': 'पृष्ठसङ्केत',
'tooltip-editor-notification': 'सूचना',
Expand Down Expand Up @@ -276,4 +277,7 @@ export const Ne = {
'label-check-updates': 'अपडेटहरू जाँच गर्नुहोस्',
'label-documentation': 'कागजात',
'label-tech-support': 'प्राविधिक समर्थन',
'msg-helps-filepath': 'वैध manifest.yaml सँग संसाधन फाइलपाथलाई मद्दत गर्दछ',
'tooltip-supported-resources': 'समर्थित स्रोतहरू TN, TW, TQ, TA हुन्',
'label-upload-help-resources': 'मद्दत स्रोतहरू अपलोड गर्नुहोस्',
};
5 changes: 4 additions & 1 deletion renderer/src/translations/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const Ru = {
'label-no-content-available': 'Нет доступного контента!',
'label-enter-location': 'Введите расположение',
'label-editor-load-module': 'Загрузите модуль',
'label-import-door43-resources': 'Импорт ресурсов DOOR43 помогает',
'tooltip-editor-lock': 'navigation lock/unlock',
'tooltip-editor-bookmark': 'закладка',
'tooltip-editor-notification': 'уведомление',
Expand Down Expand Up @@ -276,5 +277,7 @@ export const Ru = {
'label-check-updates': 'Проверить обновления',
'label-documentation': 'Документация',
'label-tech-support': 'техническая поддержка',

'msg-helps-filepath': 'Помогает найти путь к ресурсу файла с реальным файлом manifest.yaml.',
'tooltip-supported-resources': 'поддерживаемые ресурсы: TN, TW, TQ, TA',
'label-upload-help-resources': 'Загрузить справочные ресурсы',
};

0 comments on commit 4808994

Please sign in to comment.