Loading...
 
Skip to main content

Peculiar layout in tiki-calendar_edit_item.php conflicts with localization

Status
Open
Subject
Peculiar layout in tiki-calendar_edit_item.php conflicts with localization
Version
18.x
21.x Regression
23.x
Category
  • Consistency
  • Upgrade Blocker
  • Easy for Newbie Dev
  • Less than 30-minutes fix
Feature
Calendar
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(1)
Description

The GUI layout in tiki-calendar_edit_item.php breaks if localization comes into play. Look at the screenshot (attachment) to see these issues, that surface when you want to introduce a repeated event. They are:
a) in "monthly" all ordinals below 10 have a leading zero, which is unnessary. It would do no harm, but surprisingly the leading 0 is separated by the number with a space, which together render wider than the space that was allocated for that, leaving only the leading 0 visible... There is no dot, although ordinals in German have a dot "sixth" is spelled "6." in German.
b) in "yearly", where you can for instance define "every 6th of a month", there is the dot, but as a text input field? Actually you cannot write in there, but is is layouted as a text input field (white background). And here also the width is highly insufficient.

c) I cannot translate the "End period" string. Even if I add the array_merge to custom.php (see the bug report for that). And in tiki-calendar_edit_item.php I do see tr in curly braces, so it should respond to language.php and custom.php, but it doesn't?

Files
  1. Bildschirmfoto Vom 2020 07 09 18 12 33
  2. Bildschirmfoto Vom 2020 07 09 18 17 37
  3. Bildschirmfoto Vom 2021 02 11 19 49 20
Importance
6
Easy to solve?
10 easy
Priority
60
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7413
Created
Thursday 09 July, 2020 16:14:49 UTC
by hman
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages