diff --git a/dist/manifest.json b/dist/manifest.json index 18cdb37..d324661 100644 --- a/dist/manifest.json +++ b/dist/manifest.json @@ -1,5 +1,5 @@ { - "css/broken-link-detector.css": "css/broken-link-detector.024cd1a77a7b5c050e6a.css", + "css/broken-link-detector.css": "css/broken-link-detector.40888f073f7fe120bcae.css", "js/context-detector.js": "js/context-detector.09d51a4f92bccb526918.js", "js/editor-highlight.js": "js/editor-highlight.a7ccb59aeba3991ac935.js" } \ No newline at end of file diff --git a/languages/broken-link-detector-sv_SE.mo b/languages/broken-link-detector-sv_SE.mo index 1488567..4fecc97 100644 Binary files a/languages/broken-link-detector-sv_SE.mo and b/languages/broken-link-detector-sv_SE.mo differ diff --git a/languages/broken-link-detector-sv_SE.po b/languages/broken-link-detector-sv_SE.po index bbb1345..0252c3d 100644 --- a/languages/broken-link-detector-sv_SE.po +++ b/languages/broken-link-detector-sv_SE.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Broken Link Detector\n" -"POT-Creation-Date: 2024-12-03 11:30+0100\n" -"PO-Revision-Date: 2024-12-03 11:33+0100\n" +"POT-Creation-Date: 2024-12-03 12:37+0100\n" +"PO-Revision-Date: 2024-12-03 12:38+0100\n" "Last-Translator: \n" "Language-Team: \n" "Language: sv_SE\n" @@ -23,15 +23,15 @@ msgstr "" "X-Poedit-SearchPathExcluded-2: vendor\n" "X-Poedit-SearchPathExcluded-3: node_modules\n" -#: source/fields/php/context-detection.php:6 +#: source/fields/php/context-detection.php:8 msgid "Context Detect" msgstr "Identifiering av användarkontext" -#: source/fields/php/context-detection.php:10 +#: source/fields/php/context-detection.php:12 msgid "Enable detection of user context" msgstr "Identifiera användarens kontext i nätverket" -#: source/fields/php/context-detection.php:14 +#: source/fields/php/context-detection.php:16 msgid "" "The user detection functionality will disable links that are internal only. " "It also adds a tipbox to them explaining why the link is unreachable." @@ -41,25 +41,25 @@ msgstr "" "tillgängliga om denna resurs är otillgänglig, kommer markeras som icke " "klickbara." -#: source/fields/php/context-detection.php:22 +#: source/fields/php/context-detection.php:24 msgid "Detects user context by fetching a internal resource." msgstr "" "Identifierar användarens kontext i nätverket genom att försöka hämta en " "intern resurs." -#: source/fields/php/context-detection.php:24 +#: source/fields/php/context-detection.php:26 msgid "Enabled" msgstr "Aktiverad" -#: source/fields/php/context-detection.php:25 +#: source/fields/php/context-detection.php:27 msgid "Disabled" msgstr "Avaktiverad" -#: source/fields/php/context-detection.php:30 +#: source/fields/php/context-detection.php:32 msgid "Internal Context Detection Resource" msgstr "Resurs som ska hämtas" -#: source/fields/php/context-detection.php:34 +#: source/fields/php/context-detection.php:36 msgid "" "The internal context checker require you to publish a image on a server " "without public access. The image should be as small as possible, if your " @@ -70,39 +70,39 @@ msgstr "" "vara tillgänglig via http eller https (om din webbplats använder ssl-" "certifikat)." -#: source/fields/php/context-detection.php:51 +#: source/fields/php/context-detection.php:53 msgid "https://internal.resource.admin-network.local/image-1x1.jpg" msgstr "" -#: source/fields/php/context-detection.php:55 +#: source/fields/php/context-detection.php:57 msgid "Inform user by the following methods" msgstr "Informera användaren genom" -#: source/fields/php/context-detection.php:76 +#: source/fields/php/context-detection.php:78 msgid "Tooltip" msgstr "Text på tooltip" -#: source/fields/php/context-detection.php:77 +#: source/fields/php/context-detection.php:79 msgid "Modal" msgstr "Modalfönster" -#: source/fields/php/context-detection.php:90 +#: source/fields/php/context-detection.php:92 msgid "Tooltip Text" msgstr "Text på tooltip" -#: source/fields/php/context-detection.php:94 -msgid "The text that displays in the tooltip, whenever a link is unavabile." +#: source/fields/php/context-detection.php:96 +msgid "The text that displays in the tooltip, whenever a link is unavailable." msgstr "Den text som ska visas när en länk inte är tillgänglig." -#: source/fields/php/context-detection.php:112 source/php/Config/Config.php:360 -msgid "Link unavabile" +#: source/fields/php/context-detection.php:114 source/php/Config/Config.php:360 +msgid "Link unavailable" msgstr "Otillgänglig" -#: source/fields/php/context-detection.php:118 +#: source/fields/php/context-detection.php:120 msgid "Modal Title" msgstr "Titel i modalfönster" -#: source/fields/php/context-detection.php:146 +#: source/fields/php/context-detection.php:148 msgid "Modal Content" msgstr "Innehåll i modalfönster" @@ -198,7 +198,7 @@ msgid "Filter" msgstr "Filter" #: source/php/Config/Config.php:396 -msgid "Content unavabile" +msgid "Content unavailable" msgstr "Länk otillgänglig" #: source/php/Config/Config.php:414 diff --git a/source/fields/json/context-detection.json b/source/fields/json/context-detection.json index 2ebdae1..dd4645f 100644 --- a/source/fields/json/context-detection.json +++ b/source/fields/json/context-detection.json @@ -87,7 +87,7 @@ "name": "broken_links_context_tooltip", "aria-label": "", "type": "text", - "instructions": "The text that displays in the tooltip, whenever a link is unavabile.", + "instructions": "The text that displays in the tooltip, whenever a link is unavailable.", "required": 0, "conditional_logic": [ [ @@ -105,7 +105,7 @@ }, "default_value": "", "maxlength": "", - "placeholder": "Link unavabile", + "placeholder": "Link unavailable", "prepend": "", "append": "" }, @@ -193,4 +193,4 @@ "acfe_meta": "", "acfe_note": "" }] - \ No newline at end of file + diff --git a/source/fields/php/context-detection.php b/source/fields/php/context-detection.php index 74342aa..610d01f 100644 --- a/source/fields/php/context-detection.php +++ b/source/fields/php/context-detection.php @@ -1,7 +1,9 @@ 'group_6718e9e8554ca', 'title' => __('Context Detect', 'api-event-manager'), 'fields' => array( @@ -91,7 +93,7 @@ 'name' => 'broken_links_context_tooltip', 'aria-label' => '', 'type' => 'text', - 'instructions' => __('The text that displays in the tooltip, whenever a link is unavabile.', 'api-event-manager'), + 'instructions' => __('The text that displays in the tooltip, whenever a link is unavailable.', 'api-event-manager'), 'required' => 0, 'conditional_logic' => array( 0 => array( @@ -109,7 +111,7 @@ ), 'default_value' => '', 'maxlength' => '', - 'placeholder' => __('Link unavabile', 'api-event-manager'), + 'placeholder' => __('Link unavailable', 'api-event-manager'), 'prepend' => '', 'append' => '', ), @@ -197,4 +199,5 @@ 'acfe_meta' => '', 'acfe_note' => '', )); - } \ No newline at end of file + +} \ No newline at end of file diff --git a/source/php/Config/Config.php b/source/php/Config/Config.php index 0801c5e..c9988f5 100644 --- a/source/php/Config/Config.php +++ b/source/php/Config/Config.php @@ -318,7 +318,7 @@ public function getContextCheckSuccessClass() : string { public function getContextCheckFailedClass() : string { return $this->wpService->applyFilters( $this->createFilterKey(__FUNCTION__), - 'context-check-unavabile' + 'context-check-unavailable' ); } @@ -357,7 +357,7 @@ public function getContextCheckTooltipText(): string return $this->wpService->applyFilters( $this->createFilterKey(__FUNCTION__), $dbLabel ?: $this->wpService->__( - 'Link unavabile', + 'Link unavailable', 'broken-link-detector' ) ); @@ -393,7 +393,7 @@ public function getContextCheckModalTitle(): string $title = $this->acfService->getField( 'broken_links_context_modal_title', 'option' - ) ?: $this->wpService->__('Content unavabile', 'broken-link-detector'); + ) ?: $this->wpService->__('Content unavailable', 'broken-link-detector'); return $this->wpService->applyFilters( $this->createFilterKey(__FUNCTION__), diff --git a/source/sass/broken-link-detector.scss b/source/sass/broken-link-detector.scss index 5f262a6..a1c69ef 100644 --- a/source/sass/broken-link-detector.scss +++ b/source/sass/broken-link-detector.scss @@ -1,3 +1,3 @@ -.broken-link-detector-link-is-unavabile { +.broken-link-detector-link-is-unavailable { cursor: not-allowed !important; }