You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched open and closed issues for duplicates.
Feature
Is your feature request related to a problem? Please describe.
Editing POTFILES is not automated at the moment, so if we forget to update POTFILES when adding/removing files that include translatable strings, Gettext Actions will fail.
Describe the solution you'd like
It would be useful if the Gettext Actions can detect added/removed files from a project, check if they include translatable strings (_(), ngettext (), dgettext (), etc.), and if so remove/add the path to them from POTFILES automatically.
Existing work
N/A
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
I'm still not able to work on this but left a regex to detect translatable strings like _("Hello world!") or ngettext ("%i item", "%i items", item_count).printf (item_count) in vala code:
Prerequisites
Feature
Is your feature request related to a problem? Please describe.
![スクリーンショット 2020-06-24 19 36 46](https://user-images.githubusercontent.com/26003928/85540569-1d196b00-b652-11ea-8f5c-188f094b1845.png)
Editing POTFILES is not automated at the moment, so if we forget to update POTFILES when adding/removing files that include translatable strings, Gettext Actions will fail.
Describe the solution you'd like
It would be useful if the Gettext Actions can detect added/removed files from a project, check if they include translatable strings (
_()
,ngettext ()
,dgettext ()
, etc.), and if so remove/add the path to them from POTFILES automatically.Existing work
N/A
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: