Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to copy theme translations #9267

Merged
merged 1 commit into from Jul 13, 2018
Merged

Conversation

vytsci
Copy link
Contributor

@vytsci vytsci commented Jul 5, 2018

While copying theme translations prestashop shows message about non existing themes. It tries to match directory to a theme name. I dunno if its bug on form side, and $from_theme and $to_theme should be directories or prestashop should match names with names rather than directories. This helped to copy most of the translations. but I still received an error message "Unable to copy "/var/www/html/lagaminai/themes/classic/lang/lt.php" to "/var/www/html/lagaminai/themes/***/lang/lt.php""

Questions Answers
Branch? develop
Description? 1.7.4.0 PS version
Type? bug fix
Category? BO
BC breaks? no
Deprecations? no
How to test? Try copying theme translations before and after.

Important guidelines


This change is Reviewable

While copying theme translations prestashop shows message about non existing themes. It tries to match directory to a theme name. I dunno if its bug on form side, and $from_theme and $to_theme should be directories or prestashop should match names with names rather than directories. This helped to copy most of the translations. but I still received an error message "Unable to copy "/var/www/html/lagaminai/themes/classic/lang/lt.php" to "/var/www/html/lagaminai/themes/***/lang/lt.php""
@prestonBot
Copy link
Collaborator

Hello @vytsci!

This is your first pull request on the PrestaShop project. Thank you, and welcome to this Open Source community!

@prestonBot prestonBot added Bug Type: Bug develop Branch labels Jul 5, 2018
@mickaelandrieu mickaelandrieu added the Waiting for QA Status: action required, waiting for test feedback label Jul 9, 2018
@marionf
Copy link
Contributor

marionf commented Jul 10, 2018

Hello @vytsci

Thanks for your contribution :)
I have some warnings:

capture d ecran_37

@marionf marionf added Waiting for author Status: action required, waiting for author feedback and removed Waiting for QA Status: action required, waiting for test feedback labels Jul 10, 2018
@vytsci
Copy link
Contributor Author

vytsci commented Jul 10, 2018

Yes because I didnt fix those. I just changed the lines so PS can see themes as installed. I did not test nor fixed any further errors.

@marionf marionf added QA ✔️ Status: check done, code approved and removed Waiting for author Status: action required, waiting for author feedback labels Jul 10, 2018
@Quetzacoalt91 Quetzacoalt91 added this to the 1.7.5.0 milestone Jul 13, 2018
@Quetzacoalt91 Quetzacoalt91 merged commit 56974f8 into PrestaShop:develop Jul 13, 2018
@Quetzacoalt91
Copy link
Member

Thank you @vytsci

@vytsci
Copy link
Contributor Author

vytsci commented Jul 13, 2018

Sorry, I dont have enough time for full PR. But this is a start and in some cases you end up with what you needed. This is just a hint for PS team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Type: Bug develop Branch QA ✔️ Status: check done, code approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants