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

Already on GitHub? Sign in to your account

_s: Provide a context for the comments title strings. #135

Merged
merged 1 commit into from Jan 15, 2013

Conversation

Projects
None yet
1 participant
Member

obenland commented Jan 15, 2013

There are languages that have more than one plural form. Sometimes these
languages need to add the %1$s placeholder in the original singular
version to help differentiate between these plural forms.

In case the original singular version ('One thought on
“%2$s”' in this case) is used elsewhere, the translation
with the faulty %1$s will be used, possibly ending up with the
placeholder not being replaced.

The context will prevent that from happening by seperating the strings.

@obenland obenland _s: Provide a context for the comments title strings.
There are languages that have more than one plural form. Sometimes these
languages need to add the %1$s placeholder in the original singular
version to help differentiate between these plural forms.

In case the original singular version ('One thought on
“%2$s”' in this case) is used elsewhere, the translation
with the faulty %1$s will be used, possibly ending up with the
placeholder not being replaced.

The context will prevent that from happening by seperating the strings.
6793718

@obenland obenland added a commit that referenced this pull request Jan 15, 2013

@obenland obenland Merge pull request #135 from obenland/number-context
_s: Provide a context for the comments title strings.

There are languages that have more than one plural form. Sometimes these
languages need to add the %1$s placeholder in the original singular
version to help differentiate between these plural forms.

In case the original singular version ('One thought on
“%2$s”' in this case) is used elsewhere, the translation
with the faulty %1$s will be used, possibly ending up with the
placeholder not being replaced.

The context will prevent that from happening by seperating the strings.
84cc7f7

@obenland obenland merged commit 84cc7f7 into Automattic:master Jan 15, 2013

@obenland obenland deleted the unknown repository branch Dec 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment