1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/templates
0ko e997cbc8d5 Rename repo_updated to repo_updated_v7 to prevent regressions (#4117)
Currently this string has different amount of placeholders in v8 and v7 because https://codeberg.org/forgejo/forgejo/pulls/3837 was not backported to v7.

### The problem

This string is currently [not translated](https://translate.codeberg.org/translate/forgejo/forgejo/en/?checksum=405b09ee2c2371d4) in every language. For example, when UI is in Slovenian, it would be in English.
But if someone translates it into Slovenian, it will be something like `Posodobljen %s`. Then we merge the Weblate PR, @forgejo-backport-action creates a backport and we forget to check this backport for presence of `repo_updated`. We ship this as a point release of our LTS v7, and then Slovenian users will literally see `Posodobljen %s` in the UI instead of `Posodobljen včeraj`.

By renaming this key in v7 we protect it from these kinds of regressions.

### Test

Go to Explore, look at repo entries, they should contain relative time.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4117
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: twenty-panda <twenty-panda@noreply.codeberg.org>
2024-06-14 13:26:46 +00:00
..
admin Fix some URLs whose sub-path is missing (#31289) 2024-06-09 12:05:43 +02:00
api/packages/pypi Update templates/api/packages/pypi/simple.tmpl 2024-04-12 22:23:58 +00:00
base Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Fix some URLs whose sub-path is missing (#31289) 2024-06-09 12:05:43 +02:00
explore Rename repo_updated to repo_updated_v7 to prevent regressions (#4117) 2024-06-14 13:26:46 +00:00
mail Rename Str2html to SanitizeHTML and clarify its behavior (followup) (take 2) 2024-05-13 18:38:48 +00:00
org [v7.0/forgejo] Org buttons add missing vertical padding (#4088) 2024-06-11 06:26:07 +00:00
package templates: Be more forgiving about missing package metadata 2024-05-10 18:10:25 +00:00
projects Remove .segment from .project-column (#31204) (#31239) 2024-06-09 11:47:34 +02:00
repo Rename repo_updated to repo_updated_v7 to prevent regressions (#4117) 2024-06-14 13:26:46 +00:00
shared Optimize runner-tags layout to enhance visual experience (#31258) (#31263) 2024-06-09 11:57:05 +02:00
status Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
swagger Simplify mirror repository API logic (#30963) 2024-05-24 15:15:07 +02:00
user Fix some URLs whose sub-path is missing (#31289) 2024-06-09 12:05:43 +02:00
webhook [FEAT] sourcehut webhooks 2024-04-05 19:36:04 +00:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
install.tmpl Fix some UI problems (install) (#30854) 2024-05-16 13:22:15 +00:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00