Skip to content

Commit

Permalink
fix: field name & translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thulin committed Dec 3, 2024
1 parent 5e36244 commit 8c127df
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 11 deletions.
Binary file modified languages/broken-link-detector-sv_SE.mo
Binary file not shown.
75 changes: 66 additions & 9 deletions languages/broken-link-detector-sv_SE.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: Broken Link Detector\n"
"POT-Creation-Date: 2024-11-13 10:53+0100\n"
"PO-Revision-Date: 2024-11-13 11:03+0100\n"
"POT-Creation-Date: 2024-12-03 11:30+0100\n"
"PO-Revision-Date: 2024-12-03 11:33+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: sv_SE\n"
Expand All @@ -15,8 +15,8 @@ msgstr ""
"X-Poedit-WPHeader: broken-link-detector.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"
"X-Poedit-SearchPathExcluded-1: dist\n"
Expand Down Expand Up @@ -65,27 +65,47 @@ msgid ""
"without public access. The image should be as small as possible, if your "
"site is running on https, this resource must also be served with https."
msgstr ""
"För att identifiera användarens kontext, krävs det att du publicerar en "
"bild på en webbadress som bara kan nås från det interna nätverket. Resursen "
"måste vara tillgänglig via http eller https (om din webbplats använder ssl-"
"För att identifiera användarens kontext, krävs det att du publicerar en bild "
"på en webbadress som bara kan nås från det interna nätverket. Resursen måste "
"vara tillgänglig via http eller https (om din webbplats använder ssl-"
"certifikat)."

#: source/fields/php/context-detection.php:51
msgid "https://internal.resource.admin-network.local/image-1x1.jpg"
msgstr ""

#: source/fields/php/context-detection.php:55
msgid "Inform user by the following methods"
msgstr "Informera användaren genom"

#: source/fields/php/context-detection.php:76
msgid "Tooltip"
msgstr "Text på tooltip"

#: source/fields/php/context-detection.php:77
msgid "Modal"
msgstr "Modalfönster"

#: source/fields/php/context-detection.php:90
msgid "Tooltip Text"
msgstr "Text på tooltip"

#: source/fields/php/context-detection.php:59
#: source/fields/php/context-detection.php:94
msgid "The text that displays in the tooltip, whenever a link is unavabile."
msgstr "Den text som ska visas när en länk inte är tillgänglig."

#: source/fields/php/context-detection.php:77 source/php/Config/Config.php:340
#: source/fields/php/context-detection.php:112 source/php/Config/Config.php:360
msgid "Link unavabile"
msgstr "Otillgänglig"

#: source/fields/php/context-detection.php:118
msgid "Modal Title"
msgstr "Titel i modalfönster"

#: source/fields/php/context-detection.php:146
msgid "Modal Content"
msgstr "Innehåll i modalfönster"

#: source/fields/php/local-domains.php:6
msgid "Local Domain Settings"
msgstr "Inställningar för lokala domäner"
Expand Down Expand Up @@ -177,6 +197,43 @@ msgstr "Alla HTTP Koder"
msgid "Filter"
msgstr "Filter"

#: source/php/Config/Config.php:396
msgid "Content unavabile"
msgstr "Länk otillgänglig"

#: source/php/Config/Config.php:414
msgid ""
"\n"
" This link cannot be accessed on your current network. The system you "
"are trying to reach is only available through a secure, authorized "
"connection. \n"
"\n"
" To access it, you need to either be connected to the network in a "
"specific location, such as an office, or use a secure connection method, "
"like a VPN. \n"
"\n"
" Please ensure you are connected to the correct network to proceed.\n"
" "
msgstr ""
"\n"
" Den här länken kan inte nås på ditt nuvarande nätverk. Systemet du "
"försöker nå är endast tillgängligt genom en säker, auktoriserad anslutning.\n"
"\n"
" För att få åtkomst behöver du antingen vara ansluten till nätverket på "
"en specifik plats, som ett kontor, eller använda en säker anslutningsmetod, "
"som en VPN.\n"
"\n"
" Vänligen säkerställ att du är ansluten till rätt nätverk för att "
"fortsätta. "

#: source/php/Modal.php:28
msgid "Open Anyway"
msgstr "Fortsätt ändå"

#: source/php/Modal.php:29
msgid "Close"
msgstr "Stäng"

#. Plugin Name of the plugin/theme
msgid "Broken Link Detector"
msgstr "Brutna länkar (Broken Link Detector)"
Expand Down
4 changes: 2 additions & 2 deletions source/php/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public function getContextCheckIsModalActive(): bool
public function getContextCheckModalTitle(): string
{
$title = $this->acfService->getField(
'broken_links_modal_title',
'broken_links_context_modal_title',
'option'
) ?: $this->wpService->__('Content unavabile', 'broken-link-detector');

Expand All @@ -409,7 +409,7 @@ public function getContextCheckModalTitle(): string
public function getContextCheckModalContent(): string
{
$content = $this->acfService->getField(
'broken_links_modal_content',
'broken_links_context_modal_content',
'option'
) ?: $this->wpService->__('
This link cannot be accessed on your current network. The system you are trying to reach is only available through a secure, authorized connection.
Expand Down

0 comments on commit 8c127df

Please sign in to comment.