-
Notifications
You must be signed in to change notification settings - Fork 85
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
missing translation of Nutrition Information #495
Comments
In general this should be translatable. In the vue files the translation is prepared. This is most probably an issue with the parser of transifex. |
@christianlupus yes, when editing the nutrions are translated ("Zuckergehalt" in 1st screenshot) as in your linked file cookbook/src/components/RecipeEdit.vue. Only "Select option" is not translated, perhaps a nextcloud issue, not a cookbook issue. But in the view-mode the nutrions are not translated. Maybe because the t-functions inside the titles are surrounded by ", cookbook/src/components/RecipeView.vue Line 62 in 493d21e
|
@cloud2018 No I doubt that. The I just checked and found that the translations seem to be exported from the vue files correctly but are somehow not transferred to transifex. I opened an issue there and now we have to see what's happening next. |
I just found a workaround for the problem but that needs a complete overhaul of the code base. In fact, after the translation no more arguments should be given. Exampe see the upstream bug report. |
So you’re saying that writing
as
should solve the issue as long as the upstream bug is present? Then, I would update those to have a quick fix. |
Yes, this is correct. In the example above the regex currently in use by the transifex integration will use One remark: I am just working on issue #532 and #531. During the run of prettier (part of it), the suggested changes from you will be auto-generated. That would speed up that refactoring process much. |
Alright, I leave you to it then! |
Is there a workaround for untranslated "Select option" from screenhot 1, too? |
It wouldn’t’ve worked for “Select option” but should now. |
With #607 the missing translations should be available by the next nightly run of the nextcloud bot. I will close here as we have to wait for the next release to get the translations into the app. |
Description
Screenshot 1
![cb1](https://user-images.githubusercontent.com/34692335/104129071-476f1380-536b-11eb-84c4-a554edb1da23.png)
Screenshot 2
![cb2](https://user-images.githubusercontent.com/34692335/104129072-4b029a80-536b-11eb-93e2-842393e5aee4.png)
The text was updated successfully, but these errors were encountered: