fix(project-editor): validate footer payment/social links, add footer logo picker
- header-section: raw checkboxes -> app-toggle, wrap in SectionCard - footer-section: replace unvalidated pipe-delimited textareas for payment icons/social links with KeyValueEditor + MediaPickerComponent, add missing footer logo picker, validate social link URLs (http/https), wrap in SectionCard - i18n: add footer logo / key-value-editor labels and URL validation message Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -452,6 +452,15 @@ export const hy: Translations = {
|
||||
copyright: 'Copyright',
|
||||
paymentIcons: 'Վճարման icon-ներ',
|
||||
socialLinks: 'Սոցիալական հղումներ',
|
||||
footerLogo: 'Footer-ի լոգո',
|
||||
addPaymentIcon: 'Ավելացնել վճարային icon',
|
||||
removePaymentIcon: 'Հեռացնել',
|
||||
iconAltLabel: 'Icon-ի պիտակ',
|
||||
addSocialLink: 'Ավելացնել սոցիալական հղում',
|
||||
removeSocialLink: 'Հեռացնել',
|
||||
socialLinkLabel: 'Հարթակ',
|
||||
socialLinkUrl: 'URL',
|
||||
invalidUrl: 'Մուտքագրեք վավեր URL, որը սկսվում է http:// կամ https://։',
|
||||
createPage: 'Ստեղծել էջ',
|
||||
deletePage: 'Ջնջել էջը',
|
||||
pageId: 'Էջի ID',
|
||||
@@ -590,6 +599,9 @@ export const hy: Translations = {
|
||||
copyrightDesc: 'Copyright տողը՝ ցուցադրվում է յուրաքանչյուր էջի ներքևում։',
|
||||
paymentIconsDesc: 'Մեկ վճարային icon մեկ տողում (պատկերի URL և պիտակ)՝ ցուցադրվում է footer-ում։',
|
||||
socialLinksDesc: 'Մեկ սոցիալական հղում մեկ տողում (հարթակ և URL)՝ ցուցադրվում է footer-ում։',
|
||||
footerLogoDesc: 'Footer-ում ցուցադրվող լոգո, եթե տարբերվում է header-ի լոգոյից։',
|
||||
iconAltLabelDesc: 'Վճարային icon-ի այլընտրանքային տեքստ՝ մատչելիության համար։',
|
||||
socialLinkUrlDesc: 'Սոցիալական պրոֆիլի ամբողջական URL, պետք է սկսվի http:// կամ https://-ով։',
|
||||
staticPagesFieldDesc: 'Ստատիկ էջեր (մեր մասին, պայմաններ, գաղտնիության քաղաքականություն և այլն), որոնց հղում է անում footer-ը։',
|
||||
sectionVisibleDesc: 'Արդյո՞ք գլխավոր էջի այս սեկցիան ցուցադրվում է գնորդներին։',
|
||||
layoutStrategyLabel: 'Դասավորության ռազմավարություն',
|
||||
|
||||
Reference in New Issue
Block a user