Skip to content

202412 Upstream merge - #261

Merged
erictheise merged 2161 commits into
stagingfrom
20241119-upstream
Dec 20, 2024
Merged

erictheise merged 2161 commits into
stagingfrom
20241119-upstream

Conversation

@erictheise

Copy link
Copy Markdown

I promised to open a PR around this work today. There remain issues with this draft status PR.

The timeslider doesn't load. There are CORS issues with ohm-inspector and other URLs that shouldn't be in play. Next steps are to track these down:

I am concerned about :oauth2-related tests that are failing. I have not had time yet to look at oauth2 functionality.

I believe most translation strings are in sync; one exception relates to privacy-policy where we depart from upstream's format and this should be straightforward to remedy.

mmd-osm and others added 30 commits September 15, 2024 11:23
Namefinder was introduced in commit d2bd786 and later removed in fcebfd1. Since then, these translation strings are unused.

Analysis using: `git log -p -S "towns" -- ':(exclude)*config/locales/*.yml' ':(exclude)*vendor/assets/*'`
Also add Ubuntu 24.04 and drop 20.04 as 24.04 is needed for
ruby 3.1 without rvm so we should test it.
Added greeting 'Hi {user display name},' to friendship notification email. As a side effect, user_mailer.friendship_notification.hi is not anymore reported as unused.
Removed unused translation keys changesets.{changeset.anonymous, no_such_entry.title} from en.yml. .anonymous was added in fddda4e and was stopped being used in 3e305fb. .title was added in f0764d3 but never used.
@erictheise
erictheise marked this pull request as ready for review December 18, 2024 22:47
… to be in settings.local.yml as they should be.
… two pressures.

It is easier to track upstream changes to openstreetmap-website when there's less potential for
merge conflicts. settings.yml is now identical to upstream and all OHM modifications are
made in settings.local.yml; that file is not checked in to source control but a fleshed-out
skeleton is available at example.settings.local.yml. What information is in there is publicly
available with the exception of OAuth IDs, and those are generated per installation.

These two files should be identical to those in images/web/config/ of the ohm-deploy repo and
they are manipulated by the start.sh script in the parent directory. Those scripts have been
modified so that they use the proper settings file for variable substitution.
@erictheise
erictheise merged commit 6e84639 into staging Dec 20, 2024
@Nikerabbit

Copy link
Copy Markdown

This is such a huge update to translations that I cannot process them manually to check for issues. I'm just blanket importing updates to translatewiki.net even if they are incorrect (e.g. some translations being updated From OpenHistoricalMap to OpenStreetMap).

@Mahabarata

Copy link
Copy Markdown

Big problem with this work : rather that to change original English message; many translated messages have been changed (and badly).

One example here:

According to this: https://translatewiki.net/wiki/Support#OpenHistoricalMap_and_Fuzzybot, it seems that the problem comes from your side, not from translatewiki and its bot.

Could you fix all these bad translations?

@erictheise

Copy link
Copy Markdown
Author

@Nikerabbit & @Mahabarata: over the next few days I'll revert the translations to what they were before the upstream merge. I apologize for the disruption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.