Fix syntax error with fr translations

This commit is contained in:
Christian M. Adams 2021-03-24 15:47:16 -04:00
parent c7de869a07
commit b729377a2c
No known key found for this signature in database
GPG Key ID: F41796178F693C8E
3 changed files with 11 additions and 3 deletions

View File

@ -17,6 +17,12 @@ import Background from './components/Background';
import NotFound from './screens/NotFound';
import Login from './screens/Login';
import en from './locales/en/messages';
import es from './locales/es/messages';
import fr from './locales/fr/messages';
import ja from './locales/ja/messages';
import nl from './locales/nl/messages';
import zh from './locales/zh/messages';
import { isAuthenticated } from './util/auth';
import { getLanguageWithoutRegionCode } from './util/language';
import { dynamicActivate, locales } from './i18nLoader';
@ -78,6 +84,7 @@ const ProtectedRoute = ({ children, ...rest }) =>
);
function App() {
const catalogs = { en, es, fr, ja, nl, zh };
let language = getLanguageWithoutRegionCode(navigator);
if (!Object.keys(locales).includes(language)) {
// If there isn't a string catalog available for the browser's

View File

@ -2504,8 +2504,8 @@ msgid "Enabled Variable"
msgstr "Variable activée"
#: src/screens/Template/shared/JobTemplateForm.jsx:517
msgid "Enables creation of a provisioning callback URL. Using the URL a host can contact BRAND_NAME and request a configuration update using this job template."
msgstr "Active la création d'une URL de rappel dexécution. Avec cette URL, un hôte peut contacter {{BRAND_NAME}} et demander une mise à jour de la configuration à l'aide de ce modèle de job."
msgid "Enables creation of a provisioning callback URL. Using the URL a host can contact {brandName} and request a configuration update using this job template."
msgstr "Active la création d'une URL de rappel dexécution. Avec cette URL, un hôte peut contacter {brandName} et demander une mise à jour de la configuration à l'aide de ce modèle de job."
#: src/components/AdHocCommands/AdHocDetailsStep.jsx:244
msgid "Enables creation of a provisioning callback URL. Using the URL a host can contact {brandName} and request a configuration update using this job template"

View File

@ -13,6 +13,7 @@ import {
} from '@patternfly/react-core';
import ContentError from '../../../components/ContentError';
import ContentLoading from '../../../components/ContentLoading';
import { BrandName } from '../../../variables';
import AnsibleSelect from '../../../components/AnsibleSelect';
import { TagMultiSelect } from '../../../components/MultiSelect';
import useRequest from '../../../util/useRequest';
@ -545,7 +546,7 @@ function JobTemplateForm({
 
<Popover
content={i18n._(t`Enables creation of a provisioning
callback URL. Using the URL a host can contact BRAND_NAME
callback URL. Using the URL a host can contact ${BrandName}
and request a configuration update using this job
template.`)}
/>