1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-21 23:32:27 +00:00

Replace URLs in translations with tokens

(cherry picked from commit 98d60e1a8e9abce6b31b3cdd745eff0fed181458)
This commit is contained in:
Stevie Robinson 2024-02-27 05:30:58 +00:00 committed by Bogdan
parent 119141723a
commit 797e4c773e
16 changed files with 33 additions and 31 deletions

View file

@ -3,8 +3,8 @@ import React, { Component } from 'react';
import Alert from 'Components/Alert';
import PathInput from 'Components/Form/PathInput';
import Button from 'Components/Link/Button';
import Link from 'Components/Link/Link';
import LoadingIndicator from 'Components/Loading/LoadingIndicator';
import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
import ModalBody from 'Components/Modal/ModalBody';
import ModalContent from 'Components/Modal/ModalContent';
import ModalFooter from 'Components/Modal/ModalFooter';
@ -117,7 +117,7 @@ class FileBrowserModalContent extends Component {
className={styles.mappedDrivesWarning}
kind={kinds.WARNING}
>
Mapped network drives are not available when running as a Windows Service, see the <Link className={styles.faqLink} to="https://wiki.servarr.com/lidarr/faq">FAQ</Link> for more information.
<InlineMarkdown data={translate('MappedNetworkDrivesWindowsService', { url: 'https://wiki.servarr.com/lidarr/faq#why-cant-lidarr-see-my-files-on-a-remote-server' })} />
</Alert>
}

View file

@ -7,8 +7,8 @@ import FormInputGroup from 'Components/Form/FormInputGroup';
import FormLabel from 'Components/Form/FormLabel';
import ProviderFieldFormGroup from 'Components/Form/ProviderFieldFormGroup';
import Button from 'Components/Link/Button';
import Link from 'Components/Link/Link';
import SpinnerErrorButton from 'Components/Link/SpinnerErrorButton';
import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
import ModalBody from 'Components/Modal/ModalBody';
import ModalContent from 'Components/Modal/ModalContent';
import ModalFooter from 'Components/Modal/ModalFooter';
@ -52,12 +52,13 @@ function EditSpecificationModalContent(props) {
fields && fields.some((x) => x.label === translate('CustomFormatsSpecificationRegularExpression')) &&
<Alert kind={kinds.INFO}>
<div>
<div dangerouslySetInnerHTML={{ __html: 'This condition matches using Regular Expressions. Note that the characters <code>\\^$.|?*+()[{</code> have special meanings and need escaping with a <code>\\</code>' }} />
{'More details'} <Link to="https://www.regular-expressions.info/tutorial.html">{'Here'}</Link>
<InlineMarkdown data={translate('ConditionUsingRegularExpressions')} />
</div>
<div>
{'Regular expressions can be tested '}
<Link to="http://regexstorm.net/tester">Here</Link>
<InlineMarkdown data={translate('RegularExpressionsTutorialLink', { url: 'https://www.regular-expressions.info/tutorial.html' })} />
</div>
<div>
<InlineMarkdown data={translate('RegularExpressionsCanBeTested', { url: 'http://regexstorm.net/tester' })} />
</div>
</Alert>
}

View file

@ -86,10 +86,10 @@ function EditSpecificationModalContent(props) {
<InlineMarkdown data={translate('ConditionUsingRegularExpressions')} />
</div>
<div>
<InlineMarkdown data={translate('RegularExpressionsTutorialLink')} />
<InlineMarkdown data={translate('RegularExpressionsTutorialLink', { url: 'https://www.regular-expressions.info/tutorial.html' })} />
</div>
<div>
<InlineMarkdown data={translate('RegularExpressionsCanBeTested')} />
<InlineMarkdown data={translate('RegularExpressionsCanBeTested', { url: 'http://regexstorm.net/tester' })} />
</div>
</Alert>
}

View file

@ -905,7 +905,7 @@
"ChangeCategory": "Canvia categoria",
"ChangeCategoryHint": "Canvia la baixada a la \"Categoria post-importació\" des del client de descàrrega",
"ChangeCategoryMultipleHint": "Canvia les baixades a la \"Categoria post-importació\" des del client de descàrrega",
"RegularExpressionsCanBeTested": "Les expressions regulars es poden provar [aquí](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Les expressions regulars es poden provar [aquí]({url}).",
"CustomFormatsSpecificationRegularExpression": "Expressió regular",
"BlocklistMultipleOnlyHint": "Afegeix a la llista de bloqueig sense cercar substituts",
"BlocklistOnly": "Sols afegir a la llista de bloqueig",

View file

@ -785,7 +785,7 @@
"Clone": "Luk",
"AddReleaseProfile": "Rediger forsinkelsesprofil",
"AddDelayProfileError": "Kan ikke tilføje en ny forsinkelsesprofil. Prøv igen.",
"RegularExpressionsCanBeTested": "Regulære udtryk kan testes [her](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Regulære udtryk kan testes [her]({url}).",
"AddToDownloadQueue": "Føj til downloadkø",
"AddedToDownloadQueue": "Føjet til downloadkø"
}

View file

@ -1016,7 +1016,7 @@
"DownloadClientPriorityHelpText": "Download-Client-Priorität von 1 (Höchste) bis 50 (Niedrigste). Standard: 1. Round-Robin wird für Clients mit der gleichen Priorität verwendet.",
"IgnoreDownload": "Download ignorieren",
"IgnoreDownloadHint": "Hält {appName} von der weiteren Verarbeitung dieses Downloads ab",
"RegularExpressionsCanBeTested": "Reguläre Ausdrücke können [hier](http://regexstorm.net/tester) getestet werden.",
"RegularExpressionsCanBeTested": "Reguläre Ausdrücke können [hier]({url}) getestet werden.",
"CustomFormatsSettingsTriggerInfo": "Ein Eigenes Format wird auf eine Veröffentlichung oder Datei angewandt, wenn sie mindestens einer der verschiedenen ausgewählten Bedingungen entspricht.",
"ConnectionSettingsUrlBaseHelpText": "Fügt ein Präfix zur {connectionName} URL hinzu, z. B. {url}",
"DownloadClientDelugeSettingsDirectory": "Download Verzeichnis",
@ -1043,7 +1043,7 @@
"MonitorFutureAlbums": "Zukünftige Alben",
"Negated": "Negiert",
"OverviewOptions": "Überblick-Optionen",
"RegularExpressionsTutorialLink": "Weitere Details zu regulären Ausdrücken finden Sie [hier](https://www.regular-expressions.info/tutorial.html).",
"RegularExpressionsTutorialLink": "Weitere Details zu regulären Ausdrücken finden Sie [hier]({url}).",
"UseSsl": "SSL verwenden",
"DownloadClientsSettingsSummary": "Download Clients, Download-Verwaltung und Remote-Pfadzuordnungen",
"EditConditionImplementation": "Bedingung bearbeiten - {implementationName}",

View file

@ -701,6 +701,7 @@
"Manual": "Manual",
"ManualDownload": "Manual Download",
"ManualImport": "Manual Import",
"MappedNetworkDrivesWindowsService": "Mapped network drives are not available when running as a Windows Service, see the [FAQ]({url}) for more information.",
"MarkAsFailed": "Mark as Failed",
"MarkAsFailedMessageText": "Are you sure you want to mark '{0}' as failed?",
"MassAlbumsCutoffUnmetWarning": "Are you sure you want to search for all '{0}' Cutoff Unmet albums?",
@ -954,8 +955,8 @@
"RefreshArtist": "Refresh Artist",
"RefreshInformationAndScanDisk": "Refresh information and scan disk",
"RefreshScan": "Refresh & Scan",
"RegularExpressionsCanBeTested": "Regular expressions can be tested [here](http://regexstorm.net/tester).",
"RegularExpressionsTutorialLink": "More details on regular expressions can be found [here](https://www.regular-expressions.info/tutorial.html).",
"RegularExpressionsCanBeTested": "Regular expressions can be tested [here]({url}).",
"RegularExpressionsTutorialLink": "More details on regular expressions can be found [here]({url}).",
"RejectionCount": "Rejection Count",
"Rejections": "Rejections",
"Release": " Release",

View file

@ -1066,7 +1066,7 @@
"WriteMetadataTags": "Escribir etiquetas de metadatos",
"FutureDays": "Días futuros",
"IsExpandedHideFileInfo": "Esconder información de archivo",
"RegularExpressionsCanBeTested": "Las expresiones regulares pueden ser probadas [aquí](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Las expresiones regulares pueden ser probadas [aquí]({url}).",
"WatchRootFoldersForFileChanges": "Supervisar las carpetas raíz para cambios de archivos",
"DeleteMetadataProfile": "Eliminar el perfil de metadatos",
"IndexerIdHelpTextWarning": "Usar un indexador específico con palabras preferidas puede provocar que se capturen lanzamientos duplicados",
@ -1096,7 +1096,7 @@
"PreviewRetag": "Vista previa de reetiquetado",
"EntityName": "Nombre de entidad",
"ExistingTagsScrubbed": "Etiquetas existentes borradas",
"RegularExpressionsTutorialLink": "Más detalles de las expresiones regulares pueden ser encontrados [aquí](https://www.regular-expressions.info/tutorial.html).",
"RegularExpressionsTutorialLink": "Más detalles de las expresiones regulares pueden ser encontrados [aquí]({url}).",
"OnDownloadFailure": "En fallo de descarga",
"DiscNumber": "Número de disco",
"EditMetadata": "Editar metadatos",

View file

@ -1067,7 +1067,7 @@
"ImportListRootFolderMissingRootHealthCheckMessage": "Tuontilistalta tai -listoilta puuttuu juurikansio: {0}.",
"HiddenClickToShow": "Piilotettu, näytä painamalla tästä",
"Dash": "Yhdysmerkki",
"RegularExpressionsCanBeTested": "Säännöllisiä lausekkeita voidaan testata [täällä](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Säännöllisiä lausekkeita voidaan testata [täällä]({url}).",
"MonitorArtists": "Valvo esittäjiä",
"ChooseImportMethod": "Valitse tuontitapa",
"NoCutoffUnmetItems": "Katkaisutasoa saavuttamattomia kohteita ei ole.",
@ -1089,7 +1089,7 @@
"RootFolderPathHelpText": "Juurikansio, johon listan kohteet lisätään.",
"Space": "Välilyönti",
"Underscore": "Alaviiva",
"RegularExpressionsTutorialLink": "Lisätietoja säännöllisistä lausekkeista löytyy [täältä](https://www.regular-expressions.info/tutorial.html).",
"RegularExpressionsTutorialLink": "Lisätietoja säännöllisistä lausekkeista löytyy [täältä]({url}).",
"RootFolderCheckSingleMessage": "Juurikansio puuttuu: {0}.",
"UpdateCheckStartupTranslocationMessage": "Päivitystä ei voida asentaa, koska käynnistyskansio \"{0}\" sijaitsee \"App Translocation\" -kansiossa.",
"RemovingTag": "Tunniste poistetaan",

View file

@ -1098,7 +1098,7 @@
"AddCondition": "Ajouter une condition",
"AddConditionError": "Impossible d'ajouter une nouvelle condition, veuillez réessayer.",
"QueueFilterHasNoItems": "Le filtre de file d'attente sélectionné ne contient aucun élément",
"RegularExpressionsTutorialLink": "Vous trouverez plus de détails sur les expressions régulières [ici](https://www.regular-expressions.info/tutorial.html).",
"RegularExpressionsTutorialLink": "Vous trouverez plus de détails sur les expressions régulières [ici]({url}).",
"ReleaseProfile": "Profil de version",
"RenameFiles": "Renommer les fichiers",
"AutoTagging": "Balisage automatique",
@ -1118,7 +1118,7 @@
"EditAutoTag": "Modifier la balise automatique",
"Negate": "Nier",
"OverviewOptions": "Options de présentation",
"RegularExpressionsCanBeTested": "Les expressions régulières peuvent être testées [ici](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Les expressions régulières peuvent être testées [ici]({url}).",
"DownloadClientQbittorrentSettingsContentLayout": "Disposition du contenu",
"NoLimitForAnyDuration": "Aucune limite pour aucune durée d'exécution",
"NoMinimumForAnyDuration": "Aucun minimum pour aucune durée d'exécution",

View file

@ -1005,7 +1005,7 @@
"Negate": "Negatív",
"NoResultsFound": "Nincs találat",
"RecentChanges": "Friss változások",
"RegularExpressionsCanBeTested": "A reguláris kifejezések [here] tesztelhetők (http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "A reguláris kifejezések [here] tesztelhetők ({url}).",
"EditConnectionImplementation": "Kapcsolat szerkesztése - {implementationName}",
"ExtraFileExtensionsHelpTextsExamples": "Példák: \".sub, .nfo\" vagy \"sub,nfo\"",
"ConnectionLostReconnect": "A(z) {appName} automatikusan megpróbál csatlakozni, vagy kattintson az újratöltés gombra lent.",
@ -1101,7 +1101,7 @@
"MinimumCustomFormatScoreHelpText": "Minimális egyéni formátum pontszám a preferált protokoll késleltetésének megkerüléséhez",
"RemoveFromDownloadClientHint": "Távolítsa el a letöltést és a fájlokat) a letöltési kliensből",
"RemoveQueueItemsRemovalMethodHelpTextWarning": "Az „Eltávolítás a letöltési kliensből” eltávolítja a letöltéseket és a fájlokat a letöltési kliensből.",
"RegularExpressionsTutorialLink": "További részletek a reguláris kifejezésekről [itt](https://www.regular-expressions.info/tutorial.html).",
"RegularExpressionsTutorialLink": "További részletek a reguláris kifejezésekről [itt]({url}).",
"QueueFilterHasNoItems": "A kiválasztott sorszűrőben nincsenek elemek",
"PosterOptions": "Poszter opciók",
"Posters": "Poszterek",

View file

@ -881,7 +881,7 @@
"ArtistIndexFooterDownloading": "Scaricando",
"KeyboardShortcuts": "Scorciatoie Tastiera",
"Links": "Collegamenti",
"RegularExpressionsCanBeTested": "Le espressioni regolari possono essere testate [qui](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Le espressioni regolari possono essere testate [qui]({url}).",
"AddListExclusion": "Aggiungi elenco esclusioni",
"AddToDownloadQueue": "Aggiungi alla coda di download",
"AddedToDownloadQueue": "Aggiunto alla coda di download",

View file

@ -840,7 +840,7 @@
"FormatAgeMinutes": "minuten",
"ClearBlocklistMessageText": "Weet je zeker dat je de blokkeerlijst wil legen?",
"ChangeCategory": "Verander categorie",
"RegularExpressionsCanBeTested": "Reguliere expressies kunnen [hier] worden getest (http:://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Reguliere expressies kunnen [hier] worden getest ({url}).",
"AutomaticUpdatesDisabledDocker": "Automatische updates zijn niet ondersteund wanneer je het docker update mechanisme gebruikt. Je dient de container image up te daten buiten {appName} om of een script te gebruiken",
"ChownGroup": "chown groep",
"AddAlbumWithTitle": "Toevoegen",

View file

@ -1106,8 +1106,8 @@
"UpdateFiltered": "Atualização Filtrada",
"ConditionUsingRegularExpressions": "Esta condição corresponde ao uso de Expressões Regulares. Observe que os caracteres `\\^$.|?*+()[{` têm significados especiais e precisam de escape com um `\\`",
"ImportList": "Importar lista",
"RegularExpressionsCanBeTested": "Expressões regulares podem ser testadas [aqui](http://regexstorm.net/tester).",
"RegularExpressionsTutorialLink": "Mais detalhes sobre expressões regulares podem ser encontrados [aqui](https://www.regular-expressions.info/tutorial.html).",
"RegularExpressionsCanBeTested": "Expressões regulares podem ser testadas [aqui]({url}).",
"RegularExpressionsTutorialLink": "Mais detalhes sobre expressões regulares podem ser encontrados [aqui]({url}).",
"AddAutoTag": "Adicionar etiqueta automática",
"AddAutoTagError": "Não foi possível adicionar uma nova etiqueta automática, tente novamente.",
"AutoTaggingNegateHelpText": "Se marcada, a regra de etiquetas automáticas não será aplicada se corresponder à condição {implementationName}.",

View file

@ -814,7 +814,7 @@
"DownloadClientAriaSettingsDirectoryHelpText": "İndirilenlerin yerleştirileceği isteğe bağlı konum, varsayılan Aria2 konumunu kullanmak için boş bırakın",
"Database": "Veri tabanı",
"DeleteRootFolder": "Kök Klasörü Sil",
"RegularExpressionsCanBeTested": "Düzenli ifadeler [burada](http://regexstorm.net/tester) test edilebilir.",
"RegularExpressionsCanBeTested": "Düzenli ifadeler [burada]({url}) test edilebilir.",
"AutoTaggingSpecificationTag": "Etiket",
"DoNotBlocklistHint": "Engellenenler listesine eklemeden kaldır",
"DownloadClientDelugeSettingsDirectory": "İndirme Dizini",
@ -943,7 +943,7 @@
"RemoveTagsAutomatically": "Otomatik Etiketlemeyi Kaldır",
"Started": "Başlatıldı",
"RemoveFailedDownloads": "Başarısız İndirmeleri Kaldır",
"RegularExpressionsTutorialLink": "Düzenli ifadeler hakkında daha fazla ayrıntıyı [burada](https://www.regular-expressions.info/tutorial.html) bulabilirsiniz.",
"RegularExpressionsTutorialLink": "Düzenli ifadeler hakkında daha fazla ayrıntıyı [burada]({url}) bulabilirsiniz.",
"SelectReleaseGroup": "Yayımlama Grubunu Seçin",
"QueueFilterHasNoItems": "Seçilen kuyruk filtresinde hiç öğe yok",
"NotificationsSettingsUpdateMapPathsFrom": "Harita Yolları",

View file

@ -1092,7 +1092,7 @@
"Large": "大",
"Negate": "反选",
"QueueFilterHasNoItems": "所选的队列过滤器中无项目",
"RegularExpressionsCanBeTested": "正则表达式可在 [此处](http://regexstorm.net/tester) 测试。",
"RegularExpressionsCanBeTested": "正则表达式可在 [此处]({url}) 测试。",
"ReleaseProfile": "发行配置文件",
"RemoveTagsAutomatically": "自动移除标签",
"RemoveTagsAutomaticallyHelpText": "如果条件不满足,则自动移除标签",
@ -1108,7 +1108,7 @@
"DeleteAutoTag": "删除自动标签",
"ImportList": "导入列表",
"MonitorArtists": "监控歌手",
"RegularExpressionsTutorialLink": "有关正则表达式的更多详细信息,请参阅[此处](https://www.regular-expressions.info/tutorial.html)。",
"RegularExpressionsTutorialLink": "有关正则表达式的更多详细信息,请参阅[此处]({url})。",
"DeleteArtistFolderHelpText": "删除站点文件夹及其内容",
"DeleteArtistFoldersHelpText": "删除剧集文件夹及其所含文件",
"DeleteAutoTagHelpText": "您确定要删除 “{name}” 自动标签吗?",