Codeinwp / templates-patterns-collection

21 stars 6 forks source link

Prepare the plugin for localization #384

Open stefan-cotitosu opened 1 month ago

stefan-cotitosu commented 1 month ago

What problem does this address?

We decided to translate the plugin to German, and to achieve this, the following changes need to be applied to the plugin.

What is your proposed solution?

Localize all the strings

Will this feature require documentation? (Optional)

No.

stefan-cotitosu commented 6 days ago

@Soare-Robert-Daniel, please check the following files, as there are many occurrences without the text domain:

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/InstallModal.js#L142-L143


https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/FeedbackNotice.js#L25


https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/Filters.js#L120

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/Filters.js#L156


https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/ImportTemplatesModal.js#L306

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/ImportTemplatesModal.js#L320


https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/Library.js#L392

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/Library.js#L413


https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/ListItem.js#L89

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/ListItem.js#L137

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/ListItem.js#L147

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/ListItem.js#L155


https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/CloudLibrary/PreviewFrame.js#L17


stefan-cotitosu commented 6 days ago

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/Settings/Settings.js#L18

Incorrect text domain

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/Settings/Settings.js#L22


https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/InstallModal.js#L142


https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/assets/src/Components/Search.js#L223


https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/beaver/src/components/preview.js#L27

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/beaver/src/components/preview.js#L36


stefan-cotitosu commented 5 days ago
stefan-cotitosu commented 5 days ago

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/elementor/src/components/templates-content.js#L154

stefan-cotitosu commented 5 days ago

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/onboarding/src/Components/CustomizeControls/ImportOptionsControl.js#L263

https://github.com/Codeinwp/templates-patterns-collection/blob/ac2eda5e0ae8c9772726b13e8000a4cd84d46597/onboarding/src/Components/CustomizeControls/ImportOptionsControl.js#L269