Closed andy5995 closed 6 years ago
Looks like a much better way, especially if we are going to have many translations in the future. Are you going to make this change?
combine the string (so "lines" and "modified" will be on a single line in a po file)
I realize this actually isn't too relevant in this case. "modified" refers to the file, not the lines.
https://github.com/shnupta/bric/blob/8f79d01e2f8a6dd9915b409d3b7dd4bb808bd976/src/bric.c#L1006
I suggest 2 things happen to this string.
Right now, essentially the string is "combined", but for it to appear as a single translatable line in a po file, in the source code, the string must not be broken apart.
It will require adding a few extra lines of code, but it's really the preferred method.
For more info, see https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html#Plural-forms