?
avatar brianteeman
brianteeman
12 Jun 2018

https://docs.joomla.org/J3.x:Making_a_Language_Pack_for_Joomla#Working_with_plurals

Looking at the examples can the _0 string ever be used.
COM_BANNERS_BANNERS_N_ITEMS_CHECKED_IN_0="No banner checked in"

avatar brianteeman brianteeman - open - 12 Jun 2018
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jun 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Jun 2018
avatar mbabker
mbabker - comment - 12 Jun 2018

In theory yes, for most of the cases in core where we have one if it does get used it would probably indicate some kind of issue though.

avatar brianteeman
brianteeman - comment - 12 Jun 2018

From what I can see in the core IF they were used then they

  1. Should be an error message
  2. We are missing a lot of them
avatar mbabker
mbabker - comment - 12 Jun 2018

Sounds about right.

avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Jun 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Jun 2018
Category com_languages
avatar brianteeman
brianteeman - comment - 12 Jun 2018

@Bakual any thoughts on this?

avatar Bakual
Bakual - comment - 12 Jun 2018

I honestly don't know if the zero form is used anywhere. Maybe if you can select multiple items for a task and the count is then depending on if something had to be done or not. Eg when you select 10 items to publish and all of them were already published it could say no items published, this kind of thing.
If that could happen it would have to be checked on a case by case basis by looking at the code and/or trying.

avatar brianteeman
brianteeman - comment - 14 Jun 2018

@Bakual I tried that - if you select 10 published items and try to publish them you get a message 10 items published

avatar brianteeman brianteeman - change - 14 Jun 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-06-14 10:08:38
Closed_By brianteeman
avatar brianteeman brianteeman - close - 14 Jun 2018
avatar brianteeman
brianteeman - comment - 14 Jun 2018

See #20752

Add a Comment

Login with GitHub to post a comment