Just for future reference, I am not seeing the duplicate string anymore.
There are two similar strings, but one has a typo (lose vs. loss):
4657:msgid "You did not save the changes you made. \\nLeaving this page
will result in the loss of data."
4979:msgid "You did not save the changes you made. \\nLeaving this page
will result in the lose of data."
A `msgfmt -c habari.pot` just now gave me the following output:
msgfmt: habari.pot: warning: PO file header fuzzy
warning: older versions of msgfmt will give an error on
this
habari.pot:8: invalid nplurals value
habari.pot:8: some header fields still have the initial default value
msgfmt: found 2 fatal errors
I don't know what fuzzy mode does. I also have no clue what the plurals
value is supposed to contain. Several of the default headers are bad...
particularly things like the revision date.
Looking at the history of file [1], it looks like moeffju tried to make a
couple of manual changes to it about a month ago. I'm not sure if those
were purely for testing with Transifex or not, but they were obviously
overwritten the next time the automated script ran. There's no explanation
of why in the commit messages.
1: https://github.com/habari/system/commits/master/locale/habari.pot
On Mon, Jul 22, 2013 at 9:12 AM, Matt Read <[email protected]> wrote:
> This could be due to JS strings and PHP strings. first we grab the PHP
> strings, then we grab (and append, iirc) the JS as perl strings (perl works
> best for JS).
>
> My guess would be that string is both in PHP and JS. I'll try and look
> into the context thing.
>
>
> On 04/07/2013 10:05 PM, Chris Meller wrote:
>
>
>
> ---------- Forwarded message ----------
> From: *Transifex support*
> Date: Thursday, July 4, 2013
> Subject: [Transifex] Automatic update of the source file of system.head in
> Habari failed permanently
> To: [email protected]
>
>
> __________________________________
> Type your response ABOVE THIS LINE to reply
> ------------------------------
> *Chris Meller*
> *Subject:* Fwd: [Transifex] Automatic update of the source file of
> system.head in Habari failed permanently
> ------------------------------
> JUL 04, 2013 | 05:30PM EEST
> *Transifex Team* replied:
>
> Hey Chris,
>
> Running msgfmt -c against it shows that there is a duplicate msgid
> 1<#1404f1921e8c46fe_1400682ab27300ed_13faa173ec2ff5b4_fn1>,
> which are only allowed if you also provide different msgctxt (context)
> values to distinguish them.
>
> Best regards,
> Themis
>
> 1 <#1404f1921e8c46fe_1400682ab27300ed_13faa173ec2ff5b4_fn1> You did not
> save the changes you made. \\nLeaving this page will result in the loss of
> data.
> ------------------------------
> JUL 04, 2013 | 05:18PM EEST
> Original message
> * Chris * wrote:
>
> I haven't been able to find any details on why this isn't updating. Can
> someone take a quick look and let me know what the problem is?
>
> Thanks!
>
> ---------- Forwarded message ----------
> From: Transifex <[email protected]>
> Date: Thu, Jul 4, 2013 at 4:43 AM
> Subject: [Transifex] Automatic update of the source file of system.head in
> Habari failed permanently
> To: [email protected]
>
>
> **
> Hi Chris Meller, you have a notification from Transifex.
>
> We have not been able to update the source file for the resource
> system.head<
> https://www.transifex.com/projects/p/habari/resource/systemhead/edit/>of
> the project
> Habari <https://www.transifex.com/projects/p/habari/> for some time now.
> So, we are disabling this feature.
>
> The URL we used to update the source file from was
> https://github.com/habari/system/raw/master/locale/habari.pot.
>
> The exact error we encountered was:
>
> There is a syntax error in your file
> --
> The Transifex Robot <https://www.transifex.com>
> Modify notification settings<https://www.transifex.com/settings/notices/>
>
> ------------------------------
> This message was sent to [email protected] in reference to Case #:
> 1251.
> [[16c1665853656a7c624ce3d9c5bd5871bac8cd75-128935429]]
> --
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/habari-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "habari-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/habari-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "habari-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
---
You received this message because you are subscribed to the Google Groups
"habari-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.