•  » Beta testing
  •  » Piwigo 15.0.0beta1 - misc appearance items

#1 2024-07-09 21:55:12

windracer
Member
St. Pete, FL
2014-12-28
526

Piwigo 15.0.0beta1 - misc appearance items

In Batch Manager, the new re-designed single mode, there's a mispelling (or maybe missing translation)?

https://www.windracer.net/outgoing/piwigo/pwg15-batch-single-mode.jpg

Also, I just noticed this, but it's also in Piwigo 14.4, can I change how the date blocks on photos are formatted, removing the extraneous "the"?

https://www.windracer.net/outgoing/piwigo/pwg15-posted-the.jpg

Offline

 

#2 2024-07-10 18:35:46

erAck
Only trying to help
2015-09-06
2210

Re: Piwigo 15.0.0beta1 - misc appearance items

The Posted the %s is in admin/picture_modify.php line 299

Code:

  'date' => l10n('Posted the %s', format_date($row['date_available'], array('day', 'month', 'year'))),

and mismatches l10n anyway, as all translations correctly have only $lang['Posted %s'] as key (so the string actually is never translated).


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2024-07-11 09:44:41

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13911

Re: Piwigo 15.0.0beta1 - misc appearance items

Offline

 

#4 2024-07-11 15:19:39

windracer
Member
St. Pete, FL
2014-12-28
526

Re: Piwigo 15.0.0beta1 - misc appearance items

It looks like that issue (from 2021? wow) started as the "Posted the" issue and then diverged into date formatting? Any chance that proposed change/fix will make it into the codebase?

Offline

 

#5 2024-07-11 19:34:30

windracer
Member
St. Pete, FL
2014-12-28
526

Re: Piwigo 15.0.0beta1 - misc appearance items

Looks like the "Liste" is hardcoded in admin/themes/default/template/batch_manager_unit.tpl:

Code:

 <legend style="padding: 1em;">
                <span class='icon-menu icon-blue'></span>
                Liste
                <span class="count-badge"> {count($all_elements)}</span>
        </legend>

Offline

 

#6 2024-07-15 10:24:48

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13911

Re: Piwigo 15.0.0beta1 - misc appearance items

windracer wrote:

It looks like that issue (from 2021? wow) started as the "Posted the" issue and then diverged into date formatting? Any chance that proposed change/fix will make it into the codebase?

absolutely, we're going to do just that : separated the tiny "Posted the" Vs "Posted on" problem and the much bigger problem of internation date formatting.

Offline

 
  •  » Beta testing
  •  » Piwigo 15.0.0beta1 - misc appearance items

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact