Skip to content
Snippets Groups Projects
Commit fc3f9660 authored by catch's avatar catch
Browse files

Issue #1392192 by Garrett Albright: Fixed st() still requires profile to be...

Issue #1392192 by Garrett Albright: Fixed st() still requires profile to be selected before translating.
parent 72fdf526
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1100,7 +1100,7 @@ function st($string, array $args = array(), array $options = array()) {
if (!isset($strings)) {
$strings = array();
if (isset($install_state['parameters']['profile']) && isset($install_state['parameters']['langcode'])) {
if (isset($install_state['parameters']['langcode'])) {
// If the given langcode was selected, there should be at least one .po file
// with its name ending in install.{$install_state['parameters']['langcode']}.po
// This might or might not be the entire filename. It is also possible
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment