diff --git a/1984-hosting-support-ui.php b/1984-hosting-support-ui.php
index 24ff79d..b730efa 100644
--- a/1984-hosting-support-ui.php
+++ b/1984-hosting-support-ui.php
@@ -87,7 +87,7 @@ class HostingSupport1984UI
*
* @return String The path.
*/
- private function view_path(string $view_file)
+ private function view_path(string $view_file): string
{
return plugin_dir_path(__FILE__) . self::VIEWS_DIR . $view_file;
}
diff --git a/1984-hosting-support.php b/1984-hosting-support.php
index 16b43d6..b3c29a7 100644
--- a/1984-hosting-support.php
+++ b/1984-hosting-support.php
@@ -2,11 +2,13 @@
/*
* Plugin Name: 1984 Hosting Support
- * Version: 1.0.1
- * Author: 1984 ehf
+ * Version: 1.1.0
+ * Author: 1984 ehf.
* Author URI: https://1984.hosting
* Description: Support plugin for 1984 Hosting customers.
* Update URI: https://git.1984.is/1984/1984-hosting-support/
+ * Text Domain: hostingsupport1984
+ * Domain Path: /languages
*/
/**
@@ -97,7 +99,7 @@ class HostingSupport1984
*
* @return Boolean
*/
- public function load_textdomain()
+ public function load_textdomain(): bool
{
return load_plugin_textdomain(
'hostingsupport1984',
@@ -191,25 +193,34 @@ class HostingSupport1984
return $links;
}
- $warning_text = '1984: Please do not deactivate or delete this plugin - part of your WordPress Service Pack.';
+ $warning_text =
+ __('1984 Hosting: Please do not deactivate or delete this plugin - part of your WordPress Service Pack.', 'hostingsupport1984');
$logo_1984_url = plugins_url('icons/1984-hosting-logo.webp', __FILE__);
$logo_patchstack = plugins_url('icons/patchstack-logo.svg', __FILE__);
- $warning_icon =
- '';
+ $title_1984 = __('Visit 1984 Hosting Homepage', 'hostingsupport1984');
+ $title_patchstack = __('Visit Patchstack Homepage', 'hostingsupport1984');
- $links[] =
- '' . $warning_icon . esc_html($warning_text) . '' .
- ''
+ $container_open =
+ '';
+
+ $warning_icon =
+ '';
+
+ $text_html = '' . esc_html($warning_text) . '';
+
+
+ $logos_html =
+ ''
.
- ''
+ ''
.
'
'
.
''
.
- ''
+ ''
.
'
'
.
@@ -217,6 +228,8 @@ class HostingSupport1984
.
'';
+ $links[] = $container_open . $warning_icon . $text_html . $logos_html . '';
+
return $links;
}
diff --git a/build-locales.sh b/build-locales.sh
old mode 100644
new mode 100755
diff --git a/languages/hostingsupport1984-is_IS.mo b/languages/hostingsupport1984-is_IS.mo
index bc9b2ab..09ed184 100644
Binary files a/languages/hostingsupport1984-is_IS.mo and b/languages/hostingsupport1984-is_IS.mo differ
diff --git a/languages/hostingsupport1984-is_IS.po b/languages/hostingsupport1984-is_IS.po
index ff32444..3d30707 100644
--- a/languages/hostingsupport1984-is_IS.po
+++ b/languages/hostingsupport1984-is_IS.po
@@ -1,41 +1,69 @@
+# Copyright (C) 2025 1984 ehf.
+# This file is distributed under the same license as the 1984 Hosting Support plugin.
msgid ""
msgstr ""
-"Project-Id-Version: 1984 Big Brother\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-01-19 10:05+0000\n"
-"PO-Revision-Date: 2021-01-19 10:09+0000\n"
-"Last-Translator: \n"
-"Language-Team: Íslenska\n"
-"Language: is_IS\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"Project-Id-Version: 1984 Hosting Support 1.1.0\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/1984-hosting-"
+"support\n"
+"Last-Translator: Sævar Bergur Sigurgeirsson \n"
+"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Loco https://localise.biz/\n"
-"X-Loco-Version: 2.4.2; wp-5.6"
+"POT-Creation-Date: 2025-12-02T11:00:44+00:00\n"
+"PO-Revision-Date: 2025-12-02T11:00:44+00:00\n"
+"X-Generator: WP-CLI 2.12.0\n"
+"X-Domain: hostingsupport1984\n"
+"Language: is\n"
-#: 1984-hosting-support-ui.php:100
+#. Plugin Name of the plugin
+#: 1984-hosting-support.php 1984-hosting-support-ui.php:49
msgid "1984 Hosting Support"
-msgstr "Aðstoð og stuðningur hjá 1984"
+msgstr "Aðstoð og stuðningur hjá 1984 Hosting"
-#. Name of the plugin
-msgid "1984-hosting-support.php"
+#. Description of the plugin
+#: 1984-hosting-support.php
+msgid "Support plugin for 1984 Hosting customers."
+msgstr "Stuðningsviðbót fyrir viðskiptavini 1984 Hosting."
+
+#. Author of the plugin
+#: 1984-hosting-support.php
+msgid "1984 ehf."
msgstr ""
-#: views/support-dashboard-widget.php:31
+#. Author URI of the plugin
+#: 1984-hosting-support.php
+msgid "https://1984.hosting"
+msgstr ""
+
+#: 1984-hosting-support.php:194
+msgid ""
+"1984 Hosting: Please do not deactivate or delete this plugin - part of your "
+"WordPress Service Pack."
+msgstr ""
+"1984 Hosting: Vinsamlegast ekki slökkva á eða eyða þessari viðbót – hún er "
+"hluti af WordPress þjónustupakkanum þínum."
+
+#: 1984-hosting-support.php:309
+msgid ""
+"For security, this action is blocked: 1984 Hosting Support and Patchstack "
+"cannot be deactivated or deleted while this policy is active."
+msgstr ""
+"Af öryggisástæðum er þessari aðgerð hafnað: 1984 Hosting Support og Patchstack "
+ "er ekki hægt að slökkva á eða eyða meðan þessi regla er virk."
+
+#: views/support-dashboard-widget.php:21
msgid "My Profile"
msgstr "Minn aðgangur"
-#: views/support-dashboard-widget.php:15
+#: views/support-dashboard-widget.php:34
msgid "My Sites, Domains & VPSs"
msgstr "Vefir, lén og sýndarvélar"
-#: views/support-dashboard-widget.php:15
+#: views/support-dashboard-widget.php:48
msgid "Knowledge Base"
msgstr "Viskubrunnur 1984"
-#: views/support-dashboard-widget.php:15
+#: views/support-dashboard-widget.php:62
msgid "Contact Support"
msgstr "Fá aðstoð"
-
-
diff --git a/languages/hostingsupport1984.pot b/languages/hostingsupport1984.pot
index 15d27ae..96724f3 100644
--- a/languages/hostingsupport1984.pot
+++ b/languages/hostingsupport1984.pot
@@ -1,41 +1,60 @@
+# Copyright (C) 2025 1984 ehf.
+# This file is distributed under the same license as the 1984 Hosting Support plugin.
msgid ""
msgstr ""
-"Project-Id-Version: 1984 Big Brother\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2021-01-19 10:05+0000\n"
-"PO-Revision-Date: 2021-01-19 10:09+0000\n"
-"Last-Translator: \n"
-"Language-Team: Íslenska\n"
-"Language: is_IS\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"Project-Id-Version: 1984 Hosting Support 1.1.0\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/1984-hosting-support\n"
+"Last-Translator: Sævar Bergur Sigurgeirsson \n"
+"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Loco https://localise.biz/\n"
-"X-Loco-Version: 2.4.2; wp-5.6"
+"POT-Creation-Date: 2025-12-02T11:00:44+00:00\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"X-Generator: WP-CLI 2.12.0\n"
+"X-Domain: hostingsupport1984\n"
-#: 1984-hosting-support-ui.php:100
+#. Plugin Name of the plugin
+#: 1984-hosting-support.php
+#: 1984-hosting-support-ui.php:49
msgid "1984 Hosting Support"
msgstr "Aðstoð og stuðningur hjá 1984"
-#. Name of the plugin
-msgid "1984-hosting-support.php"
+#. Description of the plugin
+#: 1984-hosting-support.php
+msgid "Support plugin for 1984 Hosting customers."
msgstr ""
-#: views/support-dashboard-widget.php:31
+#. Author of the plugin
+#: 1984-hosting-support.php
+msgid "1984 ehf."
+msgstr ""
+
+#. Author URI of the plugin
+#: 1984-hosting-support.php
+msgid "https://1984.hosting"
+msgstr ""
+
+#: 1984-hosting-support.php:194
+msgid "1984 Hosting: Please do not deactivate or delete this plugin - part of your WordPress Service Pack."
+msgstr ""
+
+#: 1984-hosting-support.php:309
+msgid "For security, this action is blocked: 1984 Hosting Support and Patchstack cannot be deactivated or deleted while this policy is active."
+msgstr ""
+
+#: views/support-dashboard-widget.php:21
msgid "My Profile"
msgstr ""
-#: views/support-dashboard-widget.php:15
+#: views/support-dashboard-widget.php:34
msgid "My Sites, Domains & VPSs"
msgstr ""
-#: views/support-dashboard-widget.php:15
+#: views/support-dashboard-widget.php:48
msgid "Knowledge Base"
msgstr ""
-#: views/support-dashboard-widget.php:15
+#: views/support-dashboard-widget.php:62
msgid "Contact Support"
msgstr ""
-
-