Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-7008: Fixed broken Drupal core localization URL #402

Merged
merged 2 commits into from
Nov 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
"[#UHF-920] Token for base URL (https://www.drupal.org/project/drupal/issues/1088112).": "https://www.drupal.org/files/issues/2020-10-06/1088112-63.patch",
"[#UHF-3812] Ajax exposed filters not working for multiple instances of the same Views block placed on one page (https://www.drupal.org/project/drupal/issues/3163299). Re-rolled for hel.fi": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/83eb65d99327bf9c9c67ca4f7c1220ae3d8e2eae/patches/drupal-3163299-ajax-exposed-filters-views-block-on-same-page.patch",
"[#UHF-3087] Non-published menu links as parent (https://www.drupal.org/project/drupal/issues/2807629)": "https://www.drupal.org/files/issues/2021-07-09/2807629-45.patch",
"[#UHF-4325] Strip whitespaces from twig debug comments": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/f7c0e380e2deb9a1b46bdf779fb27a945b466575/patches/drupal_core_strip_debug_mode_whitespaces_9.3.x.patch"
"[#UHF-4325] Strip whitespaces from twig debug comments": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/f7c0e380e2deb9a1b46bdf779fb27a945b466575/patches/drupal_core_strip_debug_mode_whitespaces_9.3.x.patch",
"[#UHF-7008] Core localization file download URL is wrong (https://www.drupal.org/project/drupal/issues/3022876)": "https://git.drupalcode.org/project/drupal/-/commit/40a96136b2dfe4322338508dffa636f6cb407900.patch",
"[#UHF-7008] Add multilingual support for caching basefield definitions (https://www.drupal.org/project/drupal/issues/3114824)": "https://www.drupal.org/files/issues/2020-02-20/3114824_2.patch",
"[#UHF-7008] Admin toolbar and contextual links should always be rendered in the admin language (https://www.drupal.org/project/drupal/issues/2313309)": "https://www.drupal.org/files/issues/2022-11-04/2313309-152.patch"
},
"drupal/default_content": {
"https://www.drupal.org/project/default_content/issues/2640734#comment-14638943": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/main/patches/default_content_2.0.0-alpha2-2640734_manual_imports-e164a354.patch"
Expand Down
10 changes: 10 additions & 0 deletions helfi_features/helfi_base_config/helfi_base_config.install
Original file line number Diff line number Diff line change
Expand Up @@ -264,3 +264,13 @@ function helfi_base_config_update_9012() {
\Drupal::messenger()->addMessage('Updated Site email address to point to [email protected].');
}
}

/**
* Fix Drupal core localization file download URLs.
*/
function helfi_base_config_update_9013() {
$keys = \Drupal::keyValue('locale.translation_status');
if ($keys->has('drupal')) {
$keys->delete('drupal');
}
}
3 changes: 3 additions & 0 deletions helfi_features/helfi_content/translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,9 @@ msgstr "Oletus"
msgid "Menu link title"
msgstr "Valikon linkin otsikko"

msgid "Meta information"
msgstr "Metatiedot"

msgid "Metatags"
msgstr "Metatunnisteet"

Expand Down
6 changes: 0 additions & 6 deletions helfi_features/helfi_tpr_config/translations/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,6 @@ msgstr ""
msgid "Lower content region"
msgstr "Alempi sisältöalue"

msgid "Meta information"
msgstr "Metatiedot"

msgid "Metatags"
msgstr "Metatunnisteet"

msgid "Next ›"
msgstr "Seuraava ›"

Expand Down