mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
Fix syntax error with fr translations
This commit is contained in:
parent
c7de869a07
commit
b729377a2c
@ -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
|
||||
|
||||
@ -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 d’exé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 d’exé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"
|
||||
|
||||
@ -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.`)}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user