Skip to content

Commit

Permalink
Replace URLs in translations with tokens
Browse files Browse the repository at this point in the history
(cherry picked from commit 98d60e1a8e9abce6b31b3cdd745eff0fed181458)
  • Loading branch information
stevietv authored and mynameisbogdan committed Dec 16, 2024
1 parent 85171e4 commit 99c3c8c
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,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>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
}
Expand Down
2 changes: 1 addition & 1 deletion src/NzbDrone.Core/Localization/Core/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@
"RefreshLists": "Actualitza llistes",
"RefreshMonitoredIntervalHelpText": "Amb quina freqüència s'actualitzen les baixades monitorades dels clients de descàrrega, mínim 1 minut",
"RefreshMovie": "Actualitza pel·lícula",
"RegularExpressionsCanBeTested": "Les expressions regulars es poden provar [aquí](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Les expressions regulars es poden provar [aquí]({url}).",
"RejectionCount": "Recompte de rebuigs",
"RelativePath": "Camí relatiu",
"ReleaseBranchCheckOfficialBranchMessage": "La branca {0} no és una branca de llançament de {appName} vàlida, no rebreu actualitzacions",
Expand Down
2 changes: 1 addition & 1 deletion src/NzbDrone.Core/Localization/Core/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
"RecyclingBinCleanup": "Oprydning af papirkurven",
"Refresh": "Opdater",
"RefreshMovie": "Opdater film",
"RegularExpressionsCanBeTested": "Regulære udtryk kan testes [her](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Regulære udtryk kan testes [her]({url}).",
"RejectionCount": "Afvisningstal",
"RelativePath": "Relativ sti",
"Released": "Udgivet",
Expand Down
4 changes: 2 additions & 2 deletions src/NzbDrone.Core/Localization/Core/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@
"AddConditionError": "Die neue Bedingung konnte nicht hinzugefügt werden, bitte erneut probieren.",
"FileBrowserPlaceholderText": "Beginne mit der Eingabe oder wähle unten einen Pfad aus",
"Restore": "Wiederherstellen",
"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.",
"SupportedCustomConditions": "{appName} unterstützt benutzerdefinierte Bedingungen für die Release-Eigenschaften unten.",
"SupportedListsMovie": "RSS Film Listen sowie unten aufgelistete werden untertützt.",
"SupportedIndexers": "{appName} unterstützt jeden Indexer, der den Newznab-Standard verwendet, sowie andere Indexer, die unten aufgelistet sind.",
Expand Down Expand Up @@ -1317,7 +1317,7 @@
"EditIndexerImplementation": "Indexer bearbeiten - {implementationName}",
"Lists": "Listen",
"MustNotContainHelpText": "Das Release wird abgelehnt, wenn einer oder mehrere dieser Begriffe enthalten sind (Groß- und Kleinschreibung ignorieren)",
"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}).",
"Release": "Veröffentlichung",
"Space": "Platz",
"TablePageSize": "Seitengröße",
Expand Down
4 changes: 2 additions & 2 deletions src/NzbDrone.Core/Localization/Core/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1422,8 +1422,8 @@
"RefreshLists": "Refresh Lists",
"RefreshMonitoredIntervalHelpText": "How often to refresh monitored downloads from download clients, minimum 1 minute",
"RefreshMovie": "Refresh movie",
"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",
"RelativePath": "Relative Path",
Expand Down
4 changes: 2 additions & 2 deletions src/NzbDrone.Core/Localization/Core/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@
"TagIsNotUsedAndCanBeDeleted": "La etiqueta no se usa y puede ser borrada",
"FileBrowserPlaceholderText": "Comienza a escribir o selecciona una ruta debajo",
"Restore": "Restaurar",
"RegularExpressionsCanBeTested": "Las expresiones regulares pueden ser probadas [aquí](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Las expresiones regulares pueden ser probadas [aquí]({url}).",
"SupportedListsMovie": "{appName} soporta cualquier lista RSS de películas, como también la listada debajo.",
"SupportedIndexers": "{appName} soporta cualquier indexador que use el estándar Newznab, así como otros indexadores listados a continuación.",
"SupportedDownloadClients": "{appName} soporta muchos torrent populares y clientes de descarga de usenet.",
Expand Down Expand Up @@ -1745,7 +1745,7 @@
"Underscore": "Guion bajo",
"AddDelayProfileError": "No se pudo añadir un nuevo perfil de retraso, por favor inténtalo de nuevo.",
"ChownGroup": "chown del grupo",
"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}).",
"ReleaseGroupFootNote": "Opcionalmente controla el truncamiento hasta un número máximo de bytes, incluyendo elipsis (`...`). Está soportado truncar tanto desde el final (p. ej. `{Grupo de lanzamiento:30}`) como desde el principio (p. ej. `{Grupo de lanzamiento:-30}`).",
"EditionFootNote": "Opcionalmente controla el truncamiento hasta un número máximo de bytes, incluyendo elipsis (`...`). Está soportado truncar tanto desde el final (p. ej. `{Etiquetas de edición:30}`) como desde el principio (p. ej. `{Etiquetas de edición:-30}`).",
"MovieFootNote": "Opcionalmente controla el truncamiento hasta un número máximo de bytes, incluyendo elipsis (`...`). Está soportado truncar tanto desde el final (p. ej. `{Título de película:30}`) como desde el principio (p. ej. `{Título de película:-30}`).",
Expand Down
4 changes: 2 additions & 2 deletions src/NzbDrone.Core/Localization/Core/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
"ReadTheWikiForMoreInformation": "Wikistä löydät lisää tietoja",
"Reason": "Syy",
"Refresh": "Päivitä",
"RegularExpressionsCanBeTested": "Säännöllisiä lausekkeita voidaan testata [täällä](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Säännöllisiä lausekkeita voidaan testata [täällä]({url}).",
"New": "Uutta",
"LocalPath": "Paikallinen sijainti",
"RemotePath": "Kaukopolku",
Expand Down Expand Up @@ -1695,7 +1695,7 @@
"RestartLater": "Käynnistän uudelleen myöhemmin",
"Repack": "Uudelleenpaketoitu",
"Release": "Julkaisu",
"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}).",
"ReleaseProfileIndexerHelpText": "Määritä mitä tietolähdettä profiili koskee.",
"ReleaseProfileTagMovieHelpText": "Julkaisuprofiileja sovelletaan elokuviin, jotka on merkitty ainakin yhdellä vastaavalla tunnisteella. Käytä kaikille elokuville jättämällä tyhjäksi.",
"SearchMoviesOnAdd": "Etsi elokuvia kun ne lisätään",
Expand Down
4 changes: 2 additions & 2 deletions src/NzbDrone.Core/Localization/Core/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@
"Remove": "Retirer",
"ReleaseRejected": "Libération rejetée",
"ReleaseDates": "Date de sortie",
"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}).",
"RefreshMovie": "Actualiser le film",
"RefreshInformationAndScanDisk": "Actualiser les informations et analyser le disque",
"RecyclingBinCleanup": "Nettoyage du bac de recyclage",
Expand Down Expand Up @@ -1669,7 +1669,7 @@
"NoDelay": "Pas de délai",
"OptionalName": "Nom facultatif",
"Popular": "Populaire",
"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}).",
"Trending": "Tendance",
"TypeOfList": "{typeOfList} Liste",
"DownloadClientDownloadStationValidationNoDefaultDestinationDetail": "Vous devez vous connecter à votre poste de travail en tant que {username} et le configurer manuellement dans les paramètres de la DownloadStation sous BT/HTTP/FTP/NZB -> Location.",
Expand Down
2 changes: 1 addition & 1 deletion src/NzbDrone.Core/Localization/Core/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@
"RemoveTagsAutomatically": "Címkék automatikus eltávolítása",
"RestartLater": "Később újraindítom",
"QualitiesLoadError": "Nem lehet minőségeket betölteni",
"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}).",
"PasswordConfirmation": "Jelszó megerősítése",
"SecretToken": "Titkos token",
"AddListExclusion": "Listakizárás hozzáadása",
Expand Down
2 changes: 1 addition & 1 deletion src/NzbDrone.Core/Localization/Core/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
"ReleaseRejected": "Release rifiutata",
"ReleaseDates": "Date di rilascio",
"RejectionCount": "Rifiuta il conteggio",
"RegularExpressionsCanBeTested": "Le espressioni regolari possono essere testate [qui](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Le espressioni regolari possono essere testate [qui]({url}).",
"RefreshMovie": "Aggiorna il Film",
"RefreshInformationAndScanDisk": "Aggiorna le informazioni e scansiona il disco",
"RecyclingBinCleanup": "Pulizia Cestino",
Expand Down
2 changes: 1 addition & 1 deletion src/NzbDrone.Core/Localization/Core/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@
"AddDownloadClientError": "Kon geen nieuwe downloader toevoegen, gelieve opnieuw te proberen.",
"AddCustomFormatError": "Kon geen nieuw eigen formaat toevoegen, gelieve opnieuw te proberen.",
"AddConditionError": "Kon geen nieuwe conditie toevoegen, gelieve opnieuw te proberen.",
"RegularExpressionsCanBeTested": "Reguliere expressies kunnen [hier] worden getest (http:://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Reguliere expressies kunnen [hier] worden getest ({url}).",
"SupportedCustomConditions": "{appName} ondersteunt aangepaste condities tegenover de uitgave eigenschappen hieronder.",
"SupportedListsMovie": "{appName} ondersteunt elke RSS filmlijst, tevens ook de ander hieronder weergegeven lijsten.",
"SupportedIndexers": "{appName} ondersteund elke indexeerder die gebruik maakt van de Newznab standaard, tevens ook de ander hieronder weergegeven indexeerders.",
Expand Down
4 changes: 2 additions & 2 deletions src/NzbDrone.Core/Localization/Core/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@
"ReleasedMovieDescription": "Filme lançado",
"ReleaseDates": "Datas de lançamento",
"RelativePath": "Caminho relativo",
"RegularExpressionsCanBeTested": "Expressões regulares podem ser testadas [aqui](http://regexstorm.net/tester).",
"RegularExpressionsCanBeTested": "Expressões regulares podem ser testadas [aqui]({url}).",
"RefreshMovie": "Atualizar filme",
"RefreshLists": "Atualizar listas",
"RefreshInformationAndScanDisk": "Atualizar as informações e verificar o disco",
Expand Down Expand Up @@ -1711,7 +1711,7 @@
"DelayProfileProtocol": "Protocolo: {preferredProtocol}",
"DeleteReleaseProfile": "Excluir perfil de lançamento",
"MediaInfoFootNote": "MediaInfo Full/AudioLanguages/SubtitleLanguages suporta um sufixo `:EN+DE` permitindo filtrar os idiomas incluídos no nome do arquivo. Use `-DE` para excluir idiomas específicos. Anexar `+` (por exemplo, `:EN+`) resultará em `[EN]`/`[EN+--]`/`[--]` dependendo dos idiomas excluídos. Por exemplo, `{MediaInfo Full:EN+DE}`.",
"RegularExpressionsTutorialLink": "Mais detalhes sobre expressões regulares podem ser encontrados [aqui](https://www.regular-expressions.info/tutorial.html).",
"RegularExpressionsTutorialLink": "Mais detalhes sobre expressões regulares podem ser encontrados [aqui]({url}).",
"RestartRequiredToApplyChanges": "{appName} requer reinicialização para aplicar as alterações. Deseja reiniciar agora?",
"SupportedAutoTaggingProperties": "{appName} oferece suporte às propriedades a seguir para regras de codificação automática",
"WantMoreControlAddACustomFormat": "Quer mais controle sobre quais downloads são preferidos? Adicione um [Formato Personalizado](/settings/customformats)",
Expand Down
2 changes: 1 addition & 1 deletion src/NzbDrone.Core/Localization/Core/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
"SupportedListsMoreInfo": "Pentru mai multe informații despre listele de import individuale, faceți clic pe butoanele de informații.",
"LogLevelTraceHelpTextWarning": "Înregistrarea urmăririi trebuie activată doar temporar",
"Lowercase": "Minuscule",
"MappedNetworkDrivesWindowsService": "Unitățile de rețea mapate nu sunt disponibile atunci când rulează ca serviciu Windows. Vă rugăm să consultați FAQ pentru mai multe informații",
"MappedNetworkDrivesWindowsService": "Unitățile de rețea mapate nu sunt disponibile atunci când rulează ca serviciu Windows. Vă rugăm să consultați [FAQ]({url}) pentru mai multe informații",
"MinutesHundredTwenty": "120 de minute: {0}",
"MinutesNinety": "90 de minute: {0}",
"Months": "Luni",
Expand Down
4 changes: 2 additions & 2 deletions src/NzbDrone.Core/Localization/Core/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@
"OnlyUsenet": "Sadece Usenet",
"PendingChangesMessage": "Kaydedilmemiş değişiklikleriniz var, bu sayfadan ayrılmak istediğinizden emin misiniz?",
"ProxyType": "Proxy Türü",
"RegularExpressionsCanBeTested": "Düzenli ifadeler [burada](http://regexstorm.net/tester) test edilebilir.",
"RegularExpressionsCanBeTested": "Düzenli ifadeler [burada]({url}) test edilebilir.",
"ShowGenres": "Türleri Göster",
"UpgradesAllowed": "Yükseltmelere İzin Ver",
"Pending": "Bekliyor",
Expand Down Expand Up @@ -1605,7 +1605,7 @@
"NotificationsValidationUnableToConnectToApi": "{service} API'sine bağlanılamıyor. Sunucu bağlantısı başarısız oldu: ({responseCode}) {exceptionMessage}",
"Recommendation": "Öneri",
"Recommended": "Önerilen",
"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.",
"NotificationsTwitterSettingsDirectMessageHelpText": "Herkese açık mesaj yerine doğrudan mesaj gönderin",
"NzbgetHistoryItemMessage": "PAR Durumu: {parStatus} - Paketten Çıkarma Durumu: {unpackStatus} - Taşıma Durumu: {moveStatus} - Komut Dosyası Durumu: {scriptStatus} - Silme Durumu: {deleteStatus} - İşaretleme Durumu: {markStatus}",
"OneMinute": "1 dakika",
Expand Down
4 changes: 2 additions & 2 deletions src/NzbDrone.Core/Localization/Core/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@
"PreviewRenameHelpText": "小提示:要预览重命名效果,选择 “取消” ,然后点击任何电影标题并使用",
"PtpOldSettingsCheckMessage": "以下 PassThePopcorn 索引器的设置已弃用,应更新为:{0}",
"QualityDefinitions": "质量定义",
"RegularExpressionsCanBeTested": "正则表达式可在 [此处](http://regexstorm.net/tester) 测试。",
"RegularExpressionsCanBeTested": "正则表达式可在 [此处]({url}) 测试。",
"ReleaseTitle": "发布资源标题",
"RemoveHelpTextWarning": "移除操作会从下载客户端中删除任务和已下载文件。",
"RequiredRestrictionHelpText": "发布资源必须至少包含这些项目之一(不区分大小写)",
Expand Down Expand Up @@ -1588,7 +1588,7 @@
"OptionalName": "可选名称",
"Period": "时期",
"QualityCutoffNotMet": "未达到质量阈值",
"RegularExpressionsTutorialLink": "有关正则表达式的更多详细信息,请参阅[此处](https://www.regular-expressions.info/tutorial.html)。",
"RegularExpressionsTutorialLink": "有关正则表达式的更多详细信息,请参阅[此处]({url})。",
"RestartLater": "稍后重启",
"RestartRequiredWindowsService": "根据运行{appName}的用户,在服务自动启动之前,您可能需要以管理员身份重新启动{appName}一次。",
"IndexerSettingsMultiLanguageRelease": "多种语言",
Expand Down

0 comments on commit 99c3c8c

Please sign in to comment.