Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#12096 closed defect (bug) (fixed)

String in trunk which can't serve locales with name inflections

Reported by: Besnik Owned by: nbachiyski
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: I18N Keywords:
Focuses: Cc:


Hello, there is string in trunk which can't serve locales with name inflections:

<strong>Note:</strong><br />Deleting a %1$s does not delete the objects in that %1$s. Instead, objects that were only assigned to the deleted %1$s are set to the %1$s <strong>%2$s</strong>.

I'm assuming that %1$s refers to post, category, slug, blog. These, for some locale, might have genders, and different ones. So the string translations follow their inflections. For example, using "blog" as a variable:

<strong>Shënim:</strong><br />Fshirja e një blogu nuk i fshin objektet në atë blog. Në vend të kësaj, objektet që i përshoqëroheshin vetëm blogut TË fshirë i kalohen blogut <strong>%2$s</strong>.

%1$s = blogu
%1$s = blog
%1$s = blogut

Using "category" is similar but introduce another change, from "blogut TË fshirë" to "kategorisë SË fshirë""

<strong>Shënim:</strong><br />Fshirja e një kategorie nuk i fshin objektet në atë kategori. Në vend të kësaj, objektet që i përshoqëroheshin vetëm kategorisë SË fshirë i kalohen kategorisë <strong>%2$s</strong>.

%1$s = kategorie
%1$s = kategori
%1$s = kategorisë

P.S. Capitals TË, SË used only for better visibility

Change History (2)

comment:1 @dd326 years ago

That string refers to Categories only i believe (But was templated badly when i modified the file)

The strings for the Taxonomy pages (Tags/Categories/etc) are in flux right now pending #11838 too. The strings need to be generalised so as to apply to each taxonomy better.

comment:2 @dd326 years ago

  • Milestone changed from Unassigned to 3.0
  • Resolution set to fixed
  • Status changed from new to closed

File was removed in [12942] along with the string.

The original string will go back in a commit again this week.

Would appreciate your comments on these translations though: http://core.trac.wordpress.org/attachment/ticket/11838/11838.crazy.translations.diff (See a comment on #11838 about it)

Note: See TracTickets for help on using tickets.