Skip to content

Commit

Permalink
Work for #4857: Fix logo/title/description position case (#4904)
Browse files Browse the repository at this point in the history
* Work for #4857: Fix logo/title/description position case

* Update translation #4857

---------

Co-authored-by: Andrew Telnov <[email protected]>
  • Loading branch information
dk981234 and andrewtelnov authored Nov 21, 2023
1 parent de1c90a commit 443e8e9
Show file tree
Hide file tree
Showing 32 changed files with 140 additions and 662 deletions.
38 changes: 7 additions & 31 deletions packages/survey-creator-core/src/localization/arabic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,7 @@ export var arStrings = {
uncompletedRule_title: "القواعد المنطقية غير مكتملة",
uncompletedRule_text: "لم تكمل بعض القواعد المنطقية. إذا تركت علامة التبويب الآن ، فستفقد التغييرات. هل ما زلت تريد مغادرة علامة التبويب دون إكمال التغييرات؟",
uncompletedRule_apply: "نعم",
uncompletedRule_cancel: "لا، أريد إكمال القواعد",
// expressionSetup: "",
// actionsSetup: ""
uncompletedRule_cancel: "لا، أريد إكمال القواعد"
}
},
// Property Editors
Expand Down Expand Up @@ -1119,8 +1117,8 @@ export var arStrings = {
verticalAlignmentMiddle: "وسط",
verticalAlignmentBottom: "قاع",
logoPosition: "موضع الشعار",
coverTitlePosition: "منصب العنوان",
coverDescriptionPosition: "وصف الوظيفة الحالية",
coverTitlePosition: "موضع العنوان",
coverDescriptionPosition: "موقف الوصف",
names: {
default: "افتراضي",
sharp: "حاد",
Expand Down Expand Up @@ -1186,8 +1184,6 @@ editorLocalization.locales["ar"] = arStrings;
// lg.uncompletedRule_text: "You have not completed some of the logical rules. If you leave the tab now, the changes will be lost. Do you still want to leave the tab without completing the changes?" => "لم تكمل بعض القواعد المنطقية. إذا تركت علامة التبويب الآن ، فستفقد التغييرات. هل ما زلت تريد مغادرة علامة التبويب دون إكمال التغييرات؟"
// lg.uncompletedRule_apply: "Yes" => "نعم"
// lg.uncompletedRule_cancel: "No, I want to complete the rules" => "لا، أريد إكمال القواعد"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// pe.fastEntryPlaceholder: "You can set data in the following format:\nvalue1|text\nvalue2" => "يمكنك تعيين البيانات بالتنسيق التالي:\nالقيمة1|النص\nقيمة2"
// pe.showPreviewBeforeComplete: "Preview answers before submitting the survey" => "معاينة الإجابات قبل إرسال الاستطلاع"
// pe.overridingPropertyPrefix: "Set by " => "تم تعيينه بواسطة "
Expand Down Expand Up @@ -1541,8 +1537,6 @@ editorLocalization.locales["ar"] = arStrings;
// colors.tulip: "Tulip" => "توليب"
// colors.brown: "Brown" => "أسمر"
// colors.green: "Green" => "أخضر"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// names.sharp: "Sharp" => "حاد"
// names.borderless: "Borderless" => "بلا حدود"
// names.flat: "Flat" => "وطيء"
Expand All @@ -1552,21 +1546,15 @@ editorLocalization.locales["ar"] = arStrings;
// names.threedimensional: "3D" => ".3D"
// ed.translationDeleteLanguage: "Are you certain you wish to delete all strings for this language?" => "هل أنت متأكد من أنك ترغب في حذف جميع السلاسل لهذه اللغة؟"
// ed.themeResetButton: "Reset theme settings to default" => "إعادة تعيين إعدادات النسق إلى الوضع الافتراضي"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// theme.placeholderColor: "Placeholder color" => "لون العنصر النائب"
// ed.themeSettings: "Theme Settings" => "إعدادات النسق"
// ed.themeSettingsTooltip: "Open theme settings" => "فتح إعدادات النسق"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// pe.resetToDefaultCaption: "Reset" => "اعاده تعيين"
// pv.file: "Local files" => "الملفات المحلية"
// pv.camera: "Camera" => "كاميرا"
// pv.file-camera: "Local files or camera" => "الملفات المحلية أو الكاميرا"
// ed.translateUsigAI: "Auto-translate All" => "ترجمة تلقائية للكل"
// ed.translationDialogTitle: "Untranslated strings" => "النصوص غير المترجمة"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// pe.fastEntryChoicesMinCountError: "Please enter at least {0} items" => "الرجاء إدخال {0} العناصر على الأقل"
// pe.markRequired: "Mark as required" => "وضع علامة كمطلوب"
// pe.removeRequiredMark: "Remove the required mark" => "إزالة العلامة المطلوبة"
Expand All @@ -1578,8 +1566,6 @@ editorLocalization.locales["ar"] = arStrings;
// lg.column_resetValueName: "Reset column value" => "إعادة تعيين قيمة العمود"
// lg.column_setValueName: "Set column value" => "تعيين قيمة العمود"
// lg.setValueExpressionPlaceholder: " An expression whose result will be assigned to the target question." => " تعبير سيتم تعيين نتيجته للسؤال الهدف."
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// survey.title: "Title" => "عنوان"
// page.title: "Title" => "عنوان"
// p.setValueIf: "Set value if" => "تعيين قيمة إذا"
Expand All @@ -1605,20 +1591,13 @@ editorLocalization.locales["ar"] = arStrings;
// theme.verticalAlignmentTop: "Top" => "أعلى"
// theme.verticalAlignmentMiddle: "Middle" => "وسط"
// theme.verticalAlignmentBottom: "Bottom" => "قاع"
// theme.logoPosition: "Logo Position" => "موضع الشعار"
// theme.coverTitlePosition: "Title Position" => "منصب العنوان"
// theme.coverDescriptionPosition: "Description Position" => "وصف الوظيفة الحالية"
// lg.question_resetValueText: "reset value for question: {0}" => "إعادة تعيين قيمة السؤال: {0}"
// lg.question_setValueText: "assign value: {1} to question: {0}" => "تعيين قيمة: {1} السؤال: {0}"
// lg.column_resetValueText: "reset cell value for column: {0}" => "إعادة تعيين قيمة الخلية للعمود: {0}"
// lg.column_setValueText: "assign cell value: {1} to column: {0}" => "تعيين قيمة الخلية: {1} إلى العمود: {0}"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// ed.surveyJsonExportButton: "Export" => "تصدير"
// ed.surveyJsonImportButton: "Import" => "استورد"
// ed.surveyJsonCopyButton: "Copy to clipboard" => "نسخ إلى الحافظة"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// pe.filePlaceholder: "File placeholder text" => "نص العنصر النائب للملف"
// pe.photoPlaceholder: "Photo placeholder text" => "نص العنصر النائب للصورة"
// pe.fileOrPhotoPlaceholder: "File or photo placeholder text" => "نص العنصر النائب للملف أو الصورة"
Expand All @@ -1630,14 +1609,10 @@ editorLocalization.locales["ar"] = arStrings;
// theme.coverDescriptionForecolor: "Description forecolor" => "وصف التلوين الأمامي"
// ed.themeResetConfirmation: "Do you really want to reset the theme? All your customizations will be lost." => "هل تريد حقا إعادة تعيين السمة؟ ستفقد جميع تخصيصاتك."
// ed.themeResetConfirmationOk: "Yes, reset the theme" => "نعم ، إعادة تعيين السمة"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// theme.groupBackground: "Background" => "خلفية"
// theme.groupAppearance: "Appearance" => "مظهر"
// theme.coverDescriptionForecolor: "Description forecolor" => "وصف التلوين الأمامي"
// theme.coverInheritWidthFromContainer: "Fit to container" => "يصلح للحاوية"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// signaturepad.showPlaceholder: "Show the placeholder" => "إظهار العنصر النائب"
// signaturepad.placeholder: "Placeholder text" => "نص العنصر النائب"
// theme.surveyDescription: "Survey description font" => "خط وصف الاستطلاع"
Expand All @@ -1647,10 +1622,11 @@ editorLocalization.locales["ar"] = arStrings;
// ed.saveThemeTooltip: "Save Theme" => "حفظ السمة"
// lg.page_requireName: "Make page required" => "اجعل الصفحة مطلوبة"
// lg.panel_requireName: "Make page required" => "اجعل الصفحة مطلوبة"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// signaturepad.signatureWidth: "Signature area width" => "عرض منطقة التوقيع"
// signaturepad.signatureHeight: "Signature area height" => "ارتفاع منطقة التوقيع"
// signaturepad.signatureAutoScaleEnabled: "Auto-scale the signature area" => "تغيير حجم منطقة التوقيع تلقائيا"
// signaturepad.penMinWidth: "Minimum pen width" => "الحد الأدنى لعرض القلم"
// signaturepad.penMaxWidth: "Maximum pen width" => "الحد الأقصى لعرض القلم"
// signaturepad.penMaxWidth: "Maximum pen width" => "الحد الأقصى لعرض القلم"
// theme.logoPosition: "Logo position" => "موضع الشعار"
// theme.coverTitlePosition: "Title position" => "موضع العنوان"
// theme.coverDescriptionPosition: "Description position" => "موقف الوصف"
16 changes: 7 additions & 9 deletions packages/survey-creator-core/src/localization/bulgarian.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,7 @@ export var bgStrings = {
uncompletedRule_title: "Сигурен ли си, че искаш да напуснеш раздела?",
uncompletedRule_text: "Едно или повече логически правила са незавършени. Ако напуснеш раздела, тези промени, които не може да бъдат приложени, ще изчезнат. Сигурен ли си, че искаш да напуснеш раздела?",
uncompletedRule_apply: "Да",
uncompletedRule_cancel: "Не, искам да попълня правилата.",
expressionSetup: "",
actionsSetup: ""
uncompletedRule_cancel: "Не, искам да попълня правилата."
}
},
// Property Editors
Expand Down Expand Up @@ -1118,9 +1116,9 @@ export var bgStrings = {
verticalAlignmentTop: "Връх",
verticalAlignmentMiddle: "Среда",
verticalAlignmentBottom: "Дъно",
logoPosition: "Позиция на емблемата",
logoPosition: "Позиция на логото",
coverTitlePosition: "Позиция на заглавието",
coverDescriptionPosition: "Описание Позиция",
coverDescriptionPosition: "Описание позиция",
names: {
default: "По подразбиране",
sharp: "Остър",
Expand Down Expand Up @@ -1244,9 +1242,6 @@ editorLocalization.locales["bg"] = bgStrings;
// theme.verticalAlignmentTop: "Top" => "Връх"
// theme.verticalAlignmentMiddle: "Middle" => "Среда"
// theme.verticalAlignmentBottom: "Bottom" => "Дъно"
// theme.logoPosition: "Logo Position" => "Позиция на емблемата"
// theme.coverTitlePosition: "Title Position" => "Позиция на заглавието"
// theme.coverDescriptionPosition: "Description Position" => "Описание Позиция"
// lg.question_resetValueText: "reset value for question: {0}" => "нулиране на стойността за въпрос: {0}"
// lg.question_setValueText: "assign value: {1} to question: {0}" => "присвояване на стойност: {1} на въпрос: {0}"
// lg.column_resetValueText: "reset cell value for column: {0}" => "Нулиране на стойността на клетката за колона: {0}"
Expand Down Expand Up @@ -1282,4 +1277,7 @@ editorLocalization.locales["bg"] = bgStrings;
// signaturepad.signatureHeight: "Signature area height" => "Височина на областта за подпис"
// signaturepad.signatureAutoScaleEnabled: "Auto-scale the signature area" => "Автоматично мащабиране на областта за подписи"
// signaturepad.penMinWidth: "Minimum pen width" => "Минимална ширина на писалката"
// signaturepad.penMaxWidth: "Maximum pen width" => "Максимална ширина на перото"
// signaturepad.penMaxWidth: "Maximum pen width" => "Максимална ширина на перото"
// theme.logoPosition: "Logo position" => "Позиция на логото"
// theme.coverTitlePosition: "Title position" => "Позиция на заглавието"
// theme.coverDescriptionPosition: "Description position" => "Описание позиция"
26 changes: 1 addition & 25 deletions packages/survey-creator-core/src/localization/croatian.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,7 @@ export var hrStrings = {
uncompletedRule_title: "Logička pravila nisu potpuna",
uncompletedRule_text: "Niste dovršili neka logička pravila. Ako sada napustite karticu, promjene će se izgubiti. Želite li ipak napustiti karticu bez dovršetka promjena?",
uncompletedRule_apply: "Da",
uncompletedRule_cancel: "Ne, želim ispuniti pravila.",
// expressionSetup: "",
// actionsSetup: ""
uncompletedRule_cancel: "Ne, želim ispuniti pravila."
}
},
// Property Editors
Expand Down Expand Up @@ -1208,8 +1206,6 @@ editorLocalization.locales["hr"] = hrStrings;
// lg.uncompletedRule_text: "You have not completed some of the logical rules. If you leave the tab now, the changes will be lost. Do you still want to leave the tab without completing the changes?" => "Niste dovršili neka logička pravila. Ako sada napustite karticu, promjene će se izgubiti. Želite li ipak napustiti karticu bez dovršetka promjena?"
// lg.uncompletedRule_apply: "Yes" => "Da"
// lg.uncompletedRule_cancel: "No, I want to complete the rules" => "Ne, želim ispuniti pravila."
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// pe.clear: "Clear" => "Jasan"
// pe.set: "Set" => "Skup"
// pe.change: "Change" => "Mijenjati"
Expand Down Expand Up @@ -1625,8 +1621,6 @@ editorLocalization.locales["hr"] = hrStrings;
// colors.tulip: "Tulip" => "Lala"
// colors.brown: "Brown" => "Smeđ"
// colors.green: "Green" => "Zelen"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// names.sharp: "Sharp" => "Oštar"
// names.borderless: "Borderless" => "Bez obruba"
// names.flat: "Flat" => "Stan"
Expand All @@ -1636,13 +1630,9 @@ editorLocalization.locales["hr"] = hrStrings;
// names.threedimensional: "3D" => ".3D"
// ed.translationDeleteLanguage: "Are you certain you wish to delete all strings for this language?" => "Jeste li sigurni da želite izbrisati sve nizove za ovaj jezik?"
// ed.themeResetButton: "Reset theme settings to default" => "Vraćanje zadanih postavki teme na zadano"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// theme.placeholderColor: "Placeholder color" => "Boja rezerviranog mjesta"
// ed.themeSettings: "Theme Settings" => "Postavke teme"
// ed.themeSettingsTooltip: "Open theme settings" => "Otvaranje postavki teme"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// pe.resetToDefaultCaption: "Reset" => "Brisanje"
// pv.file: "Local files" => "Lokalne datoteke"
// pv.camera: "Camera" => "Kamera"
Expand All @@ -1652,17 +1642,13 @@ editorLocalization.locales["hr"] = hrStrings;
// pe.fastEntryChoicesMinCountError: "Please enter at least {0} items" => "Unesite najmanje {0} stavki"
// lg.question_resetValueName: "Reset question value" => "Vrati izvornu vrijednost pitanja"
// lg.column_resetValue: "Reset column value" => "Vraćanje izvorne vrijednosti stupca"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// pe.markRequired: "Mark as required" => "Označi kao obavezno"
// pe.removeRequiredMark: "Remove the required mark" => "Uklanjanje potrebne oznake"
// p.resetValueIf: "Reset value if" => "Vrati izvornu vrijednost ako"
// lg.question_setValueName: "Set question value" => "Postavljanje vrijednosti pitanja"
// lg.column_resetValueName: "Reset column value" => "Vraćanje izvorne vrijednosti stupca"
// lg.column_setValueName: "Set column value" => "Postavljanje vrijednosti stupca"
// lg.setValueExpressionPlaceholder: " An expression whose result will be assigned to the target question." => " Izraz čiji će rezultat biti dodijeljen ciljnom pitanju."
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// survey.title: "Title" => "Naslov"
// page.title: "Title" => "Naslov"
// p.setValueIf: "Set value if" => "Postavi vrijednost ako"
Expand Down Expand Up @@ -1695,13 +1681,9 @@ editorLocalization.locales["hr"] = hrStrings;
// lg.question_setValueText: "assign value: {1} to question: {0}" => "Dodijeli vrijednost: {1} pitanje: {0}"
// lg.column_resetValueText: "reset cell value for column: {0}" => "Vrati izvornu vrijednost ćelije za stupac: {0}"
// lg.column_setValueText: "assign cell value: {1} to column: {0}" => "Dodijeli vrijednost ćelije: {1} stupcu: {0}"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// ed.surveyJsonExportButton: "Export" => "Izvoz"
// ed.surveyJsonImportButton: "Import" => "Uvoz"
// ed.surveyJsonCopyButton: "Copy to clipboard" => "Kopiraj u međuspremnik"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// pe.filePlaceholder: "File placeholder text" => "Tekst rezerviranog mjesta datoteke"
// pe.photoPlaceholder: "Photo placeholder text" => "Tekst rezerviranog mjesta za fotografije"
// pe.fileOrPhotoPlaceholder: "File or photo placeholder text" => "Tekst rezerviranog mjesta za datoteku ili fotografiju"
Expand All @@ -1713,14 +1695,10 @@ editorLocalization.locales["hr"] = hrStrings;
// theme.coverDescriptionForecolor: "Description forecolor" => "Opis prednje boje"
// ed.themeResetConfirmation: "Do you really want to reset the theme? All your customizations will be lost." => "Želite li zaista resetirati temu? Sve prilagodbe bit će izgubljene."
// ed.themeResetConfirmationOk: "Yes, reset the theme" => "Da, resetirajte temu"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// theme.groupBackground: "Background" => "Pozadina"
// theme.groupAppearance: "Appearance" => "Izgled"
// theme.coverDescriptionForecolor: "Description forecolor" => "Opis prednje boje"
// theme.coverInheritWidthFromContainer: "Fit to container" => "Prilagodi spremniku"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// signaturepad.showPlaceholder: "Show the placeholder" => "Pokaži rezervirano mjesto"
// signaturepad.placeholder: "Placeholder text" => "Tekst rezerviranog mjesta"
// theme.surveyDescription: "Survey description font" => "Font opisa upitnika"
Expand All @@ -1731,8 +1709,6 @@ editorLocalization.locales["hr"] = hrStrings;
// ed.saveThemeTooltip: "Save Theme" => "Spremi temu"
// lg.page_requireName: "Make page required" => "Učini stranicu obaveznom"
// lg.panel_requireName: "Make page required" => "Učini stranicu obaveznom"
// lg.expressionSetup: "" => ""
// lg.actionsSetup: "" => ""
// signaturepad.signatureWidth: "Signature area width" => "Širina područja potpisa"
// signaturepad.signatureHeight: "Signature area height" => "Visina područja potpisa"
// signaturepad.signatureAutoScaleEnabled: "Auto-scale the signature area" => "Automatsko mijenjanje područja potpisa"
Expand Down
Loading

0 comments on commit 443e8e9

Please sign in to comment.