Alan Lam 7 anni fa
parent
commit
baac07b8f1
89 ha cambiato i file con 8054 aggiunte e 653 eliminazioni
  1. 2 1
      composer.json
  2. 125 2
      composer.lock
  3. 6 0
      config.template.php
  4. 1 1
      controllers/404.php
  5. 1 1
      controllers/503.php
  6. 19 20
      controllers/account.php
  7. 4 4
      controllers/account_deactivate.php
  8. 4 4
      controllers/account_delete.php
  9. 2 2
      controllers/account_reactivate.php
  10. 8 8
      controllers/address_add.php
  11. 14 14
      controllers/address_edit.php
  12. 4 4
      controllers/addresses.php
  13. 1 1
      controllers/become_a_tester.php
  14. 7 7
      controllers/contact.php
  15. 1 1
      controllers/home.php
  16. 1 1
      controllers/jobs.php
  17. 8 8
      controllers/log_in.php
  18. 1 1
      controllers/log_out.php
  19. 13 13
      controllers/practice.php
  20. 3 3
      controllers/practice_file.php
  21. 2 2
      controllers/practice_template_select.php
  22. 1 1
      controllers/privacy_policy.php
  23. 18 18
      controllers/register.php
  24. 8 8
      controllers/reset_password.php
  25. 1 1
      controllers/services.php
  26. 17 12
      controllers/settings.php
  27. 8 8
      controllers/submit_id.php
  28. 2 2
      controllers/terms_accept.php
  29. 1 1
      controllers/terms_and_conditions.php
  30. 3 3
      controllers/terms_decline.php
  31. 15 15
      controllers/test.php
  32. 6 6
      controllers/test_confirm.php
  33. 2 2
      controllers/test_file.php
  34. 5 5
      controllers/test_invoice.php
  35. 1 2
      controllers/test_pdf.php
  36. 2 2
      controllers/tests.php
  37. 4 4
      controllers/tests_available.php
  38. 9 9
      controllers/tests_available_ajax.php
  39. 3 3
      controllers/tests_completed.php
  40. 2 2
      controllers/tests_tester_kml.php
  41. 3 3
      controllers/user_activation.php
  42. 8 0
      engine/core.php
  43. 2 2
      engine/form.php
  44. 48 22
      engine/test.php
  45. 57 44
      engine/user.php
  46. 35 3
      initialise.php
  47. BIN
      locales/en_GB/LC_MESSAGES/en_GB.mo
  48. 2136 0
      locales/en_GB/LC_MESSAGES/en_GB.po
  49. BIN
      locales/es_ES/LC_MESSAGES/es_ES.mo
  50. 2363 0
      locales/es_ES/LC_MESSAGES/es_ES.po
  51. BIN
      locales/nl_NL/LC_MESSAGES/nl_NL.mo
  52. 2609 0
      locales/nl_NL/LC_MESSAGES/nl_NL.po
  53. 3 2
      views/404.php
  54. 3 2
      views/503.php
  55. 43 22
      views/account.php
  56. 9 9
      views/account_deactivate.php
  57. 12 12
      views/account_delete.php
  58. 8 8
      views/address_add_form.php
  59. 17 17
      views/address_edit_form.php
  60. 6 6
      views/addresses.php
  61. 7 7
      views/become_a_tester.php
  62. 14 15
      views/contact.php
  63. 1 1
      views/error.php
  64. 21 15
      views/footer.php
  65. 12 12
      views/header.php
  66. 13 13
      views/home.php
  67. 8 8
      views/jobs.php
  68. 7 7
      views/log_in.php
  69. 7 7
      views/modal_services_1.php
  70. 6 6
      views/modal_services_2.php
  71. 4 4
      views/modal_services_3.php
  72. 9 9
      views/modal_test_claim.php
  73. 5 5
      views/modal_test_invoice.php
  74. 7 3
      views/pagination.php
  75. 7 7
      views/practice_form.php
  76. 3 3
      views/practice_template_select.php
  77. 47 37
      views/register.php
  78. 15 10
      views/reset_password.php
  79. 16 12
      views/services.php
  80. 64 37
      views/settings.php
  81. 16 16
      views/submit_id.php
  82. 10 8
      views/terms_decline.php
  83. 8 6
      views/test_form.php
  84. 13 14
      views/test_list_assigned.php
  85. 14 16
      views/test_list_completed.php
  86. 2 2
      views/test_verify_form.php
  87. 3 3
      views/tests.php
  88. 13 10
      views/tests_available.php
  89. 5 6
      views/user_edit_form.php

+ 2 - 1
composer.json

@@ -2,6 +2,7 @@
     "require": {
         "phpmailer/phpmailer": "^6.0",
 		"phpoffice/phppresentation": "dev-master",
-        "mpdf/mpdf": "^7.1"
+        "mpdf/mpdf": "^7.1",
+        "gettext/gettext": "^4.6"
     }
 }

+ 125 - 2
composer.lock

@@ -1,11 +1,134 @@
 {
     "_readme": [
         "This file locks the dependencies of your project to a known state",
-        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
+        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "3f02ca5c7eec779e858e901ae5bd2c76",
+    "content-hash": "15e6885568328a2e10960c2eb59cf96e",
     "packages": [
+        {
+            "name": "gettext/gettext",
+            "version": "v4.6.2",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/oscarotero/Gettext.git",
+                "reference": "93176b272d61fb58a9767be71c50d19149cb1e48"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/oscarotero/Gettext/zipball/93176b272d61fb58a9767be71c50d19149cb1e48",
+                "reference": "93176b272d61fb58a9767be71c50d19149cb1e48",
+                "shasum": ""
+            },
+            "require": {
+                "gettext/languages": "^2.3",
+                "php": ">=5.4.0"
+            },
+            "require-dev": {
+                "illuminate/view": "*",
+                "phpunit/phpunit": "^4.8|^5.7|^6.5",
+                "squizlabs/php_codesniffer": "^3.0",
+                "symfony/yaml": "~2",
+                "twig/extensions": "*",
+                "twig/twig": "^1.31|^2.0"
+            },
+            "suggest": {
+                "illuminate/view": "Is necessary if you want to use the Blade extractor",
+                "symfony/yaml": "Is necessary if you want to use the Yaml extractor/generator",
+                "twig/extensions": "Is necessary if you want to use the Twig extractor",
+                "twig/twig": "Is necessary if you want to use the Twig extractor"
+            },
+            "type": "library",
+            "autoload": {
+                "psr-4": {
+                    "Gettext\\": "src"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "Oscar Otero",
+                    "email": "oom@oscarotero.com",
+                    "homepage": "http://oscarotero.com",
+                    "role": "Developer"
+                }
+            ],
+            "description": "PHP gettext manager",
+            "homepage": "https://github.com/oscarotero/Gettext",
+            "keywords": [
+                "JS",
+                "gettext",
+                "i18n",
+                "mo",
+                "po",
+                "translation"
+            ],
+            "time": "2019-01-12T18:40:56+00:00"
+        },
+        {
+            "name": "gettext/languages",
+            "version": "2.5.0",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/mlocati/cldr-to-gettext-plural-rules.git",
+                "reference": "78db2d17933f0765a102f368a6663f057162ddbd"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/mlocati/cldr-to-gettext-plural-rules/zipball/78db2d17933f0765a102f368a6663f057162ddbd",
+                "reference": "78db2d17933f0765a102f368a6663f057162ddbd",
+                "shasum": ""
+            },
+            "require": {
+                "php": ">=5.3"
+            },
+            "require-dev": {
+                "phpunit/phpunit": "^4"
+            },
+            "bin": [
+                "bin/export-plural-rules",
+                "bin/export-plural-rules.php"
+            ],
+            "type": "library",
+            "autoload": {
+                "psr-4": {
+                    "Gettext\\Languages\\": "src/"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "Michele Locati",
+                    "email": "mlocati@gmail.com",
+                    "role": "Developer"
+                }
+            ],
+            "description": "gettext languages with plural rules",
+            "homepage": "https://github.com/mlocati/cldr-to-gettext-plural-rules",
+            "keywords": [
+                "cldr",
+                "i18n",
+                "internationalization",
+                "l10n",
+                "language",
+                "languages",
+                "localization",
+                "php",
+                "plural",
+                "plural rules",
+                "plurals",
+                "translate",
+                "translations",
+                "unicode"
+            ],
+            "time": "2018-11-13T22:06:07+00:00"
+        },
         {
             "name": "mpdf/mpdf",
             "version": "v7.1.9",

+ 6 - 0
config.template.php

@@ -3,6 +3,12 @@
 define("SESSION_NAME", "name");
 define("APP_NAME", "name");
 
+define("LOCALE", "en_GB");
+
+define("ADDRESS", "Check Policy Limited\n8 Market Street, Liskeard\nCornwall, PL14 3JJ");
+define("PHONE", "07841 353775");
+define("WHATSAPP", "447841353775");
+
 define("DB_HOST", "");
 define("DB_USERNAME", "");
 define("DB_PASSWORD", "");

+ 1 - 1
controllers/404.php

@@ -2,7 +2,7 @@
 
 header("HTTP/1.0 404 Not Found");
 
-$page_title = "Page Not Found";
+$page_title = _("Page Not Found");
 
 View::includeOnce("header", compact("page_title"));
 View::include("404");

+ 1 - 1
controllers/503.php

@@ -2,7 +2,7 @@
 
 header("HTTP/1.0 503 Not Found");
 
-$page_title = "Internal Server Error";
+$page_title = _("Internal Server Error");
 
 View::includeOnce("header", compact("page_title"));
 View::include("503");

+ 19 - 20
controllers/account.php

@@ -1,6 +1,6 @@
 <?php
 
-$page_title = "Account";
+$page_title = _("Account");
 
 $user = Core::$user;
 
@@ -14,9 +14,9 @@ $icons = [];
 
 if($user->level >= User::LEVEL_ADMIN) {
 
-	$icons[] = new AccountIcon("Customers", "/account/customers", "warehouse");
-	$icons[] = new AccountIcon("Map Overview", "/account/map-overview", "map-marked");
-	$icons[] = new AccountIcon(($user->level == User::LEVEL_SUPERADMIN ? "Users" : "Testers"), "/account/users", "users");
+	$icons[] = new AccountIcon(_("Customers"), "/account/customers", "warehouse");
+	$icons[] = new AccountIcon(_("Map Overview"), "/account/map-overview", "map-marked");
+	$icons[] = new AccountIcon(($user->level == User::LEVEL_SUPERADMIN ? _("Users") : _("Testers")), "/account/users", "users");
 
 	$users = User::query(["level" => User::LEVEL_UNVERIFIED]);
 	$tests = Test::query(["status" => Test::STATUS_PENDING_VERIFICATION]);
@@ -24,13 +24,13 @@ if($user->level >= User::LEVEL_ADMIN) {
 	$users_pending_verification = count($users);
 	$tests_pending_verification = count($tests);
 
-	$icons[] = new AccountIcon("Projects", "/account/projects", "list");
-	$icons[] = new AccountIcon("Locations", "/account/locations", "map-marker");
-	$icons[] = new AccountIcon("Templates", "/account/templates", "file-alt");
+	$icons[] = new AccountIcon(_("Projects"), "/account/projects", "list");
+	$icons[] = new AccountIcon(_("Locations"), "/account/locations", "map-marker");
+	$icons[] = new AccountIcon(_("Templates"), "/account/templates", "file-alt");
 }
 
 if($user->level >= User::LEVEL_CUSTOMER) {
-	$icons[] = new AccountIcon("Reports", "/account/reports", "chart-pie");
+	$icons[] = new AccountIcon(_("Reports"), "/account/reports", "chart-pie");
 }
 
 if($user->isTester() || $user->isAdmin()) {
@@ -38,28 +38,27 @@ if($user->isTester() || $user->isAdmin()) {
 	$tests_remaining = count($tests);
 
 	$tests_url = $user->isAdmin() ? "/account/tests?custom=overdue_test" : "/account/tests";
-
-	$tests_icon = new AccountIcon("Tests", $tests_url, "clipboard-check");
+	$tests_icon = new AccountIcon(_("Tests"), $tests_url, "clipboard-check");
 	$tests_icon->setCounter($tests_remaining);
 
 	$icons[] = $tests_icon;
-	$icons[] = new AccountIcon("Practice", "/account/practice", "chalkboard-teacher");
+	$icons[] = new AccountIcon(_("Practice"), "/account/practice", "chalkboard-teacher");
 }
 
 if($user->level == User::LEVEL_TESTER) {
-	$icons[] = new AccountIcon("Addresses", "/account/addresses", "address-book");
-	$icons[] = new AccountIcon("Tests (Completed)", "/account/tests/completed", "check");
+	$icons[] = new AccountIcon(_("Addresses"), "/account/addresses", "address-book");
+	$icons[] = new AccountIcon(_("Tests (Completed)"), "/account/tests/completed", "check");
 }
 
 if($user->level == User::LEVEL_REGISTERED) {
-	$icons[] = new AccountIcon("Submit ID", "/account/submit-id", "id-card");
+	$icons[] = new AccountIcon(_("Submit ID"), "/account/submit-id", "id-card");
 }
 
 if(!$user->terms_accepted) {
 	$icons = [];
 }
 
-$icons[] = new AccountIcon("Settings", "/account/settings", "cog");
+$icons[] = new AccountIcon(_("Settings"), "/account/settings", "cog");
 
 usort($icons, function($a, $b) {
 	return $a->name <=> $b->name;
@@ -68,24 +67,24 @@ usort($icons, function($a, $b) {
 // Actions
 $actions = [];
 if($user->level == User::LEVEL_DEACTIVATED) {
-	$actions[] = new AccountIcon("Reactivate Account", "/account/reactivate", "user-check");
+	$actions[] = new AccountIcon(_("Reactivate Account"), "/account/reactivate", "user-check");
 }
 else if($user->level == User::LEVEL_TESTER) {
-	$actions[] = new AccountIcon("Deactivate Account...", "/account/deactivate", "user-times");
+	$actions[] = new AccountIcon(_("Deactivate Account..."), "/account/deactivate", "user-times");
 }
 
-$actions[] = new AccountIcon("Delete Account...", "/account/delete", "user-slash");
+$actions[] = new AccountIcon(_("Delete Account..."), "/account/delete", "user-slash");
 
 // To-do
 $to_do = [];
 if($users_pending_verification) {
-	$icon = new AccountIcon("Verify Users", "/account/users?level=" . User::LEVEL_UNVERIFIED, "user-check");
+	$icon = new AccountIcon(_("Verify Users"), "/account/users?level=" . User::LEVEL_UNVERIFIED, "user-check");
 	$icon->setCounter($users_pending_verification);
 	$to_do[] = $icon;
 }
 
 if($tests_pending_verification) {
-	$icon = new AccountIcon("Verify Tests", "/account/tests?status=" . Test::STATUS_PENDING_VERIFICATION, "clipboard-check");
+	$icon = new AccountIcon(_("Verify Tests"), "/account/tests?status=" . Test::STATUS_PENDING_VERIFICATION, "clipboard-check");
 	$icon->setCounter($tests_pending_verification);
 	$to_do[] = $icon;
 }

+ 4 - 4
controllers/account_deactivate.php

@@ -1,8 +1,8 @@
 <?php
 
-$page_title = "Deactivate Account";
+$page_title = _("Deactivate Account");
 
-Core::addBreadcrumb("/account", "Account");
+Core::addBreadcrumb("/account", _("Account"));
 Core::addBreadcrumb("/account/deactivate", $page_title);
 
 $submit = http::value("submit");
@@ -11,9 +11,9 @@ if($submit) {
 		Core::validateCSRFToken($submit);
 
 		$success = Core::$user->deactivate();
-		if(!$success) throw new Exception("Failed to deactivate account. Please try again later.");
+		if(!$success) throw new Exception(_("Failed to deactivate account. Please try again later."));
 
-		Core::addAlert("success", "Deactivated account successfully.");
+		Core::addAlert("success", _("Deactivated account successfully."));
 		HTTP::redirect("/account");
 	}
 	catch(Exception $e) {

+ 4 - 4
controllers/account_delete.php

@@ -1,8 +1,8 @@
 <?php
 
-$page_title = "Delete Account";
+$page_title = _("Delete Account");
 
-Core::addBreadcrumb("/account", "Account");
+Core::addBreadcrumb("/account", _("Account"));
 Core::addBreadcrumb("/account/delete", $page_title);
 
 $submit = http::value("submit");
@@ -12,9 +12,9 @@ if($submit) {
 
 		$user = Core::$user;
 		$success = $user->softDelete();
-		if(!$success) throw new Exception("Failed to delete account. Please try again later.");
+		if(!$success) throw new Exception(_("Failed to delete account. Please try again later."));
 
-		Core::addAlert("success", "Account deleted successfully.");
+		Core::addAlert("success", _("Account deleted successfully."));
 
 		unset($_SESSION["user_id"]);
 

+ 2 - 2
controllers/account_reactivate.php

@@ -3,9 +3,9 @@
 $user = Core::$user;
 $user->level = User::LEVEL_TESTER;
 $success = $user->commit();
-if(!$success) throw new Exception("Failed to update our records. Please try again later.");
+if(!$success) throw new Exception(_("Failed to update our records. Please try again later."));
 
-Core::addAlert("success", "Account reactivated successfully.");
+Core::addAlert("success", _("Account reactivated successfully."));
 
 HTTP::redirect("/account");
 

+ 8 - 8
controllers/address_add.php

@@ -1,9 +1,9 @@
 <?php
 
-$page_title = "Add Address";
+$page_title = _("Add Address");
 
-Core::addBreadcrumb("/account", "Account");
-Core::addBreadcrumb("/account/addresses", "Addresses");
+Core::addBreadcrumb("/account", _("Account"));
+Core::addBreadcrumb("/account/addresses", _("Addresses"));
 Core::addBreadcrumb("/account/addresses/add", $page_title);
 
 $user_address = new UserAddress;
@@ -21,9 +21,9 @@ if($submit) {
 		$user_address->postal_code = http::value("postal_code", "trim");
 		$user_address->country = http::value("country", "trim");
 
-		if(empty($user_address->name)) $form_exception->addError("Name is required.");
-		if(empty($user_address->postal_code)) $form_exception->addError("Postal code is required.");
-		else if(empty($user_address->country)) $form_exception->addError("Country is required.");
+		if(empty($user_address->name)) $form_exception->addError(_("Name is required."));
+		if(empty($user_address->postal_code)) $form_exception->addError(_("Postal code is required."));
+		else if(empty($user_address->country)) $form_exception->addError(_("Country is required."));
 		else {
 			// Geocode the postal code and country
 			try {
@@ -43,7 +43,7 @@ if($submit) {
 				$user_address->longitude = $result->geometry->location->lng;
 			}
 			catch(Exception $e) {
-				$form_exception->addError("Failed to get location from postal code.");
+				$form_exception->addError(_("Failed to get location from postal code."));
 			}
 		}
 
@@ -51,7 +51,7 @@ if($submit) {
 
 		$success = $user_address->commit();
 
-		Core::addAlert("success", "Address added successfully.");
+		Core::addAlert("success", _("Address added successfully."));
 		HTTP::redirect("/account/addresses");
 	}
 	catch(FormException $e) {

+ 14 - 14
controllers/address_edit.php

@@ -1,9 +1,9 @@
 <?php
 
-$page_title = "Edit Address";
+$page_title = _("Edit Address");
 
 $user_address = UserAddress::get($id);
-if(!$user_address) throw new Exception("Address not found.");
+if(!$user_address) throw new Exception(_("Address not found."));
 
 $submit = http::value("submit");
 if($submit) {
@@ -24,22 +24,22 @@ if($submit) {
 		$user_address->latitude = http::value("latitude", "float");
 		$user_address->longitude = http::value("longitude", "float");
 
-		if(empty($user_address->name)) $form_exception->addError("Name is required.");
-		if(empty($user_address->address_1)) $form_exception->addError("Address line 1 is required.");
-		if(empty($user_address->city)) $form_exception->addError("City is required.");
-		if(empty($user_address->postal_code)) $form_exception->addError("Postal code is required.");
-		if(empty($user_address->country)) $form_exception->addError("Country is required.");
-		if(empty($user_address->max_radius_miles)) $form_exception->addError("Max distance is required.");
-		if(!in_array($user_address->max_radius_miles, UserAddress::RADIUSES)) $form_exception->addError("Max distance is invalid.");
+		if(empty($user_address->name)) $form_exception->addError(_("Name is required."));
+		if(empty($user_address->address_1)) $form_exception->addError(_("Address line 1 is required."));
+		if(empty($user_address->city)) $form_exception->addError(_("City is required."));
+		if(empty($user_address->postal_code)) $form_exception->addError(_("Postal code is required."));
+		if(empty($user_address->country)) $form_exception->addError(_("Country is required."));
+		if(empty($user_address->max_radius_miles)) $form_exception->addError(_("Max distance is required."));
+		if(!in_array($user_address->max_radius_miles, UserAddress::RADIUSES)) $form_exception->addError(_("Max distance is invalid."));
 
-		if(empty($user_address->latitude)) $form_exception->addError("Map location is required.");
-		else if(empty($user_address->longitude)) $form_exception->addError("Map location is required.");
+		if(empty($user_address->latitude)) $form_exception->addError(_("Map location is required."));
+		else if(empty($user_address->longitude)) $form_exception->addError(_("Map location is required."));
 
 		if($form_exception->hasErrors()) throw $form_exception;
 
 		$success = $user_address->commit();
 
-		Core::addAlert("success", "Address updated successfully.");
+		Core::addAlert("success", _("Address updated successfully."));
 		HTTP::redirect("/account/addresses");
 	}
 	catch(FormException $e) {
@@ -51,8 +51,8 @@ if($submit) {
 }
 
 
-Core::addBreadcrumb("/account", "Account");
-Core::addBreadcrumb("/account/addresses", "Addresses");
+Core::addBreadcrumb("/account", _("Account"));
+Core::addBreadcrumb("/account/addresses", _("Addresses"));
 Core::addBreadcrumb("/account/addresses/edit/$id", $page_title);
 
 View::includeOnce("header", compact("page_title"));

+ 4 - 4
controllers/addresses.php

@@ -1,8 +1,8 @@
 <?php
 
-$page_title = "Addresses";
+$page_title = _("Addresses");
 
-Core::addBreadcrumb("/account", "Account");
+Core::addBreadcrumb("/account", _("Account"));
 Core::addBreadcrumb("/account/addresses", $page_title);
 
 $submit = http::value("submit");
@@ -27,12 +27,12 @@ if($submit) {
 			"user_id" => Core::$user->id,
 		]);
 
-		if(!$address) throw new Exception("Address not found.");
+		if(!$address) throw new Exception(_("Address not found."));
 
 		$address->invoice = 1;
 		$success = $address->commit();
 
-		Core::addAlert("success", "Address set as invoice address successfully.");
+		Core::addAlert("success", _("Address set as invoice address successfully."));
 		HTTP::redirect("/account/addresses");
 	}
 	catch(Exception $e) {

+ 1 - 1
controllers/become_a_tester.php

@@ -1,6 +1,6 @@
 <?php
 
-$page_title = "Become a Tester";
+$page_title = _("Become a Tester");
 
 Core::addBreadcrumb("/become-a-tester", $page_title);
 

+ 7 - 7
controllers/contact.php

@@ -1,6 +1,6 @@
 <?php
 
-$page_title = "Contact";
+$page_title = _("Contact");
 
 Core::addBreadcrumb("/contact", $page_title);
 
@@ -16,11 +16,11 @@ if($submit) {
 
 		$form_exception = new FormException;
 
-		if(!Form::checkRecaptcha()) $form_exception->addError("reCAPTCHA check failed.");
-		if(empty($name)) $form_exception->addError("Name is required.");
-		if(empty($email)) $form_exception->addError("Email address is invalid.");
-		if(empty($phone)) $form_exception->addError("Contact number is required.");
-		if(empty($message)) $form_exception->addError("Message is required.");
+		if(!Form::checkRecaptcha()) $form_exception->addError(_("reCAPTCHA check failed."));
+		if(empty($name)) $form_exception->addError(_("Name is required."));
+		if(empty($email)) $form_exception->addError(_("Email address is invalid."));
+		if(empty($phone)) $form_exception->addError(_("Contact number is required."));
+		if(empty($message)) $form_exception->addError(_("Message is required."));
 
 		if($form_exception->hasErrors()) throw $form_exception;
 
@@ -50,7 +50,7 @@ if($submit) {
 
 		$mail->send();
 
-		Core::addAlert("success", "Message sent successfully. We will get back to you shortly.");
+		Core::addAlert("success", _("Message sent successfully. We will get back to you shortly."));
 		HTTP::redirect("/contact");
 	}
 	catch(FormException $e) {

+ 1 - 1
controllers/home.php

@@ -1,6 +1,6 @@
 <?php
 
-$page_title = "Home";
+$page_title = _("Home");
 
 Core::$show_alerts = false;
 

+ 1 - 1
controllers/jobs.php

@@ -1,6 +1,6 @@
 <?php
 
-$page_title = "Jobs";
+$page_title = _("Jobs");
 
 Core::addBreadcrumb("/jobs", $page_title);
 

+ 8 - 8
controllers/log_in.php

@@ -1,8 +1,8 @@
 <?php
 
-$page_title = "Log In";
+$page_title = _("Log In");
 
-Core::addBreadcrumb("/log-in", "Log In");
+Core::addBreadcrumb("/log-in", $page_title);
 
 $submit = http::value("submit");
 $csrf_token = $_SESSION["csrf_token"];
@@ -14,25 +14,25 @@ if($submit) {
 		$email = http::value("email", "email");
 		$password = http::value("password");
 
-		if(empty($email)) throw new Exception("Email address is invalid.");
-		if(empty($password)) throw new Exception("Password must be given.");
+		if(empty($email)) throw new Exception(_("Email address is invalid."));
+		if(empty($password)) throw new Exception(_("Password must be given."));
 
 		$user = User::queryOne([
 			"email" => db::escape($email)
 		]);
 
-		if(!$user) throw new Exception("Account not found.");
-		if(!password_verify($password, $user->password)) throw new Exception("Password is incorrect.");
+		if(!$user) throw new Exception(_("Account not found."));
+		if(!password_verify($password, $user->password)) throw new Exception(_("Password is incorrect."));
 		if(!$user->activated) {
 			$user->sendActivationEmail();
-			throw new Exception("Your email address is not verified. An activation email has been sent to your email address.");
+			throw new Exception(_("Your email address is not verified. An activation email has been sent to your email address."));
 		}
 
 		$_SESSION["user_id"] = $user->id;
 
 		$redirect = $_SESSION["log_in_redirect_uri"] ?? "/account";
 
-		Core::addAlert("success", "Log in successful.");
+		Core::addAlert("success", _("Log in successful."));
 		HTTP::redirect($redirect);
 
 	}

+ 1 - 1
controllers/log_out.php

@@ -2,7 +2,7 @@
 
 unset($_SESSION["user_id"]);
 
-Core::addAlert("success", "Log out successful.");
+Core::addAlert("success", _("Log out successful."));
 
 HTTP::redirect("/log-in");
 

+ 13 - 13
controllers/practice.php

@@ -3,14 +3,14 @@
 Core::addScript("public/js/app-practice-test.js");
 
 $template = Template::get($id);
-if(!$template) throw new Exception("Practice form not found.");
-if(!$template->practice) throw new Exception("This practice form is no longer available.");
+if(!$template) throw new Exception(_("Practice form not found."));
+if(!$template->practice) throw new Exception(_("This practice form is no longer available."));
 
-$page_title = "Practice";
+$page_title = _("Practice");
 
-Core::addBreadcrumb("/account", "Account");
+Core::addBreadcrumb("/account", _("Account"));
 Core::addBreadcrumb("/account/practice", $page_title);
-Core::addBreadcrumb("/account/practice/$id", "Form");
+Core::addBreadcrumb("/account/practice/$id", _("Form"));
 
 $json = json_decode($template->json);
 
@@ -69,14 +69,14 @@ if($submit) {
 					$start_unix = strtotime($start_override);
 					$end_unix = strtotime($end_override);
 
-					if($start_unix > $end_unix) $form_exception->addError("Entry Time must not be after Exit Time.");
+					if($start_unix > $end_unix) $form_exception->addError(_("Entry Time must not be after Exit Time."));
 					if(!$start_unix && $end_unix && $test->dts_start) {
 						$recorded_start_unix = Util::getUnixTimeFromUTC($test->dts_start);
-						if($end_unix < $recorded_start_unix) $form_exception->addError("Exit Time cannot be later than the recorded Entry Time.");
+						if($end_unix < $recorded_start_unix) $form_exception->addError(_("Exit Time cannot be later than the recorded Entry Time."));
 					}
 				}
 				else {
-					$form_exception->addError("Entry Time and Exit Time must be filled in.");
+					$form_exception->addError(_("Entry Time and Exit Time must be filled in."));
 				}
 
 			}
@@ -98,7 +98,7 @@ if($submit) {
 				try {
 					if(!$required && $file->error == UPLOAD_ERR_NO_FILE) continue;
 					if($required && $file->error == UPLOAD_ERR_NO_FILE) {
-						throw new Exception("$label is required.");
+						throw new Exception(sprintf(_("%s is required."), $label));
 					}
 
 					// Detect upload error
@@ -106,9 +106,9 @@ if($submit) {
 
 					// Get image details
 					$size = @getimagesize($file->tmp_name);
-					if(!$size) throw new Exception("The uploaded file for $label is not an image.");
+					if(!$size) throw new Exception(sprintf(_("The uploaded file for %s is not an image.")), $label);
 					list($width, $height, $type) = $size;
-					if($type != IMAGETYPE_JPEG) throw new Exception("The uploaded file for $label is not a JPEG.");
+					if($type != IMAGETYPE_JPEG) throw new Exception(sprintf(_("The uploaded file for %s is not a JPEG."), $label));
 
 					// Resize image
 					$output_image = Image::normalise($file->tmp_name);
@@ -126,8 +126,8 @@ if($submit) {
 			else {
 				$value = http::value($name, "trim");
 
-				if($required && empty($value)) $form_exception->addError("$label is required.");
-				if($values && !in_array($value, $values)) $form_exception->addError("Value for $label is invalid.");
+				if($required && empty($value)) $form_exception->addError(sprintf(_("%s is required."), $label));
+				if($values && !in_array($value, $values)) $form_exception->addError(sprintf(_("Value for %s is invalid."), $label));
 
 				if(in_array($name, Test::TEST_FIELDS)) {
 					$test->$name = $value;

+ 3 - 3
controllers/practice_file.php

@@ -1,15 +1,15 @@
 <?php
 
 $template = Template::get($id);
-if(!$template) throw new Exception("Practice form not found.");
+if(!$template) throw new Exception(_("Practice form not found."));
 
 $tests = $_SESSION["practice_tests"];
 $test = $tests[$id] ?? false;
-if(!$test) throw new Exception("Practice test not found.");
+if(!$test) throw new Exception(_("Practice test not found."));
 
 
 if(Core::$user->level < User::LEVEL_ADMIN) {
-	if(Core::$user->id != $test->tester_id) throw new Exception("You do not have permission to access this resource.");
+	if(Core::$user->id != $test->tester_id) throw new Exception(_("You do not have permission to access this resource."));
 }
 
 $directory = $test->getDirectory();

+ 2 - 2
controllers/practice_template_select.php

@@ -1,8 +1,8 @@
 <?php
 
-$page_title = "Select Practice Form";
+$page_title = _("Select Practice Form");
 
-Core::addBreadcrumb("/account", "Account");
+Core::addBreadcrumb("/account", _("Account"));
 Core::addBreadcrumb("/account/practice", $page_title);
 
 $templates = Template::query([

+ 1 - 1
controllers/privacy_policy.php

@@ -1,6 +1,6 @@
 <?php
 
-$page_title = "Privacy Policy";
+$page_title = _("Privacy Policy");
 
 Core::addBreadcrumb("/privacy-policy", $page_title);
 

+ 18 - 18
controllers/register.php

@@ -2,13 +2,13 @@
 
 if(Core::$user) HTTP::redirect("/account");
 
-$page_title = "Register";
+$page_title = _("Register");
 
 Core::addBreadcrumb("/register", $page_title);
 
 $user = new User;
 $user_address = new UserAddress();
-$user_address->name = "Current Residence";
+$user_address->name = _("Current Residence");
 $user_address->country = DEFAULT_COUNTRY;
 
 try {
@@ -22,7 +22,7 @@ try {
 		$password = http::value("password");
 		$password_confirm = http::value("password_confirm");
 
-		if($password != $password_confirm) $form_exception->addError("Passwords do not match.");
+		if($password != $password_confirm) $form_exception->addError(_("Passwords do not match."));
 
 		$user->email = http::value("email", "email");
 		$user->password = password_hash($password, PASSWORD_DEFAULT, ["cost" => 14]);
@@ -44,21 +44,21 @@ try {
 		$referrer = User::get($referrer_id);
 		if($referrer) $user->referrer_id = $referrer_id;
 
-		if(!Form::checkRecaptcha()) $form_exception->addError("reCAPTCHA check failed.");
-		if(!User::validatePassword($password)) $form_exception->addError("Password must be at least 6 characters in length and contain at least one lowercase, uppercase, number and special character.");
-		if(empty($user->email)) $form_exception->addError("Email address is invalid.");
-		if(empty($user->title)) $form_exception->addError("Title is required.");
-		if(empty($user->first_name)) $form_exception->addError("First name is required.");
-		if(empty($user->last_name)) $form_exception->addError("Last name is required.");
-		if(empty($user->date_of_birth)) $form_exception->addError("Date of birth is required.");
-		if(empty($user->phone)) $form_exception->addError("Mobile number is required.");
-		if(empty($user->terms_accepted)) $form_exception->addError("Acceptance of Terms and Conditions is required.");
+		if(!Form::checkRecaptcha()) $form_exception->addError(_("reCAPTCHA check failed."));
+		if(!User::validatePassword($password)) $form_exception->addError(_("Password must be at least 6 characters in length and contain at least one lowercase, uppercase, number and special character."));
+		if(empty($user->email)) $form_exception->addError(_("Email address is invalid."));
+		if(empty($user->title)) $form_exception->addError(_("Title is required."));
+		if(empty($user->first_name)) $form_exception->addError(_("First name is required."));
+		if(empty($user->last_name)) $form_exception->addError(_("Last name is required."));
+		if(empty($user->date_of_birth)) $form_exception->addError(_("Date of birth is required."));
+		if(empty($user->phone)) $form_exception->addError(_("Mobile number is required."));
+		if(empty($user->terms_accepted)) $form_exception->addError(_("Acceptance of Terms and Conditions is required."));
 
-		if(empty($user_address->postal_code)) $form_exception->addError("Postal code is required.");
-		if(empty($user_address->country)) $form_exception->addError("Country is required.");
+		if(empty($user_address->postal_code)) $form_exception->addError(_("Postal code is required."));
+		if(empty($user_address->country)) $form_exception->addError(_("Country is required."));
 
 		$email_exists = User::query(["email" => $user->email]);
-		if($email_exists) $form_exception->addError("Email address is already registered.");
+		if($email_exists) $form_exception->addError(_("Email address is already registered."));
 
 		// Geocode the postal code
 		try {
@@ -79,7 +79,7 @@ try {
 			$user_address->longitude = $result->geometry->location->lng;
 		}
 		catch(Exception $e) {
-			$form_exception->addError("Failed to get location from postal code and country.");
+			$form_exception->addError(_("Failed to get location from postal code and country."));
 		}
 
 		if($form_exception->hasErrors()) {
@@ -88,14 +88,14 @@ try {
 
 		// OK
 		$success = $user->commit();
-		if(!$success) throw new Exception("Registration failed. Please try again later.");
+		if(!$success) throw new Exception(_("Registration failed. Please try again later."));
 
 		$user_address->user_id = $user->id;
 		$success = $user_address->commit();
 
 		$user->sendActivationEmail();
 
-		Core::addAlert("success", "Registration successful. An email has been sent to verify your email address. Please follow the instructions in the email before logging in.");
+		Core::addAlert("success", _("Registration successful. An email has been sent to verify your email address. Please follow the instructions in the email before logging in."));
 		HTTP::redirect("/log-in");
 	}
 }

+ 8 - 8
controllers/reset_password.php

@@ -1,6 +1,6 @@
 <?php
 
-$page_title = "Reset Password";
+$page_title = _("Reset Password");
 
 Core::addBreadcrumb("/reset-password", $page_title);
 
@@ -11,7 +11,7 @@ if($token) {
 		"reset_token" => $token
 	]);
 
-	if(!$user) throw new Exception("Invalid reset token.");
+	if(!$user) throw new Exception(_("Invalid reset token."));
 
 	$submit = http::value("submit");
 	if($submit) {
@@ -23,8 +23,8 @@ if($token) {
 			$password = http::value("password");
 			$password_confirm = http::value("password_confirm");
 
-			if($password != $password_confirm) $form_exception->addError("Passwords do not match.");
-			if(!User::validatePassword($password)) $form_exception->addError("Password must be at least 6 characters in length and contain at least one lowercase, uppercase, number and special character.");
+			if($password != $password_confirm) $form_exception->addError(_("Passwords do not match."));
+			if(!User::validatePassword($password)) $form_exception->addError(_("Password must be at least 6 characters in length and contain at least one lowercase, uppercase, number and special character."));
 
 			if($form_exception->hasErrors()) throw $form_exception;
 
@@ -32,7 +32,7 @@ if($token) {
 
 			$success = $user->commit();
 
-			Core::addAlert("success", "Password reset successfully. You can now log in.");
+			Core::addAlert("success", _("Password reset successfully. You can now log in."));
 			HTTP::redirect("/log-in");
 		}
 		catch(FormException $e) {
@@ -53,8 +53,8 @@ else {
 			$form_exception = new FormException;
 
 			$email = http::value("email", "email");
-			if(!Form::checkRecaptcha()) $form_exception->addError("reCAPTCHA check failed.");
-			if(empty($email)) $form_exception->addError("Invalid email address.");
+			if(!Form::checkRecaptcha()) $form_exception->addError(_("reCAPTCHA check failed."));
+			if(empty($email)) $form_exception->addError(_("Invalid email address."));
 			if($form_exception->hasErrors()) throw $form_exception;
 
 			$user = User::queryOne(["email" => db::escape($email)]);
@@ -65,7 +65,7 @@ else {
 				sleep(2);
 			}
 
-			Core::addAlert("success", "A password reset email has been sent to the address provided if an account exists. Follow the instructions in the email to reset your password.");
+			Core::addAlert("success", _("A password reset email has been sent to the address provided if an account exists. Follow the instructions in the email to reset your password."));
 			HTTP::redirect("/log-in");
 		}
 		catch(FormException $e) {

+ 1 - 1
controllers/services.php

@@ -1,6 +1,6 @@
 <?php
 
-$page_title = "Services";
+$page_title = _("Services");
 
 Core::addBreadcrumb("/services", $page_title);
 

+ 17 - 12
controllers/settings.php

@@ -1,8 +1,8 @@
 <?php
 
-$page_title = "Settings";
+$page_title = _("Settings");
 
-Core::addBreadcrumb("/account", "Account");
+Core::addBreadcrumb("/account", _("Account"));
 Core::addBreadcrumb("/account/settings", $page_title);
 
 $user = Core::$user;
@@ -18,7 +18,7 @@ if($submit) {
 		$password = http::value("password");
 		$password_confirm = http::value("password_confirm");
 
-		if($password != $password_confirm) $form_exception->addError("Passwords do not match.");
+		if($password != $password_confirm) $form_exception->addError(_("Passwords do not match."));
 		if($password) {
 			$user->password = password_hash($password, PASSWORD_DEFAULT, ["cost" => 14]);
 		}
@@ -28,6 +28,8 @@ if($submit) {
 		$user->last_name = http::value("last_name", "trim");
 		$user->phone = http::value("phone", "trim");
 
+		$user->locale = http::value("locale", "trim");
+
 		$user->newsletter_consent = http::value("newsletter_content", "int");
 
 		$user->preferred_payment_method = http::value("preferred_payment_method", "int");
@@ -36,14 +38,17 @@ if($submit) {
 		$user->bank_account_number = http::value("bank_account_number", "trim");
 		$user->paypal_email = http::value("paypal_email", "email");
 
-		if($password && !User::validatePassword($password)) $form_exception->addError("Password must be at least 6 characters in length and contain at least one lowercase, uppercase, number and special character.");
-		if(empty($user->email)) $form_exception->addError("Email address is invalid.");
-		if(empty($user->title)) $form_exception->addError("Title is required.");
-		if(empty($user->first_name)) $form_exception->addError("First name is required.");
-		if(empty($user->last_name)) $form_exception->addError("Last name is required.");
-		if(empty($user->date_of_birth)) $form_exception->addError("Date of birth is required.");
-		if(empty($user->phone)) $form_exception->addError("Mobile number is required.");
-		if(!isset(User::PAYMENT_METHODS[$user->preferred_payment_method])) $form_exception->addError("Invalid payment method selected.");
+		$locales = Core::locales();
+
+		if($password && !User::validatePassword($password)) $form_exception->addError(_("Password must be at least 6 characters in length and contain at least one lowercase, uppercase, number and special character."));
+		if(empty($user->email)) $form_exception->addError(_("Email address is invalid."));
+		if(empty($user->title)) $form_exception->addError(_("Title is required."));
+		if(empty($user->first_name)) $form_exception->addError(_("First name is required."));
+		if(empty($user->last_name)) $form_exception->addError(_("Last name is required."));
+		if(empty($user->date_of_birth)) $form_exception->addError(_("Date of birth is required."));
+		if(empty($user->phone)) $form_exception->addError(_("Mobile number is required."));
+		if(!isset(User::PAYMENT_METHODS[$user->preferred_payment_method])) $form_exception->addError(_("Invalid payment method selected."));
+		if(!isset($locales[$user->locale])) $form_exception->addError(_("Invalid language selected."));
 
 		// Activation
 		$deactivate = http::value("deactivate");
@@ -60,7 +65,7 @@ if($submit) {
 
 		$success = $user->commit();
 
-		Core::addAlert("success", "Settings saved successfully.");
+		Core::addAlert("success", _("Settings saved successfully."));
 		HTTP::redirect("/account/settings");
 	}
 	catch(FormException $e) {

+ 8 - 8
controllers/submit_id.php

@@ -1,8 +1,8 @@
 <?php
 
-$page_title = "Submit ID";
+$page_title = _("Submit ID");
 
-Core::addBreadcrumb("/account", "Account");
+Core::addBreadcrumb("/account", _("Account"));
 Core::addBreadcrumb("/account/submit-id", $page_title);
 
 $submit = http::value("submit");
@@ -22,14 +22,14 @@ if($submit) {
 		if($photo->error != UPLOAD_ERR_OK) $form_exception->addError(HTTP::getUploadErrorString($photo->error));
 
 		$size = @getimagesize($id_document->tmp_name);
-		if(!$size) $form_exception->addError("The uploaded ID document is not an image.");
+		if(!$size) $form_exception->addError(_("The uploaded ID document is not an image."));
 		list($width, $height, $type) = $size;
-		if($type != IMAGETYPE_JPEG) $form_exception->addError("The uploaded ID document is not a JPEG.");
+		if($type != IMAGETYPE_JPEG) $form_exception->addError(_("The uploaded ID document is not a JPEG."));
 
 		$size = @getimagesize($photo->tmp_name);
-		if(!$size) $form_exception->addError("The uploaded photo is not an image.");
+		if(!$size) $form_exception->addError(_("The uploaded photo is not an image."));
 		list($width, $height, $type) = $size;
-		if($type != IMAGETYPE_JPEG) $form_exception->addError("The uploaded photo is not a JPEG.");
+		if($type != IMAGETYPE_JPEG) $form_exception->addError(_("The uploaded photo is not a JPEG."));
 
 		if($form_exception->hasErrors()) throw $form_exception;
 
@@ -53,7 +53,7 @@ if($submit) {
 			$user_file->dts_uploaded = Util::getDateTime();
 
 			$success = $user_file->commit();
-			if(!$success) throw new Exception("Failed to save the $name. Please try again later.");
+			if(!$success) throw new Exception(sprintf(_("Failed to save the %s. Please try again later."), $name));
 
 			$output_path = $user->getDirectory() . "/" . $user_file->id . ".jpg";
 
@@ -67,7 +67,7 @@ if($submit) {
 
 		// TODO: Send out pending verification email
 
-		Core::addAlert("success", "ID submitted successfully.");
+		Core::addAlert("success", _("ID submitted successfully."));
 		HTTP::redirect("/account");
 	}
 	catch(FormException $e) {

+ 2 - 2
controllers/terms_accept.php

@@ -3,9 +3,9 @@
 $user = Core::$user;
 $user->terms_accepted = 1;
 $success = $user->commit();
-if(!$success) throw new Exception("Failed to update our records. Please try again later.");
+if(!$success) throw new Exception(_("Failed to update our records. Please try again later."));
 
-Core::addAlert("success", "Terms and Conditions accepted successfully.");
+Core::addAlert("success", _("Terms & Conditions accepted successfully."));
 
 HTTP::redirect("/account");
 

+ 1 - 1
controllers/terms_and_conditions.php

@@ -1,6 +1,6 @@
 <?php
 
-$page_title = "Terms and Conditions";
+$page_title = _("Terms & Conditions");
 
 Core::addBreadcrumb("/terms-and-conditions", $page_title);
 

+ 3 - 3
controllers/terms_decline.php

@@ -1,14 +1,14 @@
 <?php
 
-$page_title = "Decline Terms & Conditions";
+$page_title = _("Decline Terms & Conditions");
 
-Core::addBreadcrumb("/account", "Account");
+Core::addBreadcrumb("/account", _("Account"));
 Core::addBreadcrumb("/account/decline-terms", $page_title);
 
 $user = Core::$user;
 $user->terms_accepted = 0;
 $success = $user->commit();
-if(!$success) throw new Exception("Failed to update our records. Please try again later.");
+if(!$success) throw new Exception(_("Failed to update our records. Please try again later."));
 
 View::includeOnce("header", compact("page_title"));
 View::include("terms_decline");

+ 15 - 15
controllers/test.php

@@ -3,7 +3,7 @@
 Core::addScript("public/js/app-test.js");
 
 $test = Test::get($id);
-if(!$test) throw new Exception("Test cannot be found.");
+if(!$test) throw new Exception(_("Test cannot be found."));
 
 $is_confirmed = $test->status == Test::STATUS_CONFIRMED;
 $is_started = $test->status == Test::STATUS_STARTED;
@@ -31,8 +31,8 @@ if(Core::$user->level == User::LEVEL_TESTER) {
 
 	Core::$show_footer_content = false;
 
-	if(Core::$user->id != $test->tester_id) throw new Exception("You do not have permission to view this page.");
-	if($test->status == Test::STATUS_ASSIGNED) throw new Exception("You do not have permission to view this page as you have not accepted the test yet.");
+	if(Core::$user->id != $test->tester_id) throw new Exception(_("You do not have permission to view this page."));
+	if($test->status == Test::STATUS_ASSIGNED) throw new Exception(_("You do not have permission to view this page as you have not accepted the test yet."));
 
 	// Show completed message
 	if($test->status > Test::STATUS_PENDING_VERIFICATION) {
@@ -76,14 +76,14 @@ if(Core::$user->level == User::LEVEL_TESTER) {
 						$start_unix = strtotime($start_override);
 						$end_unix = strtotime($end_override);
 
-						if($start_unix > $end_unix) $form_exception->addError("Entry Time must not be after Exit Time.");
+						if($start_unix > $end_unix) $form_exception->addError(_("Entry Time must not be after Exit Time."));
 						if(!$start_unix && $end_unix && $test->dts_start) {
 							$recorded_start_unix = Util::getUnixTimeFromUTC($test->dts_start);
-							if($end_unix < $recorded_start_unix) $form_exception->addError("Exit Time cannot be later than the recorded Entry Time.");
+							if($end_unix < $recorded_start_unix) $form_exception->addError(_("Exit Time cannot be later than the recorded Entry Time."));
 						}
 					}
 					else {
-						$form_exception->addError("Entry Time and Exit Time must be filled in.");
+						$form_exception->addError(_("Entry Time and Exit Time must be filled in."));
 					}
 
 				}
@@ -114,9 +114,9 @@ if(Core::$user->level == User::LEVEL_TESTER) {
 
 						// Get image details
 						$size = @getimagesize($file->tmp_name);
-						if(!$size) throw new Exception("The uploaded file for $label is not an image.");
+						if(!$size) throw new Exception(sprintf(_("The uploaded file for %s is not an image."), $label));
 						list($width, $height, $type) = $size;
-						if($type != IMAGETYPE_JPEG) throw new Exception("The uploaded file for $label is not a JPEG.");
+						if($type != IMAGETYPE_JPEG) throw new Exception(sprintf(_("The uploaded file for %s is not a JPEG."), $label));
 
 						// Resize image
 						$output_image = Image::normalise($file->tmp_name);
@@ -134,8 +134,8 @@ if(Core::$user->level == User::LEVEL_TESTER) {
 				else {
 					$value = http::value($name, "trim");
 
-					if($required && empty($value)) $form_exception->addError("$label is required.");
-					if($values && !in_array($value, $values)) $form_exception->addError("Value for $label is invalid.");
+					if($required && empty($value)) $form_exception->addError(sprintf(_("%s is required."), $label));
+					if($values && !in_array($value, $values)) $form_exception->addError(sprintf(_("Value for %s is invalid."), $label));
 
 					if(in_array($name, Test::TEST_FIELDS)) {
 						$test->$name = $value;
@@ -149,7 +149,7 @@ if(Core::$user->level == User::LEVEL_TESTER) {
 						}
 						$test_value->value = $value;
 						$success = $test_value->commit();
-						if(!$success) $form_exception->addError("Failed to save value for $label.");
+						if(!$success) $form_exception->addError(sprintf(_("Failed to save value for %s."), $label));
 					}
 				}
 
@@ -165,9 +165,9 @@ if(Core::$user->level == User::LEVEL_TESTER) {
 				$test->dts_start = Util::getDateTime();
 				$test->dts_updated = Util::getDateTime();
 				$success = $test->commit();
-				if(!$success) throw new Exception("Failed to save test. Please try again later.");
+				if(!$success) throw new Exception(_("Failed to save test. Please try again later."));
 
-				Core::addAlert("success", "Photos uploaded successfully.");
+				Core::addAlert("success", _("Photos uploaded successfully."));
 
 				HTTP::redirect("/account/tests/$id");
 
@@ -191,7 +191,7 @@ if(Core::$user->level == User::LEVEL_TESTER) {
 				$test->dts_updated = Util::getDateTime();
 
 				$success = $test->commit();
-				if(!$success) throw new Exception("Failed to save test. Please try again later.");
+				if(!$success) throw new Exception(_("Failed to save test. Please try again later."));
 
 				JSON::success();
 			}
@@ -435,7 +435,7 @@ else if(Core::$user->level >= User::LEVEL_VENUE) {
 	HTTP::redirect("/account/tests/$id/result");
 }
 else {
-	throw new Exception("Invalid request.");
+	throw new Exception(_("Invalid request."));
 }
 
 ?>

+ 6 - 6
controllers/test_confirm.php

@@ -1,9 +1,9 @@
 <?php
 
 $test = Test::get($id);
-if(!$test) throw new Exception("Test not found.");
-if($test->tester_id != Core::$user->id) throw new Exception("You do not have permission to view this page.");
-if($test->status > Test::STATUS_ASSIGNED) throw new Exception("The test has already been accepted or declined.");
+if(!$test) throw new Exception(_("Test not found."));
+if($test->tester_id != Core::$user->id) throw new Exception(_("You do not have permission to view this page."));
+if($test->status > Test::STATUS_ASSIGNED) throw new Exception(_("The test has already been accepted or declined."));
 
 switch($action) {
 	case "accept":
@@ -12,7 +12,7 @@ switch($action) {
 		$test->dts_updated = Util::getDateTime();
 		$test->commit();
 
-		Core::addAlert("success", "Test accepted successfully.");
+		Core::addAlert("success", _("Test accepted successfully."));
 		HTTP::redirect("/account/tests");
 
 		break;
@@ -21,12 +21,12 @@ switch($action) {
 
 		$test->decline();
 
-		Core::addAlert("success", "Test declined successfully.");
+		Core::addAlert("success", _("Test declined successfully."));
 		HTTP::redirect("/account/tests");
 
 		break;
 	default:
-		throw new Exception("Invalid action.");
+		throw new Exception(_("Invalid action."));
 }
 
 

+ 2 - 2
controllers/test_file.php

@@ -1,10 +1,10 @@
 <?php
 
 $test = Test::get($id);
-if(!$test) throw new Exception("Test not found.");
+if(!$test) throw new Exception(_("Test not found."));
 
 if(Core::$user->level < User::LEVEL_ADMIN) {
-	if(Core::$user->id != $test->tester_id) throw new Exception("You do not have permission to access this resource.");
+	if(Core::$user->id != $test->tester_id) throw new Exception(_("You do not have permission to access this resource."));
 }
 
 $directory = $test->getDirectory();

+ 5 - 5
controllers/test_invoice.php

@@ -3,9 +3,9 @@
 use \Mpdf\Mpdf;
 
 $test = Test::get($id);
-if(!$test) throw new Exception("Test not found.");
-if($test->status != Test::STATUS_COMPLETED) throw new Exception("An invoice cannot be generated for this test yet.");
-if(Core::$user->id != $test->tester_id && !Core::$user->canAdmin()) throw new Exception("You do not have permission to access this resource.");
+if(!$test) throw new Exception(_("Test not found."));
+if($test->status != Test::STATUS_COMPLETED) throw new Exception(_("An invoice cannot be generated for this test yet."));
+if(Core::$user->id != $test->tester_id && !Core::$user->canAdmin()) throw new Exception(_("You do not have permission to access this resource."));
 
 $project = $test->getProject();
 $template = $project->getTemplate();
@@ -27,8 +27,8 @@ $test->test_travel_cost = $travel_cost;
 $test->commit();
 
 $address = $tester->getInvoiceAddress();
-if(!$address) throw new Exception("Invoice address not found. Please set an address as the invoice address then try again.");
-if(!$tester->hasValidPaymentMethod()) throw new Exception("No valid payment method found. Please go to the Settings page and make sure all respective fields are filled in and then try again.");
+if(!$address) throw new Exception(_("Invoice address not found. Please set an address as the invoice address then try again."));
+if(!$tester->hasValidPaymentMethod()) throw new Exception(_("No valid payment method found. Please go to the Settings page and make sure all respective fields are filled in and then try again."));
 
 $address_parts = array_filter([
 	$address->address_1,

+ 1 - 2
controllers/test_pdf.php

@@ -5,7 +5,7 @@ use \Mpdf\Mpdf;
 // Controller may be included directly and $pdf can be accessed.
 
 $test = Test::get($id);
-if(!$test) throw new Exception("Test not found.");
+if(!$test) throw new Exception(_("Test not found."));
 
 $project = $test->getProject();
 $customer = $project->getCustomer();
@@ -194,7 +194,6 @@ ob_start()
 </html>
 
 <?php
-
 $html = ob_get_clean();
 
 $mpdf->WriteHTML($html);

+ 2 - 2
controllers/tests.php

@@ -1,8 +1,8 @@
 <?php
 
-$page_title = "Tests";
+$page_title = _("Tests");
 
-Core::addBreadcrumb("/account", "Account");
+Core::addBreadcrumb("/account", _("Account"));
 Core::addBreadcrumb("/account/tests", $page_title);
 
 $user = Core::$user;

+ 4 - 4
controllers/tests_available.php

@@ -2,14 +2,14 @@
 
 Core::addScript("public/js/app-tests-available.js");
 
-$page_title = "Find Tests";
+$page_title = _("Find Tests");
 
-Core::addBreadcrumb("/account", "Account");
-Core::addBreadcrumb("/account/tests", "Tests");
+Core::addBreadcrumb("/account", _("Account"));
+Core::addBreadcrumb("/account/tests", _("Tests"));
 Core::addBreadcrumb("/account/tests/available", $page_title);
 
 $user = Core::$user;
-if(!$user->can_claim) throw new Exception("You do not have permission to perform this action.");
+if(!$user->can_claim) throw new Exception(_("You do not have permission to perform this action."));
 
 $dts = date("Y-m-d H:i:s");
 

+ 9 - 9
controllers/tests_available_ajax.php

@@ -17,7 +17,7 @@ switch($action) {
 		]);
 
 		try {
-			if(!$test) throw new Exception("Test no longer available.");
+			if(!$test) throw new Exception(_("Test no longer available."));
 
 			$project = $test->getProject();
 
@@ -26,11 +26,11 @@ switch($action) {
 			$unix_due = strtotime("$date_due 23:59:59");
 
 			$user = Core::$user;
-			if($user->level == User::LEVEL_BANNED) throw new Exception("You are a banned tester.");
-			if($user->level == User::LEVEL_REGISTERED) throw new Exception("Your account is not verified.");
-			if($user->level == User::LEVEL_UNVERIFIED) throw new Exception("Your account is not verified.");
-			if($user->level == User::LEVEL_DEACTIVATED) throw new Exception("Your account is deactivated.");
-			if($user->level != User::LEVEL_TESTER) throw new Exception("You are not a tester.");
+			if($user->level == User::LEVEL_BANNED) throw new Exception(_("You are a banned tester."));
+			if($user->level == User::LEVEL_REGISTERED) throw new Exception(_("Your account is not verified."));
+			if($user->level == User::LEVEL_UNVERIFIED) throw new Exception(_("Your account is not verified."));
+			if($user->level == User::LEVEL_DEACTIVATED) throw new Exception(_("Your account is deactivated."));
+			if($user->level != User::LEVEL_TESTER) throw new Exception(_("You are not a tester."));
 
 			$test->status = Test::STATUS_CONFIRMED;
 			$test->tester_id = $user->id;
@@ -39,11 +39,11 @@ switch($action) {
 
 			if($unix_due) {
 				$test->dts_due = "$date_due 23:59:59";
-				if(strcmp($test->dts_due, $project->dts_start) < 0) throw new Exception("Too early.");
+				if(strcmp($test->dts_due, $project->dts_start) < 0) throw new Exception(_("Too early."));
 			}
 
 			$success = $test->commit();
-			if(!$success) throw new Exception("Test cannot be claimed, please try again later.");
+			if(!$success) throw new Exception(_("Test cannot be claimed, please try again later."));
 
 			$test->sendClaimedEmail();
 		}
@@ -79,7 +79,7 @@ switch($action) {
 
 		break;
 	default:
-		throw new Exception("Invalid action.");
+		throw new Exception(_("Invalid action."));
 }
 
 JSON::success($response);

+ 3 - 3
controllers/tests_completed.php

@@ -2,10 +2,10 @@
 
 Core::addScript("public/js/app-completed-tests.js");
 
-$page_title = "Completed Tests";
+$page_title = _("Completed Tests");
 
-Core::addBreadcrumb("/account", "Account");
-Core::addBreadcrumb("/account/tests", "Tests");
+Core::addBreadcrumb("/account", _("Account"));
+Core::addBreadcrumb("/account/tests", _("Tests"));
 Core::addBreadcrumb("/account/tests/completed", $page_title);
 
 $tests = Core::$user->getCompletedTests();

+ 2 - 2
controllers/tests_tester_kml.php

@@ -13,9 +13,9 @@ header("Content-Disposition: attachment; filename=tests-$dts_slug.kml");
 $xml = simplexml_load_file(ROOT_DIR . "/files/empty.kml");
 
 $folder_node = $xml->addChild("Folder");
-$folder_node->addChild("name", "Tests");
+$folder_node->addChild("name", _("Tests"));
 $folder_node->addChild("open", 1);
-$folder_node->addChild("description", "Test locations as of $dts");
+$folder_node->addChild("description", sprintf(_("Test locations as of %s"), $dts));
 
 foreach($locations as $location) {
 	$placemark_node = $folder_node->addChild("Placemark");

+ 3 - 3
controllers/user_activation.php

@@ -8,14 +8,14 @@ if($user && $user->activated == 0) {
 	$user->activated = 1;
 	$user->verify_token = null;
 	$success = $user->commit();
-	if(!$success) throw new Exception("Email verification failed. Please try again later.");
+	if(!$success) throw new Exception(_("Email verification failed. Please try again later."));
 
 	$user->sendWelcomeEmail();
 
-	Core::addAlert("success", "Email address verified. You can now log in to your account.");
+	Core::addAlert("success", _("Email address verified. You can now log in to your account."));
 }
 else {
-	Core::addAlert("danger", "Invalid verification token. The user account may have already been activated or the token has expired. Please try again.");
+	Core::addAlert("danger", _("Invalid verification token. The user account may have already been activated or the token has expired. Please try again."));
 }
 
 HTTP::redirect("/log-in");

+ 8 - 0
engine/core.php

@@ -20,6 +20,14 @@ class Core {
 
 	public static $scripts = [];
 
+	public static function locales() {
+		return [
+			"nl_NL" => "Dutch (Netherlands)",
+			"en_GB" => "English (United Kingdom)",
+			"es_ES" => "Spanish (Spain)",
+		];
+	}
+
 	public static function addAlert($class, $message) {
 		$alerts = $_SESSION["alerts"] ?? [];
 		$alerts[] = [$class, $message];

+ 2 - 2
engine/form.php

@@ -3,8 +3,8 @@
 class Form {
 
 	const BOOLEAN_OPTIONS = [
-		0 => "No",
-		1 => "Yes",
+		0 => NO,
+		1 => YES,
 	];
 
 	public static function checked($value) {

+ 48 - 22
engine/test.php

@@ -59,25 +59,41 @@ class Test extends Model {
 
 		// Build
 		$builder = new EmailBuilder;
-		$builder->addParagraph("<b>Hi $name,</b>");
-		$builder->addLeadParagraph("Congrats, you have been allocated a test!");
+		$builder->addParagraph("<b>" . sprintf(_("Hi %s"), $name) . "</b>");
+		$builder->addLeadParagraph(_("Congrats, you have been allocated a test!"));
 
 		if($project->isNighttime()) {
-			$builder->addParagraph("<b><font color=\"red\">Evening Test to be done between 7PM and midnight.</font></b>");
+			$builder->addParagraph("<b><font color=\"red\">" . _("Evening Test to be done between 7PM and midnight.") . "</font></b>");
 		}
 
 		if($message) {
 			$builder->addParagraph($message);
 		}
 
-		$builder->addParagraph("We need you to confirm if you are able to do the test. Please check the details below and then confirm by pressing the <b>Accept</b> or <b>Decline</b> buttons and once you tap <b>Accept</b>, the test will be allocated to you.");
+		$builder->addParagraph(sprintf(_("We need you to confirm if you are able to do the test. Please check the details below and then confirm by pressing the %sAccept%s or %sDecline%s buttons and once you tap %sAccept%s, the test will be allocated to you."),
+			'<b>', '</b>',
+			'<b>', '</b>',
+			'<b>', '</b>'
+		));
 		$builder->addAcceptDeclineButtons($base_url);
-		$builder->addParagraph("The site address is: <b>$address</b>");
-		$builder->addParagraph("The date that need to complete and submit the results by is: <font color=\"red\"><b>$date_due</b></font>");
-		$builder->addParagraph("For methodology and further notes please check the <b>Useful Documents</b> section on the <b>Account</b> page.");
-		$builder->addParagraph("If you agree to conduct the test, log in and then go to <b>Tests</b> where you will be able to see the tests available to you. Please tap the <b>Begin</b> button and follow the instructions that is shown.");
-		$builder->addParagraph("If you have any questions please send them to <a href=\"mailto:tests@check-policy.com\">tests@check-policy.com</a> or call <b>$admin_first_name</b> on <b>$admin_phone</b>.");
-		$builder->addParagraph("If you are unable to submit the results via the web-based app please contact us and we can send you an offline form to complete. Please accept the test by tapping the <b>Accept</b> button and email us back saying you would like an offline form.");
+		$builder->addParagraph(sprintf(_("The site address is: %s"), "<b>{$address}</b>"));
+		$builder->addParagraph(sprintf(_("The date that need to complete and submit the results by is: %s"), "<font color=\"red\"><b>$date_due</b></font>"));
+		$builder->addParagraph(sprintf(_("For methodology and further notes please check the %sUseful Documents%s section on the %sAccount%s page."),
+			'<b>', '</b>',
+			'<b>', '</b>'
+		));
+		$builder->addParagraph(sprintf(_("If you agree to conduct the test, log in and then go to %sTests%s where you will be able to see the tests available to you. Please tap the %sBegin%s button and follow the instructions that is shown."),
+			'<b>', '</b>',
+			'<b>', '</b>'
+		));
+		$builder->addParagraph(sprintf(_("If you have any questions please send them to %s or call %s on %s."),
+			"<a href=\"mailto:tests@check-policy.com\">tests@check-policy.com</a>",
+			"<b>$admin_first_name</b>",
+			"<b>$admin_phone</b>"
+		));
+		$builder->addParagraph(sprintf(_("If you are unable to submit the results via the web-based app please contact us and we can send you an offline form to complete. Please accept the test by tapping the %sAccept%s button and email us back saying you would like an offline form."),
+			'<b>', '</b>'
+		));
 		$content = $builder->build();
 
 		// Send
@@ -85,7 +101,7 @@ class Test extends Model {
 		$mail->setHtmlContent($content);
 		$mail->setFrom(EMAIL_CONTACT, EMAIL_FROM_NAME);
 		$mail->addAddress($tester->email, $tester->getDisplayName());
-		$mail->setSubject("You have been allocated a test");
+		$mail->setSubject(_("You have been allocated a test"));
 		$mail->send();
 	}
 
@@ -102,19 +118,29 @@ class Test extends Model {
 
 		// Build
 		$builder = new EmailBuilder;
-		$builder->addParagraph("<b>Hi $name,</b>");
-		$builder->addLeadParagraph("Congrats, you have claimed a test!");
+		$builder->addParagraph("<b>" . sprintf(_("Hi %s"), $name) . "</b>");
+		$builder->addLeadParagraph(_("Congrats, you have claimed a test!"));
 
 		if($project->isNighttime()) {
-			$builder->addParagraph("<b><font color=\"red\">Evening Test to be done between 7PM and midnight.</font></b>");
+			$builder->addParagraph("<b><font color=\"red\">" . _("Evening Test to be done between 7PM and midnight.") . "</font></b>");
 		}
 
-		$builder->addParagraph("The site address is: <b>$address</b>");
-		$builder->addParagraph("The date that need to complete and submit the results by is: <font color=\"red\"><b>$date_due</b></font>");
-		$builder->addParagraph("For methodology and further notes please check the <b>Useful Documents</b> section on the <b>Account</b> page.");
-		$builder->addParagraph("Log in and then go to <b>Tests</b> where you will be able to see the tests available to you. Please tap the <b>Begin</b> button and follow the instructions that is shown.");
-		$builder->addParagraph("If you have any questions please send them to <a href=\"mailto:tests@check-policy.com\">tests@check-policy.com</a> or call <b>Check Policy</b> on 07841 353775.");
-		$builder->addParagraph("If you are unable to submit the results via the web-based app please contact us and we can send you an offline form to complete.");
+		$builder->addParagraph(sprintf(_("The site address is: %s"), "<b>$address</b>"));
+		$builder->addParagraph(sprintf(_("The date that need to complete and submit the results by is: %s"), "<font color=\"red\"><b>$date_due</b></font>"));
+		$builder->addParagraph(sprintf(_("For methodology and further notes please check the %sUseful Documents%s section on the %sAccount%s page."),
+			'<b>', '</b>',
+			'<b>', '</b>'
+		));
+		$builder->addParagraph(sprintf(_("Log in and then go to %sTests%s where you will be able to see the tests available to you. Please tap the %sBegin%s button and follow the instructions that is shown."),
+			'<b>', '</b>',
+			'<b>', '</b>'
+		));
+		$builder->addParagraph(sprintf(_("If you have any questions please send them to %s or call %s on %s."),
+			"<a href=\"mailto:tests@check-policy.com\">tests@check-policy.com</a>",
+			"<b>$admin_first_name</b>",
+			"<b>$admin_phone</b>"
+		));
+		$builder->addParagraph(_("If you are unable to submit the results via the web-based app please contact us and we can send you an offline form to complete."));
 		$content = $builder->build();
 
 		// Send
@@ -122,7 +148,7 @@ class Test extends Model {
 		$mail->setHtmlContent($content);
 		$mail->setFrom(EMAIL_CONTACT, EMAIL_FROM_NAME);
 		$mail->addAddress($tester->email, $tester->getDisplayName());
-		$mail->setSubject("You have claimed a test");
+		$mail->setSubject(_("You have claimed a test"));
 		$mail->send();
 	}
 
@@ -318,7 +344,7 @@ class Test extends Model {
 
 	public function getPassText() {
 		if(is_null($this->pass)) return "Pending";
-		return $this->pass ? "Pass" : "Fail";
+		return $this->pass ? _("Pass") : _("Fail");
 	}
 
 	public function getMPDF() {

+ 57 - 44
engine/user.php

@@ -4,13 +4,9 @@ class User extends Model {
 
 	protected static $table = "user";
 	protected static $id_field = "id";
-	protected static $fillable_fields = ["email", "old_id", "referrer_id", "password", "activated", "level", "score", "title", "first_name", "last_name", "gender", "date_of_birth", "reported", "reported_comment", "can_claim", "phone", "verify_token", "reset_token", "terms_accepted", "newsletter_consent", "preferred_payment_method", "bank_name", "bank_sort_code", "bank_account_number", "paypal_email", "dts_registered", "dts_last_seen", "dts_verified", "dts_deleted", "verifier_id", "verifier_notes"];
+	protected static $fillable_fields = ["email", "old_id", "referrer_id", "password", "activated", "level", "score", "title", "first_name", "last_name", "gender", "date_of_birth", "locale", "reported", "reported_comment", "can_claim", "phone", "verify_token", "reset_token", "terms_accepted", "newsletter_consent", "preferred_payment_method", "bank_name", "bank_sort_code", "bank_account_number", "paypal_email", "dts_registered", "dts_last_seen", "dts_verified", "dts_deleted", "verifier_id", "verifier_notes"];
 
 	// Constants
-
-	const TITLES = ["Miss", "Mr", "Ms", "Dr"];
-	const GENDERS = ["Female", "Male", "Unspecified"];
-
 	const LEVEL_BANNED = 0;
 	const LEVEL_REGISTERED = 1;
 	const LEVEL_UNVERIFIED = 2;
@@ -44,6 +40,23 @@ class User extends Model {
 	];
 
 	// Static methods
+	public static function titles() {
+		return [
+			"Miss" => MISS,
+			"Mr" => MR,
+			"Ms" => MS,
+			"Dr" => DR
+		];
+	}
+
+	public static function genders() {
+		return [
+			"Female" => FEMALE,
+			"Male" => MALE,
+			"Unspecified" => UNSPECIFIED
+		];
+	}
+
 	public static function validatePassword($password) {
 		$lowercase = preg_match("/[a-z]/", $password);
 		$uppercase = preg_match("/[A-Z]/", $password);
@@ -82,9 +95,9 @@ class User extends Model {
 
 		// Build
 		$builder = new EmailBuilder;
-		$builder->addParagraph("<b>Hi $name</b>");
-		$builder->addLeadParagraph("Thanks for registering!");
-		$builder->addParagraph("Welcome to Check Policy! Before you can log in, you will need to verify your email address. You can do so by tapping the following link:");
+		$builder->addParagraph("<b>" . sprintf(_("Hi %s"), $name) . "</b>");
+		$builder->addLeadParagraph(_("Thanks for registering!"));
+		$builder->addParagraph(sprintf(_("Welcome to %s! Before you can log in, you will need to verify your email address. You can do so by tapping the following link:"), APP_NAME));
 		$builder->addParagraph("<a href=\"$link\">$link</a>");
 		$content = $builder->build();
 
@@ -94,7 +107,7 @@ class User extends Model {
 		$mail->setFrom(EMAIL_NO_REPLY, EMAIL_FROM_NAME);
 		$mail->addAddress($this->email, $this->getDisplayName());
 
-		$mail->setSubject("Verify your email address");
+		$mail->setSubject(_("Verify your email address"));
 
 		$mail->send();
 
@@ -109,9 +122,9 @@ class User extends Model {
 
 		// Build
 		$builder = new EmailBuilder;
-		$builder->addParagraph("<b>Hi $name</b>");
-		$builder->addLeadParagraph("Thanks for verifying your email address!");
-		$builder->addParagraph("Welcome to Check Policy! Before you can take part in tests, you will need to provide us with some ID. You can do so by tapping the following link:");
+		$builder->addParagraph("<b>" . sprintf(_("Hi %s"), $name) . "</b>");
+		$builder->addLeadParagraph(_("Thanks for verifying your email address!"));
+		$builder->addParagraph(sprintf(_("Welcome to %s! Before you can take part in tests, you will need to provide us with some ID. You can do so by tapping the following link:"), APP_NAME));
 		$builder->addParagraph("<a href=\"$link\">$link</a>");
 		$content = $builder->build();
 
@@ -120,7 +133,7 @@ class User extends Model {
 		$mail->setHtmlContent($content);
 		$mail->setFrom(EMAIL_NO_REPLY, EMAIL_FROM_NAME);
 		$mail->addAddress($this->email, $this->getDisplayName());
-		$mail->setSubject("Welcome to Check Policy");
+		$mail->setSubject(sprintf(_("Welcome to %s"), APP_NAME));
 		$mail->send();
 
 		return true;
@@ -134,20 +147,20 @@ class User extends Model {
 
 		// Build
 		$builder = new EmailBuilder;
-		$builder->addParagraph("<b>Hi $name</b>");
-		$builder->addLeadParagraph("Your application has been successful!");
-		$builder->addParagraph("Welcome to Check Policy! In order to get you a test as soon as possible, we need one final confirmation. Please log in to your account and have a quick read of the documents that explain what we need you to do during a test.");
-		$builder->addParagraph("When you're ready to try a Practice test, in your account and select the \"Practice\" option.");
-		$builder->addParagraph("1. As it is a Practice test, you can reset and start over as many times as you like because it doesn't count but lets you see what the real thing is like.");
-		$builder->addParagraph("2. Email us at contact@check-policy.com and let us know that you're ready.");
-		$builder->addParagraph("3. We will allocate a test to you as soon as possible.");
-
-		$builder->addParagraph("Remember to check your online account for when tests become available.");
-		$builder->addParagraph("Keep an eye out for emails inviting you to accept a test via the email or log in to your account where you can see your available tests.");
-		$builder->addParagraph("If you accept to do a test within the agreed period (usually 7 days) please click Accept to confirm that you would like to do the test within the agreed period.");
-		$builder->addParagraph("If you can't make it (it's too far or you'll be away), please Reject the test or email us with other suitable dates.");
-		$builder->addParagraph("After you click Accept, you will be given the option to Begin the test whenever you want. Just log in to your account and click Begin on the test.");
-		$builder->addParagraph("Once again welcome to Check Policy - Accept, Begin, Complete and get paid for up to 8 minutes work!");
+		$builder->addParagraph("<b>" . sprintf(_("Hi %s"), $name) . "</b>");
+		$builder->addLeadParagraph(_("Your application has been successful!"));
+		$builder->addParagraph(sprintf(_("Welcome to %s! In order to get you a test as soon as possible, we need one final confirmation. Please log in to your account and have a quick read of the documents that explain what we need you to do during a test."), APP_NAME));
+		$builder->addParagraph(_("When you're ready to try a Practice test, in your account and select the \"Practice\" option."));
+		$builder->addParagraph(_("1. As it is a Practice test, you can reset and start over as many times as you like because it doesn't count but lets you see what the real thing is like."));
+		$builder->addParagraph(sprintf(_("2. Email us at %s and let us know that you're ready."), "contact@" . DOMAIN));
+		$builder->addParagraph(_("3. We will allocate a test to you as soon as possible."));
+
+		$builder->addParagraph(_("Remember to check your online account for when tests become available."));
+		$builder->addParagraph(_("Keep an eye out for emails inviting you to accept a test via the email or log in to your account where you can see your available tests."));
+		$builder->addParagraph(_("If you accept to do a test within the agreed period (usually 7 days) please click Accept to confirm that you would like to do the test within the agreed period."));
+		$builder->addParagraph(_("If you can't make it (it's too far or you'll be away), please Reject the test or email us with other suitable dates."));
+		$builder->addParagraph(_("After you click Accept, you will be given the option to Begin the test whenever you want. Just log in to your account and click Begin on the test."));
+		$builder->addParagraph(sprintf(_("Once again welcome to %s - Accept, Begin, Complete and get paid for up to 8 minutes work!"), APP_NAME));
 		$content = $builder->build();
 
 		// Send
@@ -155,7 +168,7 @@ class User extends Model {
 		$mail->setHtmlContent($content);
 		$mail->setFrom(EMAIL_NO_REPLY, EMAIL_FROM_NAME);
 		$mail->addAddress($this->email, $this->getDisplayName());
-		$mail->setSubject("ID accepted and verified");
+		$mail->setSubject(_("ID accepted and verified"));
 		$mail->send();
 
 		return true;
@@ -170,12 +183,12 @@ class User extends Model {
 
 		// Build
 		$builder = new EmailBuilder;
-		$builder->addParagraph("<b>Hi $name</b>");
-		$builder->addLeadParagraph("Thank you for submitting your ID details.");
-		$builder->addParagraph("Unfortunately we could not verify and accept your documents and/or image.");
-		$builder->addParagraph("The reason for this is: $reason");
-		$builder->addParagraph("Please log in again, resubmit and we will try again.");
-		$builder->addParagraph("We look forward to welcoming you on-board soon!");
+		$builder->addParagraph("<b>" . sprintf(_("Hi %s"), $name) . "</b>");
+		$builder->addLeadParagraph(_("Thank you for submitting your ID details."));
+		$builder->addParagraph(_("Unfortunately we could not verify and accept your documents and/or image."));
+		$builder->addParagraph(sprintf(_("The reason for this is: %s"), $reason));
+		$builder->addParagraph(_("Please log in again, resubmit and we will try again."));
+		$builder->addParagraph(_("We look forward to welcoming you onboard soon!"));
 		$content = $builder->build();
 
 		// Send
@@ -183,7 +196,7 @@ class User extends Model {
 		$mail->setHtmlContent($content);
 		$mail->setFrom(EMAIL_NO_REPLY, EMAIL_FROM_NAME);
 		$mail->addAddress($this->email, $this->getDisplayName());
-		$mail->setSubject("We could not verify your ID details");
+		$mail->setSubject(_("We could not verify your ID details"));
 		$mail->send();
 
 		return true;
@@ -200,11 +213,11 @@ class User extends Model {
 
 		// Build
 		$builder = new EmailBuilder;
-		$builder->addParagraph("<b>Hi $name</b>");
-		$builder->addLeadParagraph("A reset password request has been received.");
-		$builder->addParagraph("To reset your password, please tap on the following link:");
+		$builder->addParagraph("<b>" . sprintf(_("Hi %s"), $name) . "</b>");
+		$builder->addLeadParagraph(_("A reset password request has been received."));
+		$builder->addParagraph(_("To reset your password, please tap on the following link:"));
 		$builder->addParagraph("<a href=\"$link\">$link</a>");
-		$builder->addParagraph("If you <strong>did not</strong> request for your password to be reset, please ignore this email.");
+		$builder->addParagraph(sprintf(_("If you %sdid not%s request for your password to be reset, please ignore this email."), '<strong>', '</strong>'));
 		$content = $builder->build();
 
 		// Send
@@ -214,7 +227,7 @@ class User extends Model {
 		$mail->setFrom(EMAIL_NO_REPLY, EMAIL_FROM_NAME);
 		$mail->addAddress($this->email, $this->getDisplayName());
 
-		$mail->setSubject("Password reset instructions");
+		$mail->setSubject(_("Password reset instructions"));
 
 		$mail->send();
 
@@ -276,15 +289,15 @@ class User extends Model {
 
 	public function getGenderText() {
 
-		if($this->gender == "M") return "Male";
-		if($this->gender == "F") return "Female";
+		if($this->gender == "M") return MALE;
+		if($this->gender == "F") return FEMALE;
 
 		return "Unspecified";
 	}
 
 	public function getAge() {
 
-		if(is_null($this->date_of_birth)) return "N/A";
+		if(is_null($this->date_of_birth)) return _("N/A");
 
 		$now = new DateTime("now");
 		$dob = new DateTime($this->date_of_birth);
@@ -293,7 +306,7 @@ class User extends Model {
 
 	public function getDisplayName() {
 
-		if(empty($this->email)) return "Deleted User";
+		if(empty($this->email)) return _("Deleted User");
 
 		$parts = array_filter([$this->first_name, $this->last_name]);
 		return implode(" ", $parts);

+ 35 - 3
initialise.php

@@ -1,5 +1,8 @@
 <?php
 
+use Gettext\Translator;
+use Gettext\Translations;
+
 // Runtime checks
 if (phpversion() < "7") die("Project requires PHP 7.0 or above");
 //if (!extension_loaded("imagick")) die("Project requires the Imagick PHP extension");
@@ -28,10 +31,13 @@ chdir(__DIR__);
 require "config.php";
 require "vendor/autoload.php";
 
+// Timezone
 date_default_timezone_set(TIMEZONE);
 
+// Database
 DB::connect(DB_HOST, DB_USERNAME, DB_PASSWORD, DB_NAME);
 
+// Base breadcrumb
 Core::addBreadcrumb("/", "Home");
 
 // Start session
@@ -50,6 +56,35 @@ if(!empty($_SESSION["user_id"])) {
 	Core::$user->commit();
 }
 
+// Locale
+$translator = new Translator;
+
+$locale = Core::$user->locale ?? LOCALE;
+$mo_path = "locales/{$locale}/LC_MESSAGES/{$locale}.mo";
+
+if(file_exists($mo_path)) {
+	$translations = Translations::fromMoFile($mo_path);
+	$translator->loadTranslations($translations);
+}
+
+$translator->register();
+function _() {
+	return call_user_func_array("__", func_get_args());
+}
+
+// Strings
+define("YES", _("Yes"));
+define("NO", _("No"));
+
+define("MALE", _("Male"));
+define("FEMALE", _("Female"));
+define("UNSPECIFIED", _("Unspecified"));
+
+define("MISS", _("Miss"));
+define("MR", _("Mr"));
+define("MS", _("Ms"));
+define("DR", _("Dr"));
+
 // Extend session cookie if it exists
 if(!empty($_COOKIE[SESSION_NAME])) {
 	Session::extend(time() + 14 * 86400);
@@ -61,11 +96,8 @@ if(PHP_SAPI != "cli") {
 	setcookie("cookie_alert_shown", 1, time() + 8640000, "/", DOMAIN);
 }
 
-
 Core::addScript("public/js/jquery-3.3.1.min.js");
 Core::addScript("public/js/popper.min.js");
 Core::addScript("public/js/bootstrap.min.js");
 Core::addScript("public/js/clipboard.min.js");
 Core::addScript("public/js/app.js");
-
-?>

BIN
locales/en_GB/LC_MESSAGES/en_GB.mo


+ 2136 - 0
locales/en_GB/LC_MESSAGES/en_GB.po

@@ -0,0 +1,2136 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Check Policy Limited\n"
+"POT-Creation-Date: 2019-02-04 21:23+0000\n"
+"PO-Revision-Date: 2019-03-12 01:42+0000\n"
+"Last-Translator: Alan Lam <alanhmlam@gmail.com>\n"
+"Language-Team: Check Policy Limited\n"
+"Language: en_GB\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.2.1\n"
+"X-Poedit-Basepath: ../../..\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Poedit-SearchPath-0: views\n"
+"X-Poedit-SearchPath-1: controllers\n"
+"X-Poedit-SearchPath-2: initialise.php\n"
+"X-Poedit-SearchPath-3: engine\n"
+
+#: controllers/404.php:5 views/404.php:3
+msgid "Page Not Found"
+msgstr "Page Not Found"
+
+#: controllers/503.php:5 views/503.php:3
+msgid "Internal Server Error"
+msgstr "Internal Server Error"
+
+#: controllers/account.php:3 controllers/account_deactivate.php:5
+#: controllers/account_delete.php:5 controllers/address_add.php:5
+#: controllers/address_edit.php:54 controllers/addresses.php:5
+#: controllers/practice.php:11 controllers/practice_template_select.php:5
+#: controllers/settings.php:5 controllers/submit_id.php:5
+#: controllers/terms_decline.php:5 controllers/tests.php:5
+#: controllers/tests_available.php:7 controllers/tests_completed.php:7
+#: views/footer.php:28 views/header.php:89
+msgid "Account"
+msgstr ""
+
+#: controllers/account.php:17
+msgid "Customers"
+msgstr ""
+
+#: controllers/account.php:18
+msgid "Map Overview"
+msgstr ""
+
+#: controllers/account.php:19
+msgid "Users"
+msgstr ""
+
+#: controllers/account.php:19
+msgid "Testers"
+msgstr ""
+
+#: controllers/account.php:27
+msgid "Projects"
+msgstr ""
+
+#: controllers/account.php:28
+msgid "Locations"
+msgstr ""
+
+#: controllers/account.php:29
+msgid "Templates"
+msgstr ""
+
+#: controllers/account.php:33
+msgid "Reports"
+msgstr ""
+
+#: controllers/account.php:40 controllers/tests.php:3
+#: controllers/tests_available.php:8 controllers/tests_completed.php:8
+#: controllers/tests_tester_kml.php:16 views/test_list_assigned.php:5
+#: views/tests.php:3
+msgid "Tests"
+msgstr ""
+
+#: controllers/account.php:44 controllers/practice.php:9
+msgid "Practice"
+msgstr ""
+
+#: controllers/account.php:48 controllers/address_add.php:6
+#: controllers/address_edit.php:55 controllers/addresses.php:3
+#: views/addresses.php:2
+msgid "Addresses"
+msgstr ""
+
+#: controllers/account.php:49
+msgid "Tests (Completed)"
+msgstr ""
+
+#: controllers/account.php:53 controllers/submit_id.php:3 views/submit_id.php:2
+msgid "Submit ID"
+msgstr ""
+
+#: controllers/account.php:60 controllers/settings.php:3 views/settings.php:7
+msgid "Settings"
+msgstr ""
+
+#: controllers/account.php:69 views/settings.php:144
+msgid "Reactivate Account"
+msgstr ""
+
+#: controllers/account.php:72 views/settings.php:139
+msgid "Deactivate Account..."
+msgstr ""
+
+#: controllers/account.php:75 views/settings.php:148
+msgid "Delete Account..."
+msgstr ""
+
+#: controllers/account.php:80
+msgid "Verify Users"
+msgstr ""
+
+#: controllers/account.php:86
+msgid "Verify Tests"
+msgstr ""
+
+#: controllers/account_deactivate.php:3 views/account_deactivate.php:3
+#: views/account_deactivate.php:20 views/terms_decline.php:13
+msgid "Deactivate Account"
+msgstr ""
+
+#: controllers/account_deactivate.php:14
+msgid "Failed to deactivate account. Please try again later."
+msgstr "Failed to deactivate account. Please try again later."
+
+#: controllers/account_deactivate.php:16
+msgid "Deactivated account successfully."
+msgstr ""
+
+#: controllers/account_delete.php:3 views/account_delete.php:3
+#: views/account_delete.php:24 views/terms_decline.php:17
+msgid "Delete Account"
+msgstr ""
+
+#: controllers/account_delete.php:15
+msgid "Failed to delete account. Please try again later."
+msgstr "Failed to delete account. Please try again later."
+
+#: controllers/account_delete.php:17
+msgid "Account deleted successfully."
+msgstr ""
+
+#: controllers/account_reactivate.php:6 controllers/terms_accept.php:6
+#: controllers/terms_decline.php:11
+msgid "Failed to update our records. Please try again later."
+msgstr "Failed to update our records. Please try again later."
+
+#: controllers/account_reactivate.php:8
+msgid "Account reactivated successfully."
+msgstr ""
+
+#: controllers/address_add.php:3 views/address_add_form.php:2
+msgid "Add Address"
+msgstr ""
+
+#: controllers/address_add.php:24 controllers/address_edit.php:27
+#: controllers/contact.php:20
+msgid "Name is required."
+msgstr ""
+
+#: controllers/address_add.php:25 controllers/address_edit.php:30
+#: controllers/register.php:57
+msgid "Postal code is required."
+msgstr ""
+
+#: controllers/address_add.php:26 controllers/address_edit.php:31
+#: controllers/register.php:58
+msgid "Country is required."
+msgstr ""
+
+#: controllers/address_add.php:46
+msgid "Failed to get location from postal code."
+msgstr ""
+
+#: controllers/address_add.php:54
+msgid "Address added successfully."
+msgstr ""
+
+#: controllers/address_edit.php:3 views/address_edit_form.php:2
+msgid "Edit Address"
+msgstr ""
+
+#: controllers/address_edit.php:6 controllers/addresses.php:30
+msgid "Address not found."
+msgstr ""
+
+#: controllers/address_edit.php:28
+msgid "Address line 1 is required."
+msgstr ""
+
+#: controllers/address_edit.php:29
+msgid "City is required."
+msgstr ""
+
+#: controllers/address_edit.php:32
+msgid "Max distance is required."
+msgstr ""
+
+#: controllers/address_edit.php:33
+msgid "Max distance is invalid."
+msgstr ""
+
+#: controllers/address_edit.php:35 controllers/address_edit.php:36
+msgid "Map location is required."
+msgstr ""
+
+#: controllers/address_edit.php:42
+msgid "Address updated successfully."
+msgstr ""
+
+#: controllers/addresses.php:35
+msgid "Address set as invoice address successfully."
+msgstr ""
+
+#: controllers/become_a_tester.php:3 views/footer.php:20 views/header.php:77
+msgid "Become a Tester"
+msgstr ""
+
+#: controllers/contact.php:3 views/footer.php:21 views/footer.php:27
+#: views/header.php:83 views/settings.php:47
+msgid "Contact"
+msgstr ""
+
+#: controllers/contact.php:19 controllers/register.php:47
+#: controllers/reset_password.php:56
+msgid "reCAPTCHA check failed."
+msgstr ""
+
+#: controllers/contact.php:21 controllers/log_in.php:17
+#: controllers/register.php:49 controllers/settings.php:40
+msgid "Email address is invalid."
+msgstr ""
+
+#: controllers/contact.php:22
+msgid "Contact number is required."
+msgstr ""
+
+#: controllers/contact.php:23
+msgid "Message is required."
+msgstr ""
+
+#: controllers/contact.php:53
+msgid "Message sent successfully. We will get back to you shortly."
+msgstr ""
+
+#: controllers/home.php:3 views/footer.php:14
+msgid "Home"
+msgstr ""
+
+#: controllers/jobs.php:3 views/footer.php:22 views/header.php:99
+msgid "Jobs"
+msgstr ""
+
+#: controllers/log_in.php:3 views/header.php:105 views/log_in.php:3
+#: views/log_in.php:25
+msgid "Log In"
+msgstr ""
+
+#: controllers/log_in.php:18
+msgid "Password must be given."
+msgstr ""
+
+#: controllers/log_in.php:24
+msgid "Account not found."
+msgstr ""
+
+#: controllers/log_in.php:25
+msgid "Password is incorrect."
+msgstr ""
+
+#: controllers/log_in.php:28
+msgid ""
+"Your email address is not verified. An activation email has been sent to "
+"your email address."
+msgstr ""
+
+#: controllers/log_in.php:35
+msgid "Log in successful."
+msgstr ""
+
+#: controllers/log_out.php:5
+msgid "Log out successful."
+msgstr ""
+
+#: controllers/practice.php:6 controllers/practice_file.php:4
+msgid "Practice form not found."
+msgstr ""
+
+#: controllers/practice.php:7
+msgid "This practice form is no longer available."
+msgstr ""
+
+#: controllers/practice.php:13
+msgid "Form"
+msgstr ""
+
+#: controllers/practice.php:77 controllers/practice.php:105
+#: controllers/test.php:137
+#, php-format
+msgid "%s is required."
+msgstr ""
+
+#: controllers/practice.php:85 controllers/test.php:117
+#, php-format
+msgid "The uploaded file for %s is not an image."
+msgstr ""
+
+#: controllers/practice.php:87 controllers/test.php:119
+#, php-format
+msgid "The uploaded file for %s is not a JPEG."
+msgstr ""
+
+#: controllers/practice.php:106 controllers/test.php:138
+#, php-format
+msgid "Value for %s is invalid."
+msgstr ""
+
+#: controllers/practice.php:128
+msgid "Test Start date/time must not be after Test End date/time."
+msgstr ""
+
+#: controllers/practice.php:131
+msgid "Test End date/time cannot be later than the recorded start date/time."
+msgstr ""
+
+#: controllers/practice.php:135 controllers/test.php:86
+msgid "Entry Time and Exit Time must be filled in."
+msgstr ""
+
+#: controllers/practice_file.php:8
+msgid "Practice test not found."
+msgstr ""
+
+#: controllers/practice_file.php:12 controllers/test_file.php:7
+#: controllers/test_invoice.php:6
+msgid "You do not have permission to access this resource."
+msgstr ""
+
+#: controllers/practice_template_select.php:3
+#: views/practice_template_select.php:3
+msgid "Select Practice Form"
+msgstr ""
+
+#: controllers/privacy_policy.php:3 views/footer.php:62
+msgid "Privacy Policy"
+msgstr ""
+
+#: controllers/register.php:5 views/header.php:102 views/register.php:7
+#: views/register.php:161
+msgid "Register"
+msgstr "Register"
+
+#: controllers/register.php:11
+msgid "Current Residence"
+msgstr ""
+
+#: controllers/register.php:25 controllers/reset_password.php:26
+#: controllers/settings.php:21
+msgid "Passwords do not match."
+msgstr ""
+
+#: controllers/register.php:48 controllers/reset_password.php:27
+#: controllers/settings.php:39
+msgid ""
+"Password must be at least 6 characters in length and contain at least one "
+"lowercase, uppercase, number and special character."
+msgstr ""
+
+#: controllers/register.php:50 controllers/settings.php:41
+msgid "Title is required."
+msgstr ""
+
+#: controllers/register.php:51 controllers/settings.php:42
+msgid "First name is required."
+msgstr ""
+
+#: controllers/register.php:52 controllers/settings.php:43
+msgid "Last name is required."
+msgstr ""
+
+#: controllers/register.php:53 controllers/settings.php:44
+msgid "Date of birth is required."
+msgstr ""
+
+#: controllers/register.php:54 controllers/settings.php:45
+msgid "Mobile number is required."
+msgstr ""
+
+#: controllers/register.php:55
+msgid "Acceptance of Terms and Conditions is required."
+msgstr "Acceptance of Terms and Conditions is required."
+
+#: controllers/register.php:61
+msgid "Email address is already registered."
+msgstr ""
+
+#: controllers/register.php:82
+msgid "Failed to get location from postal code and country."
+msgstr ""
+
+#: controllers/register.php:91
+msgid "Registration failed. Please try again later."
+msgstr "Registration failed. Please try again later."
+
+#: controllers/register.php:98
+msgid ""
+"Registration successful. An email has been sent to verify your email "
+"address. Please follow the instructions in the email before logging in."
+msgstr ""
+
+#: controllers/reset_password.php:3 views/reset_password.php:2
+msgid "Reset Password"
+msgstr ""
+
+#: controllers/reset_password.php:14
+msgid "Invalid reset token."
+msgstr ""
+
+#: controllers/reset_password.php:35
+msgid "Password reset successfully. You can now log in."
+msgstr ""
+
+#: controllers/reset_password.php:57
+msgid "Invalid email address."
+msgstr ""
+
+#: controllers/reset_password.php:68
+msgid ""
+"A password reset email has been sent to the address provided if an account "
+"exists. Follow the instructions in the email to reset your password."
+msgstr ""
+
+#: controllers/services.php:3 views/footer.php:19 views/header.php:74
+msgid "Services"
+msgstr "Services"
+
+#: controllers/settings.php:46
+msgid "Invalid payment method selected."
+msgstr ""
+
+#: controllers/settings.php:63
+msgid "Settings saved successfully."
+msgstr ""
+
+#: controllers/submit_id.php:25
+msgid "The uploaded ID document is not an image."
+msgstr ""
+
+#: controllers/submit_id.php:27
+msgid "The uploaded ID document is not a JPEG."
+msgstr ""
+
+#: controllers/submit_id.php:30
+msgid "The uploaded photo is not an image."
+msgstr ""
+
+#: controllers/submit_id.php:32
+msgid "The uploaded photo is not a JPEG."
+msgstr ""
+
+#: controllers/submit_id.php:56
+#, php-format
+msgid "Failed to save the %s. Please try again later."
+msgstr "Failed to save the %s. Please try again later."
+
+#: controllers/submit_id.php:70
+msgid "ID submitted successfully."
+msgstr ""
+
+#: controllers/terms_accept.php:8
+msgid "Terms & Conditions accepted successfully."
+msgstr "Terms & Conditions accepted successfully."
+
+#: controllers/terms_and_conditions.php:3 views/footer.php:61
+msgid "Terms & Conditions"
+msgstr ""
+
+#: controllers/terms_decline.php:3 views/terms_decline.php:3
+msgid "Decline Terms & Conditions"
+msgstr ""
+
+#: controllers/test.php:6
+msgid "Test cannot be found."
+msgstr "Test cannot be found."
+
+#: controllers/test.php:34 controllers/test_confirm.php:5
+msgid "You do not have permission to view this page."
+msgstr ""
+
+#: controllers/test.php:35
+msgid ""
+"You do not have permission to view this page as you have not accepted the "
+"test yet."
+msgstr ""
+
+#: controllers/test.php:79
+msgid "Entry Time must not be after Exit Time."
+msgstr ""
+
+#: controllers/test.php:82
+msgid "Exit Time cannot be later than the recorded Entry Time."
+msgstr ""
+
+#: controllers/test.php:152
+#, php-format
+msgid "Failed to save value for %s."
+msgstr ""
+
+#: controllers/test.php:168 controllers/test.php:194
+msgid "Failed to save test. Please try again later."
+msgstr "Failed to save test. Please try again later."
+
+#: controllers/test.php:170
+msgid "Photos uploaded successfully."
+msgstr ""
+
+#: controllers/test.php:438
+msgid "Invalid request."
+msgstr ""
+
+#: controllers/test_confirm.php:4 controllers/test_file.php:4
+#: controllers/test_invoice.php:4 controllers/test_pdf.php:6
+msgid "Test not found."
+msgstr "Test not found."
+
+#: controllers/test_confirm.php:6
+msgid "The test has already been accepted or declined."
+msgstr ""
+
+#: controllers/test_confirm.php:15
+msgid "Test accepted successfully."
+msgstr ""
+
+#: controllers/test_confirm.php:24
+msgid "Test declined successfully."
+msgstr ""
+
+#: controllers/test_confirm.php:29 controllers/tests_available_ajax.php:82
+msgid "Invalid action."
+msgstr ""
+
+#: controllers/test_invoice.php:5
+msgid "An invoice cannot be generated for this test yet."
+msgstr ""
+
+#: controllers/test_invoice.php:28
+msgid ""
+"Invoice address not found. Please set an address as the invoice address then "
+"try again."
+msgstr ""
+
+#: controllers/test_invoice.php:29
+msgid ""
+"No valid payment method found. Please go to the Settings page and make sure "
+"all respective fields are filled in and then try again."
+msgstr ""
+
+#: controllers/test_invoice.php:75
+msgid "Test Invoice"
+msgstr ""
+
+#: controllers/test_invoice.php:78
+#, php-format
+msgid "Invoice (%s)"
+msgstr ""
+
+#: controllers/test_invoice.php:89 views/addresses.php:27
+#: views/test_list_completed.php:101
+msgid "Invoice"
+msgstr ""
+
+#: controllers/test_invoice.php:96
+msgid "Date:"
+msgstr ""
+
+#: controllers/test_invoice.php:101
+msgid "Due Date:"
+msgstr ""
+
+#: controllers/test_invoice.php:106
+msgid "Balance Due:"
+msgstr ""
+
+#: controllers/test_invoice.php:108 views/modal_test_invoice.php:20
+msgid "£"
+msgstr ""
+
+#: controllers/test_invoice.php:126
+msgid "Bill To:"
+msgstr ""
+
+#: controllers/test_invoice.php:140
+msgid "Item"
+msgstr ""
+
+#: controllers/test_invoice.php:141
+msgid "Quantity"
+msgstr ""
+
+#: controllers/test_invoice.php:142
+msgid "Rate"
+msgstr ""
+
+#: controllers/test_invoice.php:143
+msgid "Amount"
+msgstr ""
+
+#: controllers/test_invoice.php:163
+msgid "Play Costs"
+msgstr ""
+
+#: controllers/test_invoice.php:175 views/modal_test_invoice.php:15
+msgid "Travel Costs"
+msgstr ""
+
+#: controllers/test_invoice.php:187
+msgid "Total:"
+msgstr ""
+
+#: controllers/test_invoice.php:194
+msgid "Pay To:"
+msgstr ""
+
+#: controllers/test_invoice.php:200
+msgid "Bank Transfer"
+msgstr ""
+
+#: controllers/test_invoice.php:202
+msgid "Bank Name:"
+msgstr ""
+
+#: controllers/test_invoice.php:203
+msgid "Sort Code:"
+msgstr ""
+
+#: controllers/test_invoice.php:204
+msgid "Account Number:"
+msgstr ""
+
+#: controllers/test_invoice.php:210
+msgid "PayPal"
+msgstr ""
+
+#: controllers/test_invoice.php:212
+msgid "PayPal Address:"
+msgstr ""
+
+#: controllers/test_pdf.php:71 controllers/test_pdf.php:74
+msgid "Test Result"
+msgstr ""
+
+#: controllers/test_pdf.php:92
+msgid "Test / Location ID:"
+msgstr ""
+
+#: controllers/tests_available.php:5 views/test_list_assigned.php:12
+#: views/tests_available.php:7
+msgid "Find Tests"
+msgstr ""
+
+#: controllers/tests_available.php:12
+msgid "You do not have permission to perform this action."
+msgstr ""
+
+#: controllers/tests_available_ajax.php:20
+msgid "Test no longer available."
+msgstr ""
+
+#: controllers/tests_available_ajax.php:29
+msgid "You are a banned tester."
+msgstr ""
+
+#: controllers/tests_available_ajax.php:30
+#: controllers/tests_available_ajax.php:31
+msgid "Your account is not verified."
+msgstr ""
+
+#: controllers/tests_available_ajax.php:32
+msgid "Your account is deactivated."
+msgstr ""
+
+#: controllers/tests_available_ajax.php:33
+msgid "You are not a tester."
+msgstr ""
+
+#: controllers/tests_available_ajax.php:42
+msgid "Too early."
+msgstr ""
+
+#: controllers/tests_available_ajax.php:46
+msgid "Test cannot be claimed, please try again later."
+msgstr "Test cannot be claimed, please try again later."
+
+#: controllers/tests_completed.php:5 views/test_list_completed.php:3
+msgid "Completed Tests"
+msgstr ""
+
+#: controllers/tests_tester_kml.php:18
+#, php-format
+msgid "Test locations as of %s"
+msgstr ""
+
+#: controllers/user_activation.php:11
+msgid "Email verification failed. Please try again later."
+msgstr "Email verification failed. Please try again later."
+
+#: controllers/user_activation.php:15
+msgid "Email address verified. You can now log in to your account."
+msgstr ""
+
+#: controllers/user_activation.php:18
+msgid ""
+"Invalid verification token. The user account may have already been activated "
+"or the token has expired. Please try again."
+msgstr ""
+
+#: engine/test.php:62 engine/test.php:121 engine/user.php:85
+#: engine/user.php:112 engine/user.php:137 engine/user.php:173
+#: engine/user.php:203
+#, php-format
+msgid "Hi %s"
+msgstr ""
+
+#: engine/test.php:63
+msgid "Congrats, you have been allocated a test!"
+msgstr ""
+
+#: engine/test.php:66 engine/test.php:125
+msgid "Evening Test to be done between 7PM and midnight."
+msgstr ""
+
+#: engine/test.php:73
+#, php-format
+msgid ""
+"We need you to confirm if you are able to do the test. Please check the "
+"details below and then confirm by pressing the %sAccept%s or %sDecline%s "
+"buttons and once you tap %sAccept%s, the test will be allocated to you."
+msgstr ""
+
+#: engine/test.php:79 engine/test.php:128
+#, php-format
+msgid "The site address is: %s"
+msgstr ""
+
+#: engine/test.php:80 engine/test.php:129
+#, php-format
+msgid "The date that need to complete and submit the results by is: %s"
+msgstr ""
+
+#: engine/test.php:81 engine/test.php:130
+#, php-format
+msgid ""
+"For methodology and further notes please check the %sUseful Documents%s "
+"section on the %sAccount%s page."
+msgstr ""
+
+#: engine/test.php:85
+#, php-format
+msgid ""
+"If you agree to conduct the test, log in and then go to %sTests%s where you "
+"will be able to see the tests available to you. Please tap the %sBegin%s "
+"button and follow the instructions that is shown."
+msgstr ""
+
+#: engine/test.php:89 engine/test.php:138
+#, php-format
+msgid "If you have any questions please send them to %s or call %s on %s."
+msgstr ""
+
+#: engine/test.php:94
+#, php-format
+msgid ""
+"If you are unable to submit the results via the web-based app please contact "
+"us and we can send you an offline form to complete. Please accept the test "
+"by tapping the %sAccept%s button and email us back saying you would like an "
+"offline form."
+msgstr ""
+
+#: engine/test.php:104
+msgid "You have been allocated a test"
+msgstr ""
+
+#: engine/test.php:122
+msgid "Congrats, you have claimed a test!"
+msgstr ""
+
+#: engine/test.php:134
+#, php-format
+msgid ""
+"Log in and then go to %sTests%s where you will be able to see the tests "
+"available to you. Please tap the %sBegin%s button and follow the "
+"instructions that is shown."
+msgstr ""
+
+#: engine/test.php:143
+msgid ""
+"If you are unable to submit the results via the web-based app please contact "
+"us and we can send you an offline form to complete."
+msgstr ""
+
+#: engine/test.php:151
+msgid "You have claimed a test"
+msgstr ""
+
+#: engine/test.php:347
+msgid "Pass"
+msgstr ""
+
+#: engine/test.php:347
+msgid "Fail"
+msgstr ""
+
+#: engine/user.php:86
+msgid "Thanks for registering!"
+msgstr ""
+
+#: engine/user.php:87
+#, php-format
+msgid ""
+"Welcome to %s! Before you can log in, you will need to verify your email "
+"address. You can do so by tapping the following link:"
+msgstr ""
+
+#: engine/user.php:97
+msgid "Verify your email address"
+msgstr ""
+
+#: engine/user.php:113
+msgid "Thanks for verifying your email address!"
+msgstr ""
+
+#: engine/user.php:114
+#, php-format
+msgid ""
+"Welcome to %s! Before you can take part in tests, you will need to provide "
+"us with some ID. You can do so by tapping the following link:"
+msgstr ""
+
+#: engine/user.php:123
+#, php-format
+msgid "Welcome to %s"
+msgstr ""
+
+#: engine/user.php:138
+msgid "Your application has been successful!"
+msgstr ""
+
+#: engine/user.php:139
+#, php-format
+msgid ""
+"Welcome to %s! In order to get you a test as soon as possible, we need one "
+"final confirmation. Please log in to your account and have a quick read of "
+"the documents that explain what we need you to do during a test."
+msgstr ""
+
+#: engine/user.php:140
+msgid ""
+"When you're ready to try a Practice test, in your account and select the "
+"\"Practice\" option."
+msgstr ""
+
+#: engine/user.php:141
+msgid ""
+"1. As it is a Practice test, you can reset and start over as many times as "
+"you like because it doesn't count but lets you see what the real thing is "
+"like."
+msgstr ""
+
+#: engine/user.php:142
+#, php-format
+msgid "2. Email us at %s and let us know that you're ready."
+msgstr ""
+
+#: engine/user.php:143
+msgid "3. We will allocate a test to you as soon as possible."
+msgstr ""
+
+#: engine/user.php:145
+msgid "Remember to check your online account for when tests become available."
+msgstr ""
+
+#: engine/user.php:146
+msgid ""
+"Keep an eye out for emails inviting you to accept a test via the email or "
+"log in to your account where you can see your available tests."
+msgstr ""
+
+#: engine/user.php:147
+msgid ""
+"If you accept to do a test within the agreed period (usually 7 days) please "
+"click Accept to confirm that you would like to do the test within the agreed "
+"period."
+msgstr ""
+
+#: engine/user.php:148
+msgid ""
+"If you can't make it (it's too far or you'll be away), please Reject the "
+"test or email us with other suitable dates."
+msgstr ""
+
+#: engine/user.php:149
+msgid ""
+"After you click Accept, you will be given the option to Begin the test "
+"whenever you want. Just log in to your account and click Begin on the test."
+msgstr ""
+
+#: engine/user.php:150
+#, php-format
+msgid ""
+"Once again welcome to %s - Accept, Begin, Complete and get paid for up to 8 "
+"minutes work!"
+msgstr ""
+
+#: engine/user.php:158
+msgid "ID accepted and verified"
+msgstr ""
+
+#: engine/user.php:174
+msgid "Thank you for submitting your ID details."
+msgstr ""
+
+#: engine/user.php:175
+msgid ""
+"Unfortunately we could not verify and accept your documents and/or image."
+msgstr ""
+
+#: engine/user.php:176
+#, php-format
+msgid "The reason for this is: %s"
+msgstr ""
+
+#: engine/user.php:177
+msgid "Please log in again, resubmit and we will try again."
+msgstr ""
+
+#: engine/user.php:178
+msgid "We look forward to welcoming you onboard soon!"
+msgstr ""
+
+#: engine/user.php:186
+msgid "We could not verify your ID details"
+msgstr ""
+
+#: engine/user.php:204
+msgid "A reset password request has been received."
+msgstr ""
+
+#: engine/user.php:205
+msgid "To reset your password, please tap on the following link:"
+msgstr ""
+
+#: engine/user.php:207
+#, php-format
+msgid ""
+"If you %sdid not%s request for your password to be reset, please ignore this "
+"email."
+msgstr ""
+
+#: engine/user.php:217
+msgid "Password reset instructions"
+msgstr ""
+
+#: engine/user.php:287 views/test_list_completed.php:50
+msgid "N/A"
+msgstr ""
+
+#: engine/user.php:296
+msgid "Deleted User"
+msgstr ""
+
+#: initialise.php:39
+msgid "Yes"
+msgstr "Yes"
+
+#: initialise.php:40
+msgid "No"
+msgstr ""
+
+#: initialise.php:42
+msgid "Male"
+msgstr ""
+
+#: initialise.php:43
+msgid "Female"
+msgstr ""
+
+#: initialise.php:44
+msgid "Unspecified"
+msgstr ""
+
+#: initialise.php:46
+msgid "Miss"
+msgstr ""
+
+#: initialise.php:47
+msgid "Mr"
+msgstr ""
+
+#: initialise.php:48
+msgid "Ms"
+msgstr ""
+
+#: initialise.php:49
+msgid "Dr"
+msgstr ""
+
+#: views/404.php:7
+msgid "The requested page could not be found."
+msgstr "The requested page could not be found."
+
+#: views/404.php:8
+#, php-format
+msgid "%sClick here%s to return to the home page."
+msgstr "%sClick here%s to return to the home page."
+
+#: views/503.php:7
+msgid "The requested page could not be served due to an internal server error."
+msgstr ""
+"The requested page could not be served due to an internal server error."
+
+#: views/503.php:8
+msgid "Please try again later."
+msgstr "Please try again later."
+
+#: views/account.php:11
+msgid ""
+"Your account has been banned. You will not be able to participate in any "
+"tests."
+msgstr ""
+"Your account has been banned. You will not be able to participate in any "
+"tests."
+
+#: views/account.php:19
+msgid ""
+"Your account is not verified. You need to submit proof of ID and get your "
+"account verified before you can participate in tests."
+msgstr ""
+"Your account is not verified. You need to submit proof of ID and get your "
+"account verified before you can participate in tests."
+
+#: views/account.php:27
+msgid ""
+"Your account is pending verification. You will be able to participate in "
+"tests once verified."
+msgstr ""
+"Your account is pending verification. You will be able to participate in "
+"tests once verified."
+
+#: views/account.php:35
+msgid ""
+"Your account is deactivated. You will not be able to participate in any "
+"tests until you reactivate your account."
+msgstr ""
+"Your account is deactivated. You will not be able to participate in any "
+"tests until you reactivate your account."
+
+#: views/account.php:46
+msgid "Main Menu"
+msgstr "Main Menu"
+
+#: views/account.php:83
+msgid "To-Do"
+msgstr "To-Do"
+
+#: views/account.php:120
+msgid "Important"
+msgstr "Important"
+
+#: views/account.php:127
+#, php-format
+msgid "%sTerms and Conditions%s have been published."
+msgstr "%sTerms and Conditions%s have been published."
+
+#: views/account.php:130
+#, php-format
+msgid ""
+"Our records show that you have not accepted the %sTerms and Conditions%s on "
+"registration. Please take time to read our Terms and Conditions and then "
+"click Accept or Decline to continue."
+msgstr ""
+"Our records show that you have not accepted the %sTerms and Conditions%s on "
+"registration. Please take time to read our Terms and Conditions and then "
+"click Accept or Decline to continue."
+
+#: views/account.php:137
+#, php-format
+msgid ""
+"Our records show that you have declined the %sTerms and Conditions. If you "
+"have changed your mind, please click Accept to continue or Decline for other "
+"actions."
+msgstr ""
+"Our records show that you have declined the %sTerms and Conditions. If you "
+"have changed your mind, please click Accept to continue or Decline for other "
+"actions."
+
+#: views/account.php:143 views/test_list_assigned.php:91
+msgid "Accept"
+msgstr "Accept"
+
+#: views/account.php:144 views/test_list_assigned.php:92
+msgid "Decline"
+msgstr "Decline"
+
+#: views/account.php:154
+msgid "Useful Documents"
+msgstr ""
+
+#: views/account.php:159
+msgid "ID Response for Testers"
+msgstr ""
+
+#: views/account.php:163
+msgid "Age Verification Testing Methodology"
+msgstr ""
+
+#: views/account.php:167
+msgid "Machine Categories"
+msgstr ""
+
+#: views/account.php:171
+msgid "Testing Procedure"
+msgstr ""
+
+#: views/account.php:178
+msgid "Referrals"
+msgstr ""
+
+#: views/account.php:184
+msgid "Users Referred"
+msgstr ""
+
+#: views/account.php:191
+msgid "Referral Link"
+msgstr ""
+
+#: views/account.php:195 views/account.php:197
+msgid "Copy to clipboard"
+msgstr ""
+
+#: views/account_deactivate.php:5
+msgid "By deactivating your account, you will:"
+msgstr ""
+
+#: views/account_deactivate.php:8 views/account_delete.php:8
+msgid "No longer be assigned tests."
+msgstr ""
+
+#: views/account_deactivate.php:9 views/account_delete.php:9
+msgid "No longer be able to participate in tests."
+msgstr "No longer be able to participate in tests."
+
+#: views/account_deactivate.php:10 views/account_delete.php:11
+msgid "Unassign yourself from all currently assigned tests."
+msgstr ""
+
+#: views/account_deactivate.php:13
+msgid ""
+"You can always log into your account and reactivate the account should you "
+"wish to continue to use our services, however you will lose your currently "
+"assigned tests."
+msgstr ""
+
+#: views/account_deactivate.php:16 views/account_delete.php:20
+msgid "This action cannot be undone."
+msgstr ""
+
+#: views/account_deactivate.php:21 views/account_delete.php:25
+#: views/modal_test_claim.php:38
+msgid "Cancel"
+msgstr ""
+
+#: views/account_delete.php:5
+msgid "By deleting your account, you will:"
+msgstr ""
+
+#: views/account_delete.php:10
+msgid "No longer be able to generate invoices for completed tests."
+msgstr "No longer be able to generate invoices for completed tests."
+
+#: views/account_delete.php:12
+msgid ""
+"Delete all personal identifiable information associated with your account."
+msgstr ""
+
+#: views/account_delete.php:15
+msgid ""
+"If you have participated in tests, we will need to keep only your age and "
+"gender for test reporting purposes. This information will not and cannot be "
+"used to identify you."
+msgstr ""
+
+#: views/account_delete.php:17
+msgid ""
+"You will need to register again should you wish to continue to use our "
+"services."
+msgstr ""
+
+#: views/address_add_form.php:6 views/address_edit_form.php:9
+msgid "Name"
+msgstr ""
+
+#: views/address_add_form.php:7 views/address_edit_form.php:10
+#: views/contact.php:21
+msgid "Enter name"
+msgstr ""
+
+#: views/address_add_form.php:8
+msgid ""
+"A friendly name for this address. For example: Home, Uni, Workplace, etc..."
+msgstr ""
+
+#: views/address_add_form.php:11 views/address_edit_form.php:29
+#: views/register.php:123
+msgid "Postal Code"
+msgstr ""
+
+#: views/address_add_form.php:12 views/address_edit_form.php:30
+#: views/register.php:125
+msgid "Enter postal code"
+msgstr ""
+
+#: views/address_add_form.php:15 views/address_edit_form.php:33
+#: views/register.php:129
+msgid "Country"
+msgstr ""
+
+#: views/address_add_form.php:20 views/addresses.php:53
+msgid "Add"
+msgstr ""
+
+#: views/address_edit_form.php:13
+msgid "Address Line 1"
+msgstr ""
+
+#: views/address_edit_form.php:14
+msgid "Enter address line 1"
+msgstr ""
+
+#: views/address_edit_form.php:17
+msgid "Address Line 2"
+msgstr ""
+
+#: views/address_edit_form.php:18
+msgid "Enter address line 2"
+msgstr ""
+
+#: views/address_edit_form.php:21
+msgid "City"
+msgstr ""
+
+#: views/address_edit_form.php:22
+msgid "Enter city"
+msgstr ""
+
+#: views/address_edit_form.php:25
+msgid "County"
+msgstr ""
+
+#: views/address_edit_form.php:26
+msgid "Enter county"
+msgstr ""
+
+#: views/address_edit_form.php:40
+msgid "Map"
+msgstr ""
+
+#: views/address_edit_form.php:49
+msgid "Max Distance"
+msgstr ""
+
+#: views/address_edit_form.php:66 views/settings.php:151
+msgid "Save"
+msgstr ""
+
+#: views/addresses.php:8
+msgid "There are no addresses associated with your account."
+msgstr ""
+
+#: views/addresses.php:38
+msgid "Set as Invoice Address"
+msgstr ""
+
+#: views/addresses.php:43
+msgid "Edit"
+msgstr ""
+
+#: views/become_a_tester.php:2
+msgid "Join our Team"
+msgstr ""
+
+#: views/become_a_tester.php:4
+msgid "We are always actively recruiting testers!"
+msgstr ""
+
+#: views/become_a_tester.php:6
+msgid ""
+"We pay a fee per test, straight into your chosen bank account on a "
+"fortnightly/monthly basis. Ideal for students who want to earn some extra "
+"money for very little effort."
+msgstr ""
+
+#: views/become_a_tester.php:8
+msgid ""
+"If you are aged 18-20 and look younger than your years - we want to hear "
+"from you."
+msgstr ""
+
+#: views/become_a_tester.php:10
+msgid ""
+"There is no commitment to undertake - simply be available when called upon "
+"to visit a site and complete a test. Full training is given and you can earn "
+"as you test."
+msgstr ""
+
+#: views/become_a_tester.php:12
+msgid "Join our team now!"
+msgstr ""
+
+#: views/become_a_tester.php:14
+msgid "Your details will NOT be shared with any third party."
+msgstr ""
+
+#: views/contact.php:4
+msgid "Contact Info"
+msgstr ""
+
+#: views/contact.php:6
+msgid ""
+"We are always happy to receive correspondence. We try to answer all emails "
+"within an hour during working hours."
+msgstr ""
+
+#: views/contact.php:16
+msgid "Contact Form"
+msgstr ""
+
+#: views/contact.php:26 views/log_in.php:12 views/register.php:71
+#: views/reset_password.php:37 views/settings.php:52
+msgid "Enter email address"
+msgstr ""
+
+#: views/contact.php:31
+msgid "Enter contact number"
+msgstr ""
+
+#: views/contact.php:37
+msgid "Enter message"
+msgstr ""
+
+#: views/contact.php:51
+#, php-format
+msgid ""
+"This site is protected by reCAPTCHA and the Google %sPrivacy Policy%s and "
+"%sTerms of Service%s apply."
+msgstr ""
+
+#: views/contact.php:64
+msgid "Send Message"
+msgstr ""
+
+#: views/error.php:3
+msgid "Error"
+msgstr ""
+
+#: views/footer.php:12
+msgid "Navigation"
+msgstr ""
+
+#: views/footer.php:35
+msgid "Follow Us"
+msgstr ""
+
+#: views/footer.php:48
+msgid "Our Location"
+msgstr ""
+
+#: views/header.php:28 views/home.php:11
+msgid "Age Verification Testing and Training across the UK"
+msgstr ""
+
+#: views/header.php:92
+msgid "Log Out"
+msgstr ""
+
+#: views/header.php:125
+msgid "PLEASE NOTE:"
+msgstr ""
+
+#: views/header.php:125
+msgid "This is a development version of the site."
+msgstr ""
+
+#: views/header.php:171
+msgid "This site uses cookies to improve functionality and personalisation."
+msgstr ""
+
+#: views/header.php:172
+msgid ""
+"By continuing to use the site, you consent to our use of cookies and our "
+"privacy policy."
+msgstr ""
+
+#: views/home.php:19
+msgid ""
+"Do you know how old your clients are? Do you ask for proof of ID if not sure?"
+msgstr ""
+
+#: views/home.php:26 views/pagination.php:32
+msgid "Previous"
+msgstr ""
+
+#: views/home.php:30 views/pagination.php:43
+msgid "Next"
+msgstr ""
+
+#: views/home.php:45
+msgid "What else can Check Policy do for you?"
+msgstr ""
+
+#: views/home.php:50
+msgid "Immediate Test Results"
+msgstr ""
+
+#: views/home.php:51
+msgid ""
+"All our testers provide live test results or at least as live as a data "
+"connection will allow. Once the test has been completed, you will get the "
+"result emailed to you immediately with total transparency. We believe you "
+"need the results, whether good or bad, to satisfy guidelines and regulations."
+msgstr ""
+
+#: views/home.php:54
+msgid "Test Certificates Awarded"
+msgstr ""
+
+#: views/home.php:55
+msgid ""
+"If you pass the test, then you will be awarded a certificate of evidence to "
+"prove you and your team (if applicable) are following guidelines and "
+"regulations. You can decide whether to frame it to show clients or file it "
+"to show any future testing authority. It's up to you."
+msgstr ""
+
+#: views/home.php:58
+msgid "Ongoing Training & Testing"
+msgstr ""
+
+#: views/home.php:59
+msgid ""
+"Should you fail the test, we would obviously like to provide you with "
+"support and ongoing training to improve your results for the next time. With "
+"our training we will highlight your weaknesses and strengths so your "
+"business is following the required regulations."
+msgstr ""
+
+#: views/home.php:68
+#, php-format
+msgid "Call or WhatsApp us on %s"
+msgstr ""
+
+#: views/home.php:69
+msgid "Calls are charged at mobile call rates"
+msgstr ""
+
+#: views/jobs.php:2
+msgid "We are recruiting!"
+msgstr "We are recruiting!"
+
+#: views/jobs.php:4
+msgid "We are looking for testers nationwide!"
+msgstr ""
+
+#: views/jobs.php:6
+msgid ""
+"The job entails visiting Gaming Arcades with a view to perform Age "
+"Verification Checking - getting challenged for ID."
+msgstr ""
+
+#: views/jobs.php:8
+msgid "Full training will be given by webinar, videos and telephone."
+msgstr ""
+
+#: views/jobs.php:10
+msgid "We pay £10 per visit which will last a maximum of 5 minutes!"
+msgstr ""
+
+#: views/jobs.php:12
+msgid "Register to get your pack now!"
+msgstr ""
+
+#: views/jobs.php:14
+msgid "Our new testing campaign begins in January - so be quick and register."
+msgstr ""
+
+#: views/jobs.php:16
+msgid ""
+"Please note that NONE of your details will be shared with any third party "
+"apart from your photo which may have to be provided to our clients should "
+"they have a need to confirm CCTV identity."
+msgstr ""
+
+#: views/log_in.php:10 views/register.php:69 views/reset_password.php:35
+#: views/settings.php:50
+msgid "Email Address"
+msgstr ""
+
+#: views/log_in.php:17 views/register.php:81 views/reset_password.php:12
+msgid "Password"
+msgstr ""
+
+#: views/log_in.php:19 views/register.php:83 views/reset_password.php:14
+#: views/settings.php:74
+msgid "Enter password"
+msgstr ""
+
+#: views/log_in.php:26
+msgid "Forgot Password"
+msgstr ""
+
+#: views/modal_services_1.php:6
+msgid "Age-Related Products"
+msgstr ""
+
+#: views/modal_services_1.php:13
+msgid "Cigarettes"
+msgstr ""
+
+#: views/modal_services_1.php:15
+msgid ""
+"If you are selling age-related products or services such as cigarettes, "
+"alcohol and gambling. Then it is advisable to be tested independently to "
+"ensure you are able to identify and refuse persons wishing to purchase your "
+"services. Again this sounds very easy, to ask someones age and verify it, "
+"but in reality it's quite an issue."
+msgstr ""
+
+#: views/modal_services_1.php:17
+msgid ""
+"A simple check by one of Check Policy's mystery shoppers will determine "
+"whether you and your staff are adhering to guidelines when serving age-"
+"related products."
+msgstr ""
+
+#: views/modal_services_1.php:19
+msgid "How it works:"
+msgstr ""
+
+#: views/modal_services_1.php:20
+msgid ""
+"One of our Shoppers will visit your site and try to purchase an age-related "
+"product or service. If they are successful and not asked any questions to "
+"verify their age you will fail. The test report will be sent to you "
+"immediately upon completing the test by our automated system; designed to "
+"show the full procedure of the test and after you can make a decision to opt "
+"for further training if needed."
+msgstr ""
+
+#: views/modal_services_1.php:22
+msgid "Check Policy is here to help and guide you along the way."
+msgstr ""
+
+#: views/modal_services_2.php:6 views/services.php:22
+msgid "Age Verification Testing"
+msgstr ""
+
+#: views/modal_services_2.php:13
+msgid "Driving Licence"
+msgstr ""
+
+#: views/modal_services_2.php:15
+msgid "It sounds simple doesn't it, to verify someones age?!"
+msgstr ""
+
+#: views/modal_services_2.php:16
+msgid ""
+"However our tests have revealed that it's quite a challenge for some people "
+"to actually ask for ID when selling age-related products or services. It is "
+"against the law to sell age-related products or services to minors so it "
+"does become quite an issue."
+msgstr ""
+
+#: views/modal_services_2.php:18
+msgid ""
+"Our tests are designed to show if you or your team are asking the right "
+"questions and getting the honest answer in return."
+msgstr ""
+
+#: views/modal_services_2.php:20
+msgid ""
+"Training courses are designed to help you and your team meet the demanding "
+"requirements, by law, to verify age; and how to ask is very important "
+"without offending – keep safe and get training."
+msgstr ""
+
+#: views/modal_services_3.php:6 views/services.php:35
+msgid "Bespoke Policy Checks"
+msgstr ""
+
+#: views/modal_services_3.php:13
+msgid "Office"
+msgstr ""
+
+#: views/modal_services_3.php:15
+msgid ""
+"Unlike our other tests which are quite specific, this service is tailored to "
+"suit your business. We were approached by several clients to test their "
+"premises for various company policy related issues such as attire, attitude "
+"and so on."
+msgstr ""
+
+#: views/modal_services_3.php:17
+msgid ""
+"First impressions count, so if your staff aren't presenting the \"Face of "
+"the Company\" correctly, you may lose that client and all the possible "
+"benefits with it. A simple test by Check Policy will help you train your "
+"staff accordingly and keep them sharp with company policy."
+msgstr ""
+
+#: views/modal_test_claim.php:14
+msgid "Confirm Selected Tests"
+msgstr ""
+
+#: views/modal_test_claim.php:21
+msgid "You have selected the following tests:"
+msgstr ""
+
+#: views/modal_test_claim.php:26
+msgid "The due date is:"
+msgstr ""
+
+#: views/modal_test_claim.php:28
+msgid "By confirming, you agree that:"
+msgstr ""
+
+#: views/modal_test_claim.php:31
+msgid "You will execute these tests by the due date displayed above."
+msgstr ""
+
+#: views/modal_test_claim.php:32
+msgid ""
+"Failure to complete tests by the due date without good reason may result in "
+"the tests being unassigned from yourself and limit your ability to claim "
+"tests in the future."
+msgstr ""
+
+#: views/modal_test_claim.php:39
+msgid "Confirm"
+msgstr ""
+
+#: views/modal_test_claim.php:40
+msgid "Finish"
+msgstr ""
+
+#: views/modal_test_invoice.php:7 views/modal_test_invoice.php:29
+msgid "Download Invoice"
+msgstr ""
+
+#: views/modal_test_invoice.php:24
+msgid "You may be contacted for verification purposes."
+msgstr ""
+
+#: views/pagination.php:37
+#, php-format
+msgid "Page %s of %s"
+msgstr ""
+
+#: views/practice_form.php:11 views/test_form.php:50
+msgid "Test Completed"
+msgstr ""
+
+#: views/practice_form.php:13
+msgid ""
+"Thanks for taking a practice test. You can find your submitted results below."
+msgstr ""
+
+#: views/practice_form.php:15
+msgid "Start Over"
+msgstr ""
+
+#: views/practice_form.php:41
+msgid "View Image"
+msgstr ""
+
+#: views/practice_form.php:56
+msgid "Test Date/Time"
+msgstr ""
+
+#: views/practice_form.php:59
+msgid "Test Start"
+msgstr ""
+
+#: views/practice_form.php:66
+msgid "Test End"
+msgstr ""
+
+#: views/practice_template_select.php:9
+msgid ""
+"There are no practice forms available at the moment. Please try again later."
+msgstr ""
+
+#: views/practice_template_select.php:20
+#, php-format
+msgid "Practice Form #%d"
+msgstr ""
+
+#: views/register.php:9
+msgid ""
+"Become a tester and earn £10 per test which should last no longer than 8 "
+"minutes!"
+msgstr ""
+
+#: views/register.php:12
+#, php-format
+msgid ""
+"If you want more information on our security policy, please call us on %s "
+"(mobile call rate)."
+msgstr ""
+
+#: views/register.php:23 views/settings.php:17
+msgid "Title"
+msgstr ""
+
+#: views/register.php:26 views/settings.php:20
+msgid "Select title"
+msgstr ""
+
+#: views/register.php:39 views/settings.php:33
+msgid "First Name"
+msgstr ""
+
+#: views/register.php:41 views/settings.php:35
+msgid "Enter first name"
+msgstr ""
+
+#: views/register.php:45 views/settings.php:39
+msgid "Last Name"
+msgstr ""
+
+#: views/register.php:47 views/settings.php:41
+msgid "Enter last name"
+msgstr ""
+
+#: views/register.php:51
+msgid "Gender"
+msgstr ""
+
+#: views/register.php:54
+msgid "Select gender"
+msgstr ""
+
+#: views/register.php:75 views/settings.php:61
+msgid "Mobile Number"
+msgstr ""
+
+#: views/register.php:77 views/settings.php:63
+msgid "Enter mobile number"
+msgstr ""
+
+#: views/register.php:84 views/reset_password.php:15 views/settings.php:75
+#, php-format
+msgid ""
+"At least %s6 characters%s. Must contain at least one %slowercase%s, "
+"%suppercase%s, %snumber%s and %sspecial%s character."
+msgstr ""
+
+#: views/register.php:94 views/reset_password.php:25 views/settings.php:85
+msgid "Confirm Password"
+msgstr ""
+
+#: views/register.php:96 views/reset_password.php:27 views/settings.php:87
+msgid "Confirm password"
+msgstr ""
+
+#: views/register.php:100
+msgid "Date of Birth"
+msgstr ""
+
+#: views/register.php:103
+msgid "Day"
+msgstr ""
+
+#: views/register.php:109
+msgid "Month"
+msgstr ""
+
+#: views/register.php:115
+msgid "Year"
+msgstr ""
+
+#: views/register.php:139
+#, php-format
+msgid ""
+"I agree to and have read the %sTerms and Conditions%s and %sPrivacy Policy%s"
+msgstr ""
+
+#: views/register.php:148 views/settings.php:57
+#, php-format
+msgid "Opt-in to newsletters about %s"
+msgstr ""
+
+#: views/reset_password.php:45 views/submit_id.php:42
+msgid "Submit"
+msgstr ""
+
+#: views/services.php:3
+msgid "Check Policy Services"
+msgstr ""
+
+#: views/services.php:10
+msgid "Age Related Products"
+msgstr ""
+
+#: views/services.php:14
+msgid "Testing your team to keep you and your clients safe."
+msgstr ""
+
+#: views/services.php:26
+msgid "Being prepared."
+msgstr ""
+
+#: views/services.php:27
+msgid "Better protected."
+msgstr ""
+
+#: views/services.php:39
+msgid "Need a specific check?"
+msgstr ""
+
+#: views/services.php:40
+msgid "We can cover it!"
+msgstr ""
+
+#: views/services.php:48
+msgid "Still not sure what service you need?"
+msgstr ""
+
+#: views/services.php:51
+#, php-format
+msgid ""
+"Simply call us on %s and we will gladly walk you through the process to "
+"begin your testing and training with %s."
+msgstr ""
+
+#: views/services.php:54
+#, php-format
+msgid ""
+"Alternatively, complete the form on the %sContact%s page and we will contact "
+"you."
+msgstr ""
+
+#: views/settings.php:14
+msgid "Personal"
+msgstr ""
+
+#: views/settings.php:69
+msgid "Security"
+msgstr ""
+
+#: views/settings.php:72
+msgid "Password (if changing)"
+msgstr ""
+
+#: views/settings.php:92
+msgid "Payment"
+msgstr ""
+
+#: views/settings.php:94
+msgid "Preferred Payment Method"
+msgstr ""
+
+#: views/settings.php:109
+msgid "Bank Name"
+msgstr ""
+
+#: views/settings.php:111
+msgid "Enter bank name"
+msgstr ""
+
+#: views/settings.php:115
+msgid "Bank Sort Code"
+msgstr ""
+
+#: views/settings.php:117
+msgid "Enter bank sort code"
+msgstr ""
+
+#: views/settings.php:121
+msgid "Bank Account Number"
+msgstr ""
+
+#: views/settings.php:123
+msgid "Enter bank account number"
+msgstr ""
+
+#: views/settings.php:127
+msgid "PayPal Email Address"
+msgstr ""
+
+#: views/settings.php:129
+msgid "Enter PayPal email address"
+msgstr ""
+
+#: views/submit_id.php:6
+msgid "Important Info"
+msgstr "Important Info"
+
+#: views/submit_id.php:10
+msgid "Acceptable forms of ID include:"
+msgstr ""
+
+#: views/submit_id.php:12
+msgid "Current EU/EEA passport."
+msgstr ""
+
+#: views/submit_id.php:13
+msgid "Current driver's licence."
+msgstr ""
+
+#: views/submit_id.php:16
+msgid "A photo of you must be shown."
+msgstr ""
+
+#: views/submit_id.php:17
+msgid "Expired documents will not be accepted."
+msgstr ""
+
+#: views/submit_id.php:18
+msgid "Submitted images must be clear and not obscured in any way."
+msgstr ""
+
+#: views/submit_id.php:19
+msgid "Only JPEG format accepted."
+msgstr ""
+
+#: views/submit_id.php:24
+msgid "Submission Form"
+msgstr ""
+
+#: views/submit_id.php:29
+msgid "ID Document"
+msgstr ""
+
+#: views/submit_id.php:31
+msgid "Passport, driver's licence, etc."
+msgstr ""
+
+#: views/submit_id.php:35
+msgid "Photo"
+msgstr ""
+
+#: views/submit_id.php:37
+msgid "Photo of yourself, selfie, etc."
+msgstr ""
+
+#: views/submit_id.php:40
+msgid ""
+"Please note that it may take a while for photos to upload. Please do not "
+"refresh the page when it is uploading."
+msgstr ""
+
+#: views/terms_decline.php:6
+#, php-format
+msgid ""
+"We are sorry that you have chosen not to accept our %sTerms and Conditions%s."
+msgstr ""
+
+#: views/terms_decline.php:9
+msgid "Please select an action below:"
+msgstr ""
+
+#: views/terms_decline.php:14
+msgid ""
+"Mark your account as deactivated. You will not be assigned any tests. You "
+"will be able to login to your account to reactivate your account and/or "
+"accept the Terms and Conditions if you choose to do so at a later date. You "
+"will be taken to a confirmation page before your account is deactivated."
+msgstr ""
+
+#: views/terms_decline.php:18
+msgid ""
+"Delete all personal identifiable information associated with your account. "
+"If you choose to use our services at a later date, you will be required to "
+"re-register. You will be taken to a confirmation page before your account is "
+"deleted."
+msgstr ""
+
+#: views/terms_decline.php:21
+msgid "Accept Terms and Conditions"
+msgstr ""
+
+#: views/test_form.php:19
+msgid ""
+"Answer as clearly and accurately as you can otherwise you may be contacted "
+"after the test for clarification and/or verification purposes."
+msgstr ""
+
+#: views/test_form.php:36
+msgid "Submit Test Results"
+msgstr ""
+
+#: views/test_form.php:38
+msgid "No Internet Connectivity"
+msgstr ""
+
+#: views/test_form.php:39
+msgid "Please check your Internet connectivity and try again."
+msgstr ""
+
+#: views/test_form.php:52
+#, php-format
+msgid ""
+"This test is now completed. %sClick here%s to return to the Account page."
+msgstr ""
+"This test is now completed. %sClick here%s to return to the Account page."
+
+#: views/test_list_assigned.php:20
+msgid "Actions"
+msgstr ""
+
+#: views/test_list_assigned.php:24
+msgid "Export KML"
+msgstr ""
+
+#: views/test_list_assigned.php:25
+msgid "Export Postcodes"
+msgstr ""
+
+#: views/test_list_assigned.php:40
+msgid "No tests have been assigned to you at this time."
+msgstr ""
+
+#: views/test_list_assigned.php:79
+msgid "Due:"
+msgstr ""
+
+#: views/test_list_assigned.php:97 views/tests.php:28
+msgid "Begin"
+msgstr ""
+
+#: views/test_list_assigned.php:102
+msgid "Continue"
+msgstr ""
+
+#: views/test_list_assigned.php:107
+msgid "Amend"
+msgstr ""
+
+#: views/test_list_completed.php:10
+msgid "You have not completed any tests yet."
+msgstr ""
+
+#: views/test_list_completed.php:27
+#, php-format
+msgid ""
+"You have multiple addresses. %sClick here%s to manage your addresses and set "
+"one as the invoice address to enable the invoice link."
+msgstr ""
+
+#: views/test_list_completed.php:35
+#, php-format
+msgid ""
+"You have no valid payment method. %sClick here%s and verify your payment "
+"method settings are correct to enable the invoice link."
+msgstr ""
+
+#: views/test_list_completed.php:65
+msgid "%i min. %S sec."
+msgstr ""
+
+#: views/test_list_completed.php:75
+msgid "Pending"
+msgstr ""
+
+#: views/test_list_completed.php:79
+msgid "Rejected"
+msgstr ""
+
+#: views/test_list_completed.php:84
+msgid "Accepted"
+msgstr "Accepted"
+
+#: views/test_list_completed.php:96
+msgid "ID:"
+msgstr ""
+
+#: views/test_list_completed.php:127
+msgid "Fee:"
+msgstr ""
+
+#: views/test_list_completed.php:132
+msgid "View selfie."
+msgstr ""
+
+#: views/tests.php:10
+msgid "You have no assigned tests at this time."
+msgstr ""
+
+#: views/tests_available.php:11
+#, php-format
+msgid "Claim %s0%s ..."
+msgstr ""
+
+#: views/tests_available.php:18
+msgid ""
+"On this page you can search for tests that are currently available. Please "
+"use the \"Select\" buttons or click on the map markers to select and "
+"deselect a test. After you have made your selections, please click the "
+"\"Claim\" button on the top-right of this page to assign yourself the tests."
+msgstr ""
+
+#: views/tests_available.php:39
+msgid "Type:"
+msgstr ""
+
+#: views/tests_available.php:45
+msgid "Nighttime"
+msgstr ""
+
+#: views/tests_available.php:53
+#, php-format
+msgid "%s%s mi%s from your %s address"
+msgstr ""
+
+#: views/tests_available.php:57
+msgid "Select"
+msgstr ""
+
+#: views/tests_available.php:70
+msgid "Location"
+msgstr ""
+
+#~ msgid "Terms and Conditions"
+#~ msgstr "Terms and Conditions"

BIN
locales/es_ES/LC_MESSAGES/es_ES.mo


+ 2363 - 0
locales/es_ES/LC_MESSAGES/es_ES.po

@@ -0,0 +1,2363 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Check Policy Limited\n"
+"POT-Creation-Date: 2019-02-04 21:45+0000\n"
+"PO-Revision-Date: 2019-03-12 00:05+0000\n"
+"Last-Translator: Alan Lam <alanhmlam@gmail.com>\n"
+"Language-Team: Check Policy Limited\n"
+"Language: es_ES\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.2.1\n"
+"X-Poedit-Basepath: ../../..\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Poedit-SearchPath-0: views\n"
+"X-Poedit-SearchPath-1: controllers\n"
+"X-Poedit-SearchPath-2: initialise.php\n"
+"X-Poedit-SearchPath-3: engine\n"
+
+#: controllers/404.php:5 views/404.php:3
+msgid "Page Not Found"
+msgstr "Página no encontrada"
+
+#: controllers/503.php:5 views/503.php:3
+msgid "Internal Server Error"
+msgstr "Error interno del servidor"
+
+#: controllers/account.php:3 controllers/account_deactivate.php:5
+#: controllers/account_delete.php:5 controllers/address_add.php:5
+#: controllers/address_edit.php:54 controllers/addresses.php:5
+#: controllers/practice.php:11 controllers/practice_template_select.php:5
+#: controllers/settings.php:5 controllers/submit_id.php:5
+#: controllers/terms_decline.php:5 controllers/tests.php:5
+#: controllers/tests_available.php:7 controllers/tests_completed.php:7
+#: views/footer.php:28 views/header.php:89
+msgid "Account"
+msgstr "Mi cuenta"
+
+#: controllers/account.php:17
+msgid "Customers"
+msgstr "Clientes"
+
+#: controllers/account.php:18
+msgid "Map Overview"
+msgstr "Mapa General"
+
+#: controllers/account.php:19
+msgid "Users"
+msgstr "Usuarios"
+
+#: controllers/account.php:19
+msgid "Testers"
+msgstr "Usuario"
+
+#: controllers/account.php:27
+msgid "Projects"
+msgstr "Proyectos"
+
+#: controllers/account.php:28
+msgid "Locations"
+msgstr "Locales"
+
+#: controllers/account.php:29
+msgid "Templates"
+msgstr "Plantillas"
+
+#: controllers/account.php:33
+msgid "Reports"
+msgstr "Informes"
+
+#: controllers/account.php:40 controllers/tests.php:3
+#: controllers/tests_available.php:8 controllers/tests_completed.php:8
+#: controllers/tests_tester_kml.php:16 views/test_list_assigned.php:5
+#: views/tests.php:3
+msgid "Tests"
+msgstr "Pruebas"
+
+#: controllers/account.php:44 controllers/practice.php:9
+msgid "Practice"
+msgstr "Práctica"
+
+#: controllers/account.php:48 controllers/address_add.php:6
+#: controllers/address_edit.php:55 controllers/addresses.php:3
+#: views/addresses.php:2
+msgid "Addresses"
+msgstr "Direcciones"
+
+#: controllers/account.php:49
+msgid "Tests (Completed)"
+msgstr "Pruebas (completadas)"
+
+#: controllers/account.php:53 controllers/submit_id.php:3 views/submit_id.php:2
+msgid "Submit ID"
+msgstr "Mostrar Identificacion"
+
+#: controllers/account.php:60 controllers/settings.php:3 views/settings.php:7
+msgid "Settings"
+msgstr "Settings"
+
+#: controllers/account.php:69 views/settings.php:144
+msgid "Reactivate Account"
+msgstr "Reactivar Cuenta"
+
+#: controllers/account.php:72 views/settings.php:139
+msgid "Deactivate Account..."
+msgstr "Desactivar Cuenta..."
+
+#: controllers/account.php:75 views/settings.php:148
+msgid "Delete Account..."
+msgstr "Borrar Cuenta."
+
+#: controllers/account.php:80
+msgid "Verify Users"
+msgstr "Verificar Usuarios"
+
+#: controllers/account.php:86
+msgid "Verify Tests"
+msgstr "Verificar Pruebas"
+
+#: controllers/account_deactivate.php:3 views/account_deactivate.php:3
+#: views/account_deactivate.php:20 views/terms_decline.php:13
+msgid "Deactivate Account"
+msgstr "Desactivar Cuenta"
+
+#: controllers/account_deactivate.php:14
+msgid "Failed to deactivate account. Please try again later."
+msgstr ""
+"No se ha podido desactivar la cuenta. Por favor intenta otra vez mas tarde."
+
+#: controllers/account_deactivate.php:16
+msgid "Deactivated account successfully."
+msgstr "Cuenta Desactivada."
+
+#: controllers/account_delete.php:3 views/account_delete.php:3
+#: views/account_delete.php:24 views/terms_decline.php:17
+msgid "Delete Account"
+msgstr "Borrar Cuenta"
+
+#: controllers/account_delete.php:15
+msgid "Failed to delete account. Please try again later."
+msgstr ""
+"No se ha podido desactivar la cuenta. Por favor intenta otra vez mas tarde."
+
+#: controllers/account_delete.php:17
+msgid "Account deleted successfully."
+msgstr "Cuenta Desactivada."
+
+#: controllers/account_reactivate.php:6 controllers/terms_accept.php:6
+#: controllers/terms_decline.php:11
+msgid "Failed to update our records. Please try again later."
+msgstr "No se ha podido actualizar la informacion. Por favor intenta de nuevo."
+
+#: controllers/account_reactivate.php:8
+msgid "Account reactivated successfully."
+msgstr "Cuenta Re-activada."
+
+#: controllers/address_add.php:3 views/address_add_form.php:2
+msgid "Add Address"
+msgstr "Anadir direccion"
+
+#: controllers/address_add.php:24 controllers/address_edit.php:27
+#: controllers/contact.php:20
+msgid "Name is required."
+msgstr "Nombre es necesario."
+
+#: controllers/address_add.php:25 controllers/address_edit.php:30
+#: controllers/register.php:57
+msgid "Postal code is required."
+msgstr "Codigo Postal necesario."
+
+#: controllers/address_add.php:26 controllers/address_edit.php:31
+#: controllers/register.php:58
+msgid "Country is required."
+msgstr "Pais Necesario."
+
+#: controllers/address_add.php:46
+msgid "Failed to get location from postal code."
+msgstr "No ha sido posible encontrar el local desde el codgio postal."
+
+#: controllers/address_add.php:54
+msgid "Address added successfully."
+msgstr "Direccion Anadido."
+
+#: controllers/address_edit.php:3 views/address_edit_form.php:2
+msgid "Edit Address"
+msgstr "Cambiar Direccion"
+
+#: controllers/address_edit.php:6 controllers/addresses.php:30
+msgid "Address not found."
+msgstr "Página no encontrada."
+
+#: controllers/address_edit.php:28
+msgid "Address line 1 is required."
+msgstr "Se requiere la línea de dirección 1."
+
+#: controllers/address_edit.php:29
+msgid "City is required."
+msgstr "Se requiere ciudad."
+
+#: controllers/address_edit.php:32
+msgid "Max distance is required."
+msgstr "Se requiere una distancia máxima."
+
+#: controllers/address_edit.php:33
+msgid "Max distance is invalid."
+msgstr "La distancia máxima no es válida."
+
+#: controllers/address_edit.php:35 controllers/address_edit.php:36
+msgid "Map location is required."
+msgstr "La ubicación del mapa es obligatoria."
+
+#: controllers/address_edit.php:42
+msgid "Address updated successfully."
+msgstr "Dirección actualizada correctamente."
+
+#: controllers/addresses.php:35
+msgid "Address set as invoice address successfully."
+msgstr "Dirección configurada como dirección de factura correctamente."
+
+#: controllers/become_a_tester.php:3 views/footer.php:20 views/header.php:77
+msgid "Become a Tester"
+msgstr "Conviértete en Tester"
+
+#: controllers/contact.php:3 views/footer.php:21 views/footer.php:27
+#: views/header.php:83 views/settings.php:47
+msgid "Contact"
+msgstr "Contacto"
+
+#: controllers/contact.php:19 controllers/register.php:47
+#: controllers/reset_password.php:56
+msgid "reCAPTCHA check failed."
+msgstr "error en la comprobación de reCAPTCHA."
+
+#: controllers/contact.php:21 controllers/log_in.php:17
+#: controllers/register.php:49 controllers/settings.php:40
+msgid "Email address is invalid."
+msgstr "Email no válido."
+
+#: controllers/contact.php:22
+msgid "Contact number is required."
+msgstr "Se requiere el número de contacto."
+
+#: controllers/contact.php:23
+msgid "Message is required."
+msgstr "Se requiere un mensaje."
+
+#: controllers/contact.php:53
+msgid "Message sent successfully. We will get back to you shortly."
+msgstr "Mensaje enviado correctamente. Le volveremos a ver en breve."
+
+#: controllers/home.php:3 views/footer.php:14
+msgid "Home"
+msgstr "Inicio"
+
+#: controllers/jobs.php:3 views/footer.php:22 views/header.php:99
+msgid "Jobs"
+msgstr "Empleos"
+
+#: controllers/log_in.php:3 views/header.php:105 views/log_in.php:3
+#: views/log_in.php:25
+msgid "Log In"
+msgstr "Iniciar sesión"
+
+#: controllers/log_in.php:18
+msgid "Password must be given."
+msgstr "Se debe dar la contraseña."
+
+#: controllers/log_in.php:24
+msgid "Account not found."
+msgstr "Cuenta no encontrada."
+
+#: controllers/log_in.php:25
+msgid "Password is incorrect."
+msgstr "La contraseña es incorrecta."
+
+#: controllers/log_in.php:28
+msgid ""
+"Your email address is not verified. An activation email has been sent to "
+"your email address."
+msgstr ""
+"Su dirección de correo electrónico no está verificada. Se ha enviado un "
+"correo electrónico de activación a su dirección de correo electrónico."
+
+#: controllers/log_in.php:35
+msgid "Log in successful."
+msgstr "Inicie sesión correctamente."
+
+#: controllers/log_out.php:5
+msgid "Log out successful."
+msgstr "Desconéctese correctamente."
+
+#: controllers/practice.php:6 controllers/practice_file.php:4
+msgid "Practice form not found."
+msgstr "No se encontró la forma de práctica."
+
+#: controllers/practice.php:7
+msgid "This practice form is no longer available."
+msgstr "Este formulario de práctica ya no está disponible."
+
+#: controllers/practice.php:13
+msgid "Form"
+msgstr "Formulario"
+
+#: controllers/practice.php:77 controllers/practice.php:105
+#: controllers/test.php:137
+#, php-format
+msgid "%s is required."
+msgstr "%s es obligatorio."
+
+#: controllers/practice.php:85 controllers/test.php:117
+#, php-format
+msgid "The uploaded file for %s is not an image."
+msgstr "El archivo subido para %s no es una imagen."
+
+#: controllers/practice.php:87 controllers/test.php:119
+#, php-format
+msgid "The uploaded file for %s is not a JPEG."
+msgstr "El archivo subido para %s no es un JPEG."
+
+#: controllers/practice.php:106 controllers/test.php:138
+#, php-format
+msgid "Value for %s is invalid."
+msgstr "El valor de %s no es válido."
+
+#: controllers/practice.php:128
+msgid "Test Start date/time must not be after Test End date/time."
+msgstr ""
+"La fecha/hora de inicio de la prueba no debe ser posterior a la fecha/hora "
+"final del examen."
+
+#: controllers/practice.php:131
+msgid "Test End date/time cannot be later than the recorded start date/time."
+msgstr ""
+"La fecha/hora final de la prueba no puede ser posterior a la fecha y hora de "
+"inicio grabadas."
+
+#: controllers/practice.php:135 controllers/test.php:86
+msgid "Entry Time and Exit Time must be filled in."
+msgstr "La hora de entrada y la hora de salida deben rellenarse."
+
+#: controllers/practice_file.php:8
+msgid "Practice test not found."
+msgstr "Prueba de práctica no encontrada."
+
+#: controllers/practice_file.php:12 controllers/test_file.php:7
+#: controllers/test_invoice.php:6
+msgid "You do not have permission to access this resource."
+msgstr "No tiene permiso para acceder a este recurso."
+
+#: controllers/practice_template_select.php:3
+#: views/practice_template_select.php:3
+msgid "Select Practice Form"
+msgstr "Seleccione formulario de práctica"
+
+#: controllers/privacy_policy.php:3 views/footer.php:62
+msgid "Privacy Policy"
+msgstr "Política de privacidad"
+
+#: controllers/register.php:5 views/header.php:102 views/register.php:7
+#: views/register.php:161
+msgid "Register"
+msgstr "Registrarse"
+
+#: controllers/register.php:11
+msgid "Current Residence"
+msgstr "La residencia actual"
+
+#: controllers/register.php:25 controllers/reset_password.php:26
+#: controllers/settings.php:21
+msgid "Passwords do not match."
+msgstr "Las contraseñas no coinciden."
+
+#: controllers/register.php:48 controllers/reset_password.php:27
+#: controllers/settings.php:39
+msgid ""
+"Password must be at least 6 characters in length and contain at least one "
+"lowercase, uppercase, number and special character."
+msgstr ""
+"La contraseña debe tener al menos 6 caracteres de longitud y contener al "
+"menos una minúscula, mayúscula, número y carácter especial."
+
+#: controllers/register.php:50 controllers/settings.php:41
+msgid "Title is required."
+msgstr "El título es obligatorio."
+
+#: controllers/register.php:51 controllers/settings.php:42
+msgid "First name is required."
+msgstr "El primer nombre es requerido."
+
+#: controllers/register.php:52 controllers/settings.php:43
+msgid "Last name is required."
+msgstr "Los apellidos son requeridos."
+
+#: controllers/register.php:53 controllers/settings.php:44
+msgid "Date of birth is required."
+msgstr "Se requiere fecha de nacimiento."
+
+#: controllers/register.php:54 controllers/settings.php:45
+msgid "Mobile number is required."
+msgstr "Se requiere número de móvil."
+
+#: controllers/register.php:55
+msgid "Acceptance of Terms and Conditions is required."
+msgstr "Se requiere la aceptación de los términos y condiciones."
+
+#: controllers/register.php:61
+msgid "Email address is already registered."
+msgstr "La dirección de correo electrónico ya está registrada."
+
+#: controllers/register.php:82
+msgid "Failed to get location from postal code and country."
+msgstr "No se pudo obtener la ubicación del código postal y el país."
+
+#: controllers/register.php:91
+msgid "Registration failed. Please try again later."
+msgstr "Error de registro. Por favor inténtelo de nuevo más tarde."
+
+#: controllers/register.php:98
+msgid ""
+"Registration successful. An email has been sent to verify your email "
+"address. Please follow the instructions in the email before logging in."
+msgstr ""
+"Registro exitoso. Se ha enviado un correo electrónico para verificar su "
+"dirección de correo electrónico. Por favor, siga las instrucciones en el "
+"correo electrónico antes de iniciar sesión."
+
+#: controllers/reset_password.php:3 views/reset_password.php:2
+msgid "Reset Password"
+msgstr "Restablecer contraseña"
+
+#: controllers/reset_password.php:14
+msgid "Invalid reset token."
+msgstr "Token de restablecimiento no válido."
+
+#: controllers/reset_password.php:35
+msgid "Password reset successfully. You can now log in."
+msgstr ""
+"Restablecimiento de contraseña correctamente. Ahora puede iniciar sesión."
+
+#: controllers/reset_password.php:57
+msgid "Invalid email address."
+msgstr "Correo electrónico no valido."
+
+#: controllers/reset_password.php:68
+msgid ""
+"A password reset email has been sent to the address provided if an account "
+"exists. Follow the instructions in the email to reset your password."
+msgstr ""
+"Se ha enviado un correo electrónico de restablecimiento de contraseña a la "
+"dirección proporcionada si existe una cuenta. Siga las instrucciones del "
+"correo electrónico para restablecer su contraseña."
+
+#: controllers/services.php:3 views/footer.php:19 views/header.php:74
+msgid "Services"
+msgstr "Servicios"
+
+#: controllers/settings.php:46
+msgid "Invalid payment method selected."
+msgstr "Método de pago no válido seleccionado."
+
+#: controllers/settings.php:63
+msgid "Settings saved successfully."
+msgstr "Ajustes guardadas."
+
+#: controllers/submit_id.php:25
+msgid "The uploaded ID document is not an image."
+msgstr "El documento de ID subido no es una imagen."
+
+#: controllers/submit_id.php:27
+msgid "The uploaded ID document is not a JPEG."
+msgstr "El documento de ID subido no es un JPEG."
+
+#: controllers/submit_id.php:30
+msgid "The uploaded photo is not an image."
+msgstr "La foto cargada no es una imagen."
+
+#: controllers/submit_id.php:32
+msgid "The uploaded photo is not a JPEG."
+msgstr "La foto cargada no es un JPEG."
+
+#: controllers/submit_id.php:56
+#, php-format
+msgid "Failed to save the %s. Please try again later."
+msgstr "No se pudo guardar el %s. Por favor inténtelo de nuevo más tarde."
+
+#: controllers/submit_id.php:70
+msgid "ID submitted successfully."
+msgstr "ID enviado con éxito."
+
+#: controllers/terms_accept.php:8
+msgid "Terms & Conditions accepted successfully."
+msgstr "Términos y condiciones aceptados exitosamente."
+
+#: controllers/terms_and_conditions.php:3 views/footer.php:61
+msgid "Terms & Conditions"
+msgstr "Términos y condiciones"
+
+#: controllers/terms_decline.php:3 views/terms_decline.php:3
+msgid "Decline Terms & Conditions"
+msgstr "Rechazar términos y condiciones"
+
+#: controllers/test.php:6
+msgid "Test cannot be found."
+msgstr "No se puede encontrar la prueba."
+
+#: controllers/test.php:34 controllers/test_confirm.php:5
+msgid "You do not have permission to view this page."
+msgstr "No tiene permiso para ver esta página."
+
+#: controllers/test.php:35
+msgid ""
+"You do not have permission to view this page as you have not accepted the "
+"test yet."
+msgstr ""
+"No tiene permiso para ver esta página, ya que aún no ha aceptado la prueba."
+
+#: controllers/test.php:79
+msgid "Entry Time must not be after Exit Time."
+msgstr "La hora de entrada no debe ser posterior a la hora de salida."
+
+#: controllers/test.php:82
+msgid "Exit Time cannot be later than the recorded Entry Time."
+msgstr ""
+"El tiempo de salida no puede ser posterior al tiempo de entrada registrado."
+
+#: controllers/test.php:152
+#, php-format
+msgid "Failed to save value for %s."
+msgstr "No se pudo ahorrar el valor de %s."
+
+#: controllers/test.php:168 controllers/test.php:194
+msgid "Failed to save test. Please try again later."
+msgstr "Error al guardar la prueba. Por favor inténtelo de nuevo más tarde."
+
+#: controllers/test.php:170
+msgid "Photos uploaded successfully."
+msgstr "Fotos cargadas con éxito."
+
+#: controllers/test.php:438
+msgid "Invalid request."
+msgstr "Petición incorrecta."
+
+#: controllers/test_confirm.php:4 controllers/test_file.php:4
+#: controllers/test_invoice.php:4 controllers/test_pdf.php:6
+msgid "Test not found."
+msgstr "Prueba no encontrada."
+
+#: controllers/test_confirm.php:6
+msgid "The test has already been accepted or declined."
+msgstr "La prueba ya ha sido aceptada o rechazada."
+
+#: controllers/test_confirm.php:15
+msgid "Test accepted successfully."
+msgstr "Prueba aceptada con éxito."
+
+#: controllers/test_confirm.php:24
+msgid "Test declined successfully."
+msgstr "La prueba disminuyó correctamente."
+
+#: controllers/test_confirm.php:29 controllers/tests_available_ajax.php:82
+msgid "Invalid action."
+msgstr "Acción invalida."
+
+#: controllers/test_invoice.php:5
+msgid "An invoice cannot be generated for this test yet."
+msgstr "Aún no se puede generar una factura para esta prueba."
+
+#: controllers/test_invoice.php:28
+msgid ""
+"Invoice address not found. Please set an address as the invoice address then "
+"try again."
+msgstr ""
+"Dirección de factura no encontrada. Por favor, establezca una dirección como "
+"la dirección de la factura y vuelva a intentarlo."
+
+#: controllers/test_invoice.php:29
+msgid ""
+"No valid payment method found. Please go to the Settings page and make sure "
+"all respective fields are filled in and then try again."
+msgstr ""
+"No se ha encontrado ningún método de pago válido. Por favor, vaya a la "
+"página de configuración y asegúrese de que todos los campos respectivos se "
+"rellenan y luego vuelva a intentarlo."
+
+#: controllers/test_invoice.php:75
+msgid "Test Invoice"
+msgstr "Probar factura"
+
+#: controllers/test_invoice.php:78
+#, php-format
+msgid "Invoice (%s)"
+msgstr "Recibos (%s)"
+
+#: controllers/test_invoice.php:89 views/addresses.php:27
+#: views/test_list_completed.php:101
+msgid "Invoice"
+msgstr "Factura"
+
+#: controllers/test_invoice.php:96
+msgid "Date:"
+msgstr "Fecha:"
+
+#: controllers/test_invoice.php:101
+msgid "Due Date:"
+msgstr "Fecha de vencimiento:"
+
+#: controllers/test_invoice.php:106
+msgid "Balance Due:"
+msgstr "Saldo adeudado:"
+
+#: controllers/test_invoice.php:108 views/modal_test_invoice.php:20
+msgid "£"
+msgstr "£"
+
+#: controllers/test_invoice.php:126
+msgid "Bill To:"
+msgstr "Facturar a:"
+
+#: controllers/test_invoice.php:140
+msgid "Item"
+msgstr "Artículo"
+
+#: controllers/test_invoice.php:141
+msgid "Quantity"
+msgstr "Cantidad"
+
+#: controllers/test_invoice.php:142
+msgid "Rate"
+msgstr "Tarifa"
+
+#: controllers/test_invoice.php:143
+msgid "Amount"
+msgstr "Cantidad"
+
+#: controllers/test_invoice.php:163
+msgid "Play Costs"
+msgstr "Los costos de juego"
+
+#: controllers/test_invoice.php:175 views/modal_test_invoice.php:15
+msgid "Travel Costs"
+msgstr "Los costos de viaje"
+
+#: controllers/test_invoice.php:187
+msgid "Total:"
+msgstr "Total:"
+
+#: controllers/test_invoice.php:194
+msgid "Pay To:"
+msgstr "Pague para:"
+
+#: controllers/test_invoice.php:200
+msgid "Bank Transfer"
+msgstr "Transferencia bancaria"
+
+#: controllers/test_invoice.php:202
+msgid "Bank Name:"
+msgstr "Nombre del Banco:"
+
+#: controllers/test_invoice.php:203
+msgid "Sort Code:"
+msgstr "Código de clasificación:"
+
+#: controllers/test_invoice.php:204
+msgid "Account Number:"
+msgstr "Número de cuenta:"
+
+#: controllers/test_invoice.php:210
+msgid "PayPal"
+msgstr "PayPal"
+
+#: controllers/test_invoice.php:212
+msgid "PayPal Address:"
+msgstr "Dirección de PayPal:"
+
+#: controllers/test_pdf.php:71 controllers/test_pdf.php:74
+msgid "Test Result"
+msgstr "Resultado de la prueba"
+
+#: controllers/test_pdf.php:92
+msgid "Test / Location ID:"
+msgstr "ID de prueba/Ubicación:"
+
+#: controllers/tests_available.php:5 views/test_list_assigned.php:12
+#: views/tests_available.php:7
+msgid "Find Tests"
+msgstr "Encuentra pruebas"
+
+#: controllers/tests_available.php:12
+msgid "You do not have permission to perform this action."
+msgstr "No tienes permiso para ejecutar esta acción."
+
+#: controllers/tests_available_ajax.php:20
+msgid "Test no longer available."
+msgstr "La prueba ya no está disponible."
+
+#: controllers/tests_available_ajax.php:29
+msgid "You are a banned tester."
+msgstr "Eres un probador prohibido."
+
+#: controllers/tests_available_ajax.php:30
+#: controllers/tests_available_ajax.php:31
+msgid "Your account is not verified."
+msgstr "Su cuenta no está verificada."
+
+#: controllers/tests_available_ajax.php:32
+msgid "Your account is deactivated."
+msgstr "Su cuenta está desactivada."
+
+#: controllers/tests_available_ajax.php:33
+msgid "You are not a tester."
+msgstr "No eres un probador."
+
+#: controllers/tests_available_ajax.php:42
+msgid "Too early."
+msgstr "Demasiado pronto."
+
+#: controllers/tests_available_ajax.php:46
+msgid "Test cannot be claimed, please try again later."
+msgstr "Prueba no puede ser reclamado, por favor inténtelo de nuevo más tarde."
+
+#: controllers/tests_completed.php:5 views/test_list_completed.php:3
+msgid "Completed Tests"
+msgstr "Pruebas completadas"
+
+#: controllers/tests_tester_kml.php:18
+#, php-format
+msgid "Test locations as of %s"
+msgstr "Ubicaciones de prueba a partir de %s"
+
+#: controllers/user_activation.php:11
+msgid "Email verification failed. Please try again later."
+msgstr ""
+"Error en la verificación de correo electrónico. Por favor inténtelo de nuevo "
+"más tarde."
+
+#: controllers/user_activation.php:15
+msgid "Email address verified. You can now log in to your account."
+msgstr ""
+"Dirección de correo electrónico verificada. Ahora puede iniciar sesión en su "
+"cuenta."
+
+#: controllers/user_activation.php:18
+msgid ""
+"Invalid verification token. The user account may have already been activated "
+"or the token has expired. Please try again."
+msgstr ""
+"Token de verificación no válido. Es posible que la cuenta de usuario ya se "
+"haya activado o que el token haya caducado. Por favor inténtalo de nuevo."
+
+#: engine/test.php:62 engine/test.php:121 engine/user.php:85
+#: engine/user.php:112 engine/user.php:137 engine/user.php:173
+#: engine/user.php:203
+#, php-format
+msgid "Hi %s"
+msgstr "Hola %s"
+
+#: engine/test.php:63
+msgid "Congrats, you have been allocated a test!"
+msgstr "¡ Felicidades, te han asignado una prueba!"
+
+#: engine/test.php:66 engine/test.php:125
+msgid "Evening Test to be done between 7PM and midnight."
+msgstr "Prueba de noche que se realizará entre las 7 P.M. y la medianoche."
+
+#: engine/test.php:73
+#, php-format
+msgid ""
+"We need you to confirm if you are able to do the test. Please check the "
+"details below and then confirm by pressing the %sAccept%s or %sDecline%s "
+"buttons and once you tap %sAccept%s, the test will be allocated to you."
+msgstr ""
+"Necesitamos que confirmes si eres capaz de hacer la prueba. Por favor, "
+"compruebe los detalles a continuación y luego confirme presionando los "
+"botones %sAccept %s o %sDecline %s y una vez que toque %sAccept %s, la "
+"prueba se le asignará."
+
+#: engine/test.php:79 engine/test.php:128
+#, php-format
+msgid "The site address is: %s"
+msgstr "La dirección del sitio es: %s"
+
+#: engine/test.php:80 engine/test.php:129
+#, php-format
+msgid "The date that need to complete and submit the results by is: %s"
+msgstr "La fecha que debe completar y enviar los resultados es: %s"
+
+#: engine/test.php:81 engine/test.php:130
+#, php-format
+msgid ""
+"For methodology and further notes please check the %sUseful Documents%s "
+"section on the %sAccount%s page."
+msgstr ""
+"Para la metodología y otras notas, consulte la sección %sUseful Documents %s "
+"en la página %sAccount %s."
+
+#: engine/test.php:85
+#, php-format
+msgid ""
+"If you agree to conduct the test, log in and then go to %sTests%s where you "
+"will be able to see the tests available to you. Please tap the %sBegin%s "
+"button and follow the instructions that is shown."
+msgstr ""
+"Si acepta realizar la prueba, inicie sesión y, a continuación, vaya a "
+"%sTests %s, donde podrá ver las pruebas disponibles para usted. Por favor, "
+"pulse el botón %sBegin %s y siga las instrucciones que se muestran."
+
+#: engine/test.php:89 engine/test.php:138
+#, php-format
+msgid "If you have any questions please send them to %s or call %s on %s."
+msgstr "Si tiene alguna pregunta, por favor envíelos a %s o llame al %s en %s."
+
+#: engine/test.php:94
+#, php-format
+msgid ""
+"If you are unable to submit the results via the web-based app please contact "
+"us and we can send you an offline form to complete. Please accept the test "
+"by tapping the %sAccept%s button and email us back saying you would like an "
+"offline form."
+msgstr ""
+"Si no puede enviar los resultados a través de la aplicación basada en la "
+"web, póngase en contacto con nosotros y podemos enviarle un formulario fuera "
+"de línea para completar. Por favor, acepte la prueba pulsando el botón "
+"%sAccept %s y envíenos un correo electrónico diciendo que le gustaría un "
+"formulario sin conexión."
+
+#: engine/test.php:104
+msgid "You have been allocated a test"
+msgstr "Se le ha asignado una prueba"
+
+#: engine/test.php:122
+msgid "Congrats, you have claimed a test!"
+msgstr "¡ Felicidades, has reclamado una prueba!"
+
+#: engine/test.php:134
+#, php-format
+msgid ""
+"Log in and then go to %sTests%s where you will be able to see the tests "
+"available to you. Please tap the %sBegin%s button and follow the "
+"instructions that is shown."
+msgstr ""
+"Inicie sesión y, a continuación, vaya a %sTests %s, donde podrá ver las "
+"pruebas disponibles para usted. Por favor, pulse el botón %sBegin %s y siga "
+"las instrucciones que se muestran."
+
+#: engine/test.php:143
+msgid ""
+"If you are unable to submit the results via the web-based app please contact "
+"us and we can send you an offline form to complete."
+msgstr ""
+"Si no puede enviar los resultados a través de la aplicación basada en la "
+"web, póngase en contacto con nosotros y podemos enviarle un formulario fuera "
+"de línea para completar."
+
+#: engine/test.php:151
+msgid "You have claimed a test"
+msgstr "Usted ha reclamado una prueba"
+
+#: engine/test.php:347
+msgid "Pass"
+msgstr "Aprobado"
+
+#: engine/test.php:347
+msgid "Fail"
+msgstr "Reprobado"
+
+#: engine/user.php:86
+msgid "Thanks for registering!"
+msgstr "¡ Gracias por registrarte!"
+
+#: engine/user.php:87
+#, php-format
+msgid ""
+"Welcome to %s! Before you can log in, you will need to verify your email "
+"address. You can do so by tapping the following link:"
+msgstr ""
+"¡ Bienvenido a %s! Antes de que pueda iniciar sesión, tendrá que verificar "
+"su dirección de correo electrónico. Puede hacerlo pulsando el siguiente "
+"enlace:"
+
+#: engine/user.php:97
+msgid "Verify your email address"
+msgstr "Verifica tu dirección de correo electrónico"
+
+#: engine/user.php:113
+msgid "Thanks for verifying your email address!"
+msgstr "¡ Gracias por verificar tu dirección de correo electrónico!"
+
+#: engine/user.php:114
+#, php-format
+msgid ""
+"Welcome to %s! Before you can take part in tests, you will need to provide "
+"us with some ID. You can do so by tapping the following link:"
+msgstr ""
+"¡ Bienvenido a %s! Antes de que pueda participar en las pruebas, tendrá que "
+"proporcionarnos alguna identificación. Puede hacerlo pulsando el siguiente "
+"enlace:"
+
+#: engine/user.php:123
+#, php-format
+msgid "Welcome to %s"
+msgstr "Bienvenido a %s"
+
+#: engine/user.php:138
+msgid "Your application has been successful!"
+msgstr "Su aplicación ha sido exitosa!"
+
+#: engine/user.php:139
+#, php-format
+msgid ""
+"Welcome to %s! In order to get you a test as soon as possible, we need one "
+"final confirmation. Please log in to your account and have a quick read of "
+"the documents that explain what we need you to do during a test."
+msgstr ""
+"¡ Bienvenido a %s! Con el fin de conseguir una prueba tan pronto como sea "
+"posible, necesitamos una confirmación final. Por favor, inicie sesión en su "
+"cuenta y tenga una rápida lectura de los documentos que explican lo que "
+"necesitamos que haga durante una prueba."
+
+#: engine/user.php:140
+msgid ""
+"When you're ready to try a Practice test, in your account and select the "
+"\"Practice\" option."
+msgstr ""
+"Cuando estés listo para probar una prueba de práctica, en tu cuenta y "
+"selecciona la opción \"práctica\"."
+
+#: engine/user.php:141
+msgid ""
+"1. As it is a Practice test, you can reset and start over as many times as "
+"you like because it doesn't count but lets you see what the real thing is "
+"like."
+msgstr ""
+"1. como es una prueba de práctica, puede restablecer y empezar de cero "
+"tantas veces como quiera porque no cuenta, pero le permite ver cómo es la "
+"cosa real."
+
+#: engine/user.php:142
+#, php-format
+msgid "2. Email us at %s and let us know that you're ready."
+msgstr "2. envíenos un correo electrónico a %s y háganos saber que está listo."
+
+#: engine/user.php:143
+msgid "3. We will allocate a test to you as soon as possible."
+msgstr "3. le asignaremos una prueba tan pronto como sea posible."
+
+#: engine/user.php:145
+msgid "Remember to check your online account for when tests become available."
+msgstr ""
+"Recuerde revisar su cuenta en línea para cuando las pruebas estén "
+"disponibles."
+
+#: engine/user.php:146
+msgid ""
+"Keep an eye out for emails inviting you to accept a test via the email or "
+"log in to your account where you can see your available tests."
+msgstr ""
+"Mantente atento a los correos electrónicos que te invitan a aceptar una "
+"prueba a través del correo electrónico o inicia sesión en tu cuenta donde "
+"puedes ver las pruebas disponibles."
+
+#: engine/user.php:147
+msgid ""
+"If you accept to do a test within the agreed period (usually 7 days) please "
+"click Accept to confirm that you would like to do the test within the agreed "
+"period."
+msgstr ""
+"Si acepta hacer una prueba dentro del período acordado (normalmente 7 días), "
+"haga clic en Aceptar para confirmar que le gustaría hacer la prueba dentro "
+"del período acordado."
+
+#: engine/user.php:148
+msgid ""
+"If you can't make it (it's too far or you'll be away), please Reject the "
+"test or email us with other suitable dates."
+msgstr ""
+"Si no puedes hacerlo (es demasiado lejos o estarás ausente), por favor, "
+"rechaza la prueba o envíanos un correo electrónico con otras fechas "
+"adecuadas."
+
+#: engine/user.php:149
+msgid ""
+"After you click Accept, you will be given the option to Begin the test "
+"whenever you want. Just log in to your account and click Begin on the test."
+msgstr ""
+"Después de hacer clic en aceptar, se le dará la opción de comenzar la prueba "
+"siempre que lo desee. Simplemente inicie sesión en su cuenta y haga clic en "
+"comenzar en la prueba."
+
+#: engine/user.php:150
+#, php-format
+msgid ""
+"Once again welcome to %s - Accept, Begin, Complete and get paid for up to 8 "
+"minutes work!"
+msgstr ""
+"Una vez más Bienvenido a %s-aceptar, comenzar, completar y recibir el pago "
+"de hasta 8 minutos de trabajo!"
+
+#: engine/user.php:158
+msgid "ID accepted and verified"
+msgstr "ID aceptada y verificada"
+
+#: engine/user.php:174
+msgid "Thank you for submitting your ID details."
+msgstr "Gracias por enviarnos sus datos de identificación."
+
+#: engine/user.php:175
+msgid ""
+"Unfortunately we could not verify and accept your documents and/or image."
+msgstr ""
+"Lamentablemente no pudimos verificar y aceptar sus documentos y/o imagen."
+
+#: engine/user.php:176
+#, php-format
+msgid "The reason for this is: %s"
+msgstr "La razón de esto es: %s"
+
+#: engine/user.php:177
+msgid "Please log in again, resubmit and we will try again."
+msgstr ""
+"Por favor, vuelva a iniciar sesión, vuelva a enviarla y lo intentaremos de "
+"nuevo."
+
+#: engine/user.php:178
+msgid "We look forward to welcoming you onboard soon!"
+msgstr "¡ Esperamos poder bienvenida a bordo pronto!"
+
+#: engine/user.php:186
+msgid "We could not verify your ID details"
+msgstr "No pudimos verificar sus datos de identificación"
+
+#: engine/user.php:204
+msgid "A reset password request has been received."
+msgstr "Se ha recibido una solicitud de restablecimiento de contraseña."
+
+#: engine/user.php:205
+msgid "To reset your password, please tap on the following link:"
+msgstr ""
+"Para restablecer su contraseña, por favor pulse en el siguiente enlace:"
+
+#: engine/user.php:207
+#, php-format
+msgid ""
+"If you %sdid not%s request for your password to be reset, please ignore this "
+"email."
+msgstr ""
+"Si %sDID no %s solicitud de su contraseña para ser restablecido, por favor "
+"ignore este correo electrónico."
+
+#: engine/user.php:217
+msgid "Password reset instructions"
+msgstr "Instrucciones para restablecer la contraseña"
+
+#: engine/user.php:287 views/test_list_completed.php:50
+msgid "N/A"
+msgstr "N/A"
+
+#: engine/user.php:296
+msgid "Deleted User"
+msgstr "Usuario eliminado"
+
+#: initialise.php:45
+msgid "Yes"
+msgstr "Sí"
+
+#: initialise.php:46
+msgid "No"
+msgstr "No"
+
+#: initialise.php:48
+msgid "Male"
+msgstr "Masculino"
+
+#: initialise.php:49
+msgid "Female"
+msgstr "Mujer"
+
+#: initialise.php:50
+msgid "Unspecified"
+msgstr "Indeterminado"
+
+#: initialise.php:52
+msgid "Miss"
+msgstr "Srta"
+
+#: initialise.php:53
+msgid "Mr"
+msgstr "Sr"
+
+#: initialise.php:54
+msgid "Ms"
+msgstr "Sra"
+
+#: initialise.php:55
+msgid "Dr"
+msgstr "Dr"
+
+#: views/404.php:7
+msgid "The requested page could not be found."
+msgstr "No se ha podido encontrar la página solicitada."
+
+#: views/404.php:8
+#, php-format
+msgid "%sClick here%s to return to the home page."
+msgstr "%shaga clic aquí %s para volver a la página de inicio."
+
+#: views/503.php:7
+msgid "The requested page could not be served due to an internal server error."
+msgstr ""
+"La página solicitada no se pudo servir debido a un error interno del "
+"servidor."
+
+#: views/503.php:8
+msgid "Please try again later."
+msgstr "Por favor, inténtelo de nuevo más tarde."
+
+#: views/account.php:11
+msgid ""
+"Your account has been banned. You will not be able to participate in any "
+"tests."
+msgstr "Su cuenta ha sido prohibida. No podrá participar en ninguna prueba."
+
+#: views/account.php:19
+msgid ""
+"Your account is not verified. You need to submit proof of ID and get your "
+"account verified before you can participate in tests."
+msgstr ""
+"Su cuenta no está verificada. Debe presentar una prueba de identificación y "
+"verificar su cuenta para poder participar en las pruebas."
+
+#: views/account.php:27
+msgid ""
+"Your account is pending verification. You will be able to participate in "
+"tests once verified."
+msgstr ""
+"Su cuenta está pendiente de verificación. Usted será capaz de participar en "
+"las pruebas una vez verificado."
+
+#: views/account.php:35
+msgid ""
+"Your account is deactivated. You will not be able to participate in any "
+"tests until you reactivate your account."
+msgstr ""
+"Su cuenta está desactivada. No podrás participar en ninguna prueba hasta que "
+"reactives tu cuenta."
+
+#: views/account.php:46
+msgid "Main Menu"
+msgstr "Menú principal"
+
+#: views/account.php:83
+msgid "To-Do"
+msgstr "To-do"
+
+#: views/account.php:120
+msgid "Important"
+msgstr "Importante"
+
+#: views/account.php:127
+#, php-format
+msgid "%sTerms and Conditions%s have been published."
+msgstr "se han publicado %sEsterms y condiciones%s."
+
+#: views/account.php:130
+#, php-format
+msgid ""
+"Our records show that you have not accepted the %sTerms and Conditions%s on "
+"registration. Please take time to read our Terms and Conditions and then "
+"click Accept or Decline to continue."
+msgstr ""
+"Nuestros registros muestran que usted no ha aceptado el %sEsterms y las "
+"condiciones%s en el registro. Por favor, tómese un tiempo para leer nuestros "
+"términos y condiciones y luego haga clic en aceptar o rechazar para "
+"continuar."
+
+#: views/account.php:137
+#, php-format
+msgid ""
+"Our records show that you have declined the %sTerms and Conditions. If you "
+"have changed your mind, please click Accept to continue or Decline for other "
+"actions."
+msgstr ""
+"Nuestros registros muestran que usted ha rechazado el %sEsterms y "
+"condiciones. Si has cambiado de opinión, por favor haz clic en Aceptar para "
+"continuar o declinar para otras acciones."
+
+#: views/account.php:143 views/test_list_assigned.php:91
+msgid "Accept"
+msgstr "Aceptar"
+
+#: views/account.php:144 views/test_list_assigned.php:92
+msgid "Decline"
+msgstr "Rechazar"
+
+#: views/account.php:154
+msgid "Useful Documents"
+msgstr "Documentos útiles"
+
+#: views/account.php:159
+msgid "ID Response for Testers"
+msgstr "Respuesta de ID para evaluadores"
+
+#: views/account.php:163
+msgid "Age Verification Testing Methodology"
+msgstr "Metodología de prueba de verificación de edad"
+
+#: views/account.php:167
+msgid "Machine Categories"
+msgstr "Categorías de máquina"
+
+#: views/account.php:171
+msgid "Testing Procedure"
+msgstr "Procedimiento de prueba"
+
+#: views/account.php:178
+msgid "Referrals"
+msgstr "Referidos"
+
+#: views/account.php:184
+msgid "Users Referred"
+msgstr "Los usuarios referidos"
+
+#: views/account.php:191
+msgid "Referral Link"
+msgstr "Enlace de referencia"
+
+#: views/account.php:195 views/account.php:197
+msgid "Copy to clipboard"
+msgstr "Copiar al portapapeles"
+
+#: views/account_deactivate.php:5
+msgid "By deactivating your account, you will:"
+msgstr "Al desactivar tu cuenta, podrás:"
+
+#: views/account_deactivate.php:8 views/account_delete.php:8
+msgid "No longer be assigned tests."
+msgstr "Ya no se le asignarán pruebas."
+
+#: views/account_deactivate.php:9 views/account_delete.php:9
+msgid "No longer be able to participate in tests."
+msgstr "Ya no podrá participar en las pruebas."
+
+#: views/account_deactivate.php:10 views/account_delete.php:11
+msgid "Unassign yourself from all currently assigned tests."
+msgstr "Anular la asignación de todas las pruebas asignadas actualmente."
+
+#: views/account_deactivate.php:13
+msgid ""
+"You can always log into your account and reactivate the account should you "
+"wish to continue to use our services, however you will lose your currently "
+"assigned tests."
+msgstr ""
+"Siempre puede iniciar sesión en su cuenta y reactivar la cuenta si desea "
+"continuar utilizando nuestros servicios, sin embargo, perderá sus pruebas "
+"asignadas actualmente."
+
+#: views/account_deactivate.php:16 views/account_delete.php:20
+msgid "This action cannot be undone."
+msgstr "Esta acción no se puede deshacer."
+
+#: views/account_deactivate.php:21 views/account_delete.php:25
+#: views/modal_test_claim.php:38
+msgid "Cancel"
+msgstr "Cancelar"
+
+#: views/account_delete.php:5
+msgid "By deleting your account, you will:"
+msgstr "Al eliminar tu cuenta, podrás:"
+
+#: views/account_delete.php:10
+msgid "No longer be able to generate invoices for completed tests."
+msgstr "Ya no podrá generar facturas para las pruebas completadas."
+
+#: views/account_delete.php:12
+msgid ""
+"Delete all personal identifiable information associated with your account."
+msgstr ""
+"Elimine toda la información de identificación personal asociada a su cuenta."
+
+#: views/account_delete.php:15
+msgid ""
+"If you have participated in tests, we will need to keep only your age and "
+"gender for test reporting purposes. This information will not and cannot be "
+"used to identify you."
+msgstr ""
+"Si ha participado en pruebas, tendremos que mantener solo su edad y sexo "
+"para fines de informes de pruebas. Esta información no se puede utilizar "
+"para identificarle."
+
+#: views/account_delete.php:17
+msgid ""
+"You will need to register again should you wish to continue to use our "
+"services."
+msgstr ""
+"Tendrá que registrarse de nuevo si desea continuar utilizando nuestros "
+"servicios."
+
+#: views/address_add_form.php:6 views/address_edit_form.php:9
+msgid "Name"
+msgstr "Nombre"
+
+#: views/address_add_form.php:7 views/address_edit_form.php:10
+#: views/contact.php:21
+msgid "Enter name"
+msgstr "Introduzca nombre"
+
+#: views/address_add_form.php:8
+msgid ""
+"A friendly name for this address. For example: Home, Uni, Workplace, etc..."
+msgstr ""
+"Un nombre descriptivo para esta dirección. Por ejemplo: Home, UNI, "
+"Workplace, etc..."
+
+#: views/address_add_form.php:11 views/address_edit_form.php:29
+#: views/register.php:123
+msgid "Postal Code"
+msgstr "Código Postal"
+
+#: views/address_add_form.php:12 views/address_edit_form.php:30
+#: views/register.php:125
+msgid "Enter postal code"
+msgstr "Ingrese el Código Postal"
+
+#: views/address_add_form.php:15 views/address_edit_form.php:33
+#: views/register.php:129
+msgid "Country"
+msgstr "País"
+
+#: views/address_add_form.php:20 views/addresses.php:53
+msgid "Add"
+msgstr "Añadir"
+
+#: views/address_edit_form.php:13
+msgid "Address Line 1"
+msgstr "Dirección línea 1"
+
+#: views/address_edit_form.php:14
+msgid "Enter address line 1"
+msgstr "Introduzca la línea de dirección 1"
+
+#: views/address_edit_form.php:17
+msgid "Address Line 2"
+msgstr "Dirección línea 2"
+
+#: views/address_edit_form.php:18
+msgid "Enter address line 2"
+msgstr "Introduzca la línea de dirección 2"
+
+#: views/address_edit_form.php:21
+msgid "City"
+msgstr "Ciudad"
+
+#: views/address_edit_form.php:22
+msgid "Enter city"
+msgstr "Ciudad"
+
+#: views/address_edit_form.php:25
+msgid "County"
+msgstr "País"
+
+#: views/address_edit_form.php:26
+msgid "Enter county"
+msgstr "Ingrese el Condado"
+
+#: views/address_edit_form.php:40
+msgid "Map"
+msgstr "Mapa"
+
+#: views/address_edit_form.php:49
+msgid "Max Distance"
+msgstr "Distancia máxima"
+
+#: views/address_edit_form.php:66 views/settings.php:151
+msgid "Save"
+msgstr "Guardar"
+
+#: views/addresses.php:8
+msgid "There are no addresses associated with your account."
+msgstr "No hay direcciones asociadas a su cuenta."
+
+#: views/addresses.php:38
+msgid "Set as Invoice Address"
+msgstr "Establecer como dirección de factura"
+
+#: views/addresses.php:43
+msgid "Edit"
+msgstr "Editar"
+
+#: views/become_a_tester.php:2
+msgid "Join our Team"
+msgstr "Únase a nuestro equipo"
+
+#: views/become_a_tester.php:4
+msgid "We are always actively recruiting testers!"
+msgstr "¡ Siempre estamos reclutando probadores activamente!"
+
+#: views/become_a_tester.php:6
+msgid ""
+"We pay a fee per test, straight into your chosen bank account on a "
+"fortnightly/monthly basis. Ideal for students who want to earn some extra "
+"money for very little effort."
+msgstr ""
+"Pagamos una tarifa por prueba, directamente en su cuenta bancaria elegida en "
+"una base quincenal/mensual. Ideal para estudiantes que quieran ganar algo de "
+"dinero extra por muy poco esfuerzo."
+
+#: views/become_a_tester.php:8
+msgid ""
+"If you are aged 18-20 and look younger than your years - we want to hear "
+"from you."
+msgstr ""
+"Si tiene una edad de 18-20 y se ve más joven que sus años, queremos saber de "
+"usted."
+
+#: views/become_a_tester.php:10
+msgid ""
+"There is no commitment to undertake - simply be available when called upon "
+"to visit a site and complete a test. Full training is given and you can earn "
+"as you test."
+msgstr ""
+"No hay compromiso para emprender-simplemente estar disponible cuando se le "
+"llama a visitar un sitio y completar una prueba. Se da entrenamiento "
+"completo y se puede ganar a medida que se prueba."
+
+#: views/become_a_tester.php:12
+msgid "Join our team now!"
+msgstr "¡ Únete a nuestro equipo ahora!"
+
+#: views/become_a_tester.php:14
+msgid "Your details will NOT be shared with any third party."
+msgstr "Sus datos no se compartirán con ningún tercero."
+
+#: views/contact.php:4
+msgid "Contact Info"
+msgstr "Información de contacto"
+
+#: views/contact.php:6
+msgid ""
+"We are always happy to receive correspondence. We try to answer all emails "
+"within an hour during working hours."
+msgstr ""
+"Siempre estamos encantados de recibir correspondencia. Tratamos de responder "
+"a todos los correos electrónicos dentro de una hora durante las horas de "
+"trabajo."
+
+#: views/contact.php:16
+msgid "Contact Form"
+msgstr "Formulario de contacto"
+
+#: views/contact.php:26 views/log_in.php:12 views/register.php:71
+#: views/reset_password.php:37 views/settings.php:52
+msgid "Enter email address"
+msgstr "Introduce dirección de email"
+
+#: views/contact.php:31
+msgid "Enter contact number"
+msgstr "Introduzca el número de contacto"
+
+#: views/contact.php:37
+msgid "Enter message"
+msgstr "Escriba su mensaje"
+
+#: views/contact.php:51
+#, php-format
+msgid ""
+"This site is protected by reCAPTCHA and the Google %sPrivacy Policy%s and "
+"%sTerms of Service%s apply."
+msgstr ""
+"Este sitio está protegido por reCAPTCHA y la política de privacidad de "
+"Google %sPrivacy%s y %sEsterms de servicio%s aplican."
+
+#: views/contact.php:64
+msgid "Send Message"
+msgstr "Enviar mensaje"
+
+#: views/error.php:3
+msgid "Error"
+msgstr "Error"
+
+#: views/footer.php:12
+msgid "Navigation"
+msgstr "Navegación"
+
+#: views/footer.php:35
+msgid "Follow Us"
+msgstr "Síguenos"
+
+#: views/footer.php:48
+msgid "Our Location"
+msgstr "Nuestra Ubicación"
+
+#: views/header.php:28 views/home.php:11
+msgid "Age Verification Testing and Training across the UK"
+msgstr "Pruebas de verificación de edad y capacitación en todo el Reino Unido"
+
+#: views/header.php:92
+msgid "Log Out"
+msgstr "Cerrar sesión"
+
+#: views/header.php:125
+msgid "PLEASE NOTE:"
+msgstr "TENGA EN CUENTA:"
+
+#: views/header.php:125
+msgid "This is a development version of the site."
+msgstr "Esta es una versión de desarrollo del sitio."
+
+#: views/header.php:171
+msgid "This site uses cookies to improve functionality and personalisation."
+msgstr ""
+"Este sitio utiliza cookies para mejorar la funcionalidad y la "
+"personalización."
+
+#: views/header.php:172
+msgid ""
+"By continuing to use the site, you consent to our use of cookies and our "
+"privacy policy."
+msgstr ""
+"Al continuar utilizando el sitio, usted acepta nuestro uso de cookies y "
+"nuestra política de privacidad."
+
+#: views/home.php:19
+msgid ""
+"Do you know how old your clients are? Do you ask for proof of ID if not sure?"
+msgstr ""
+"¿Sabes cuántos años tienen tus clientes? ¿Pide prueba de identificación si "
+"no está seguro?"
+
+#: views/home.php:26 views/pagination.php:32
+msgid "Previous"
+msgstr "Anterior"
+
+#: views/home.php:30 views/pagination.php:43
+msgid "Next"
+msgstr "Siguiente"
+
+#: views/home.php:45
+msgid "What else can Check Policy do for you?"
+msgstr "¿Qué más puede comprobar la política para usted?"
+
+#: views/home.php:50
+msgid "Immediate Test Results"
+msgstr "Resultados inmediatos de la prueba"
+
+#: views/home.php:51
+msgid ""
+"All our testers provide live test results or at least as live as a data "
+"connection will allow. Once the test has been completed, you will get the "
+"result emailed to you immediately with total transparency. We believe you "
+"need the results, whether good or bad, to satisfy guidelines and regulations."
+msgstr ""
+"Todos nuestros probadores proporcionan resultados de pruebas en vivo o al "
+"menos tan en vivo como una conexión de datos permitirá. Una vez completada "
+"la prueba, recibirás el resultado por correo electrónico inmediatamente con "
+"total transparencia. Creemos que necesita los resultados, ya sean buenos o "
+"malos, para cumplir con las pautas y regulaciones."
+
+#: views/home.php:54
+msgid "Test Certificates Awarded"
+msgstr "Certificados de prueba otorgados"
+
+#: views/home.php:55
+msgid ""
+"If you pass the test, then you will be awarded a certificate of evidence to "
+"prove you and your team (if applicable) are following guidelines and "
+"regulations. You can decide whether to frame it to show clients or file it "
+"to show any future testing authority. It's up to you."
+msgstr ""
+"Si aprueba la prueba, se le otorgará un certificado de prueba para demostrar "
+"que usted y su equipo (si corresponde) están siguiendo las pautas y "
+"regulaciones. Puede decidir si desea encuadrar para mostrar clientes o "
+"archivo para mostrar cualquier autoridad de prueba futura. Depende de ti."
+
+#: views/home.php:58
+msgid "Ongoing Training & Testing"
+msgstr "Formación y pruebas continuas"
+
+#: views/home.php:59
+msgid ""
+"Should you fail the test, we would obviously like to provide you with "
+"support and ongoing training to improve your results for the next time. With "
+"our training we will highlight your weaknesses and strengths so your "
+"business is following the required regulations."
+msgstr ""
+"Si fallas la prueba, obviamente nos gustaría proporcionarle soporte y "
+"capacitación continua para mejorar sus resultados para la próxima vez. Con "
+"nuestra formación destacaremos sus debilidades y fortalezas para que su "
+"negocio esté siguiendo las regulaciones requeridas."
+
+#: views/home.php:68
+#, php-format
+msgid "Call or WhatsApp us on %s"
+msgstr "Llámenos o envíenos un WhatsApp en %s"
+
+#: views/home.php:69
+msgid "Calls are charged at mobile call rates"
+msgstr "Las llamadas se cobran a las tarifas de llamadas móviles"
+
+#: views/jobs.php:2
+msgid "We are recruiting!"
+msgstr ""
+"¡ Estamos buscando trabajodores\n"
+"!"
+
+#: views/jobs.php:4
+msgid "We are looking for testers nationwide!"
+msgstr "Estamos buscando probadores a nivel nacional!"
+
+#: views/jobs.php:6
+msgid ""
+"The job entails visiting Gaming Arcades with a view to perform Age "
+"Verification Checking - getting challenged for ID."
+msgstr ""
+"El trabajo implica visitar arcades de juegos con el fin de realizar la "
+"verificación de edad comprobación-conseguir desafiado por ID."
+
+#: views/jobs.php:8
+msgid "Full training will be given by webinar, videos and telephone."
+msgstr "El entrenamiento completo será dado por Webinar, videos y teléfono."
+
+#: views/jobs.php:10
+msgid "We pay £10 per visit which will last a maximum of 5 minutes!"
+msgstr "Pagamos €10 por visita que durará un máximo de 5 minutos!"
+
+#: views/jobs.php:12
+msgid "Register to get your pack now!"
+msgstr "Regístrese para obtener su paquete ahora!"
+
+#: views/jobs.php:14
+msgid "Our new testing campaign begins in January - so be quick and register."
+msgstr ""
+"Nuestra nueva campaña de pruebas comienza en enero, así que sea rápido y "
+"regístrese."
+
+#: views/jobs.php:16
+msgid ""
+"Please note that NONE of your details will be shared with any third party "
+"apart from your photo which may have to be provided to our clients should "
+"they have a need to confirm CCTV identity."
+msgstr ""
+"Tenga en cuenta que ninguno de sus datos se compartirá con ningún tercero "
+"aparte de su foto que puede tener que ser proporcionada a nuestros clientes "
+"en el supuesto de que tengan la necesidad de confirmar la identidad CCTV."
+
+#: views/log_in.php:10 views/register.php:69 views/reset_password.php:35
+#: views/settings.php:50
+msgid "Email Address"
+msgstr "Dirección de correo electrónico"
+
+#: views/log_in.php:17 views/register.php:81 views/reset_password.php:12
+msgid "Password"
+msgstr "Contraseña"
+
+#: views/log_in.php:19 views/register.php:83 views/reset_password.php:14
+#: views/settings.php:74
+msgid "Enter password"
+msgstr "Introducir la contraseña"
+
+#: views/log_in.php:26
+msgid "Forgot Password"
+msgstr "Se te olvidó tu contraseña"
+
+#: views/modal_services_1.php:6
+msgid "Age-Related Products"
+msgstr "Productos relacionados con la edad"
+
+#: views/modal_services_1.php:13
+msgid "Cigarettes"
+msgstr "Cigarrillos"
+
+#: views/modal_services_1.php:15
+msgid ""
+"If you are selling age-related products or services such as cigarettes, "
+"alcohol and gambling. Then it is advisable to be tested independently to "
+"ensure you are able to identify and refuse persons wishing to purchase your "
+"services. Again this sounds very easy, to ask someones age and verify it, "
+"but in reality it's quite an issue."
+msgstr ""
+"Si vende productos o servicios relacionados con la edad, como cigarrillos, "
+"alcohol y juegos de azar. Entonces es aconsejable ser probado de forma "
+"independiente para asegurarse de que son capaces de identificar y rechazar a "
+"las personas que desean comprar sus servicios. Una vez más esto suena muy "
+"fácil, para preguntar a como someones la edad y verificarlo, pero en "
+"realidad es un gran problema."
+
+#: views/modal_services_1.php:17
+msgid ""
+"A simple check by one of Check Policy's mystery shoppers will determine "
+"whether you and your staff are adhering to guidelines when serving age-"
+"related products."
+msgstr ""
+"Un simple cheque por uno de los compradores misteriosos de check Policy "
+"determinará si usted y su personal están cumpliendo con las pautas al servir "
+"productos relacionados con la edad."
+
+#: views/modal_services_1.php:19
+msgid "How it works:"
+msgstr "Así funciona:"
+
+#: views/modal_services_1.php:20
+msgid ""
+"One of our Shoppers will visit your site and try to purchase an age-related "
+"product or service. If they are successful and not asked any questions to "
+"verify their age you will fail. The test report will be sent to you "
+"immediately upon completing the test by our automated system; designed to "
+"show the full procedure of the test and after you can make a decision to opt "
+"for further training if needed."
+msgstr ""
+"Uno de nuestros compradores visitará su sitio e intentará comprar un "
+"producto o servicio relacionado con la edad. Si tienen éxito y no hacen "
+"ninguna pregunta para verificar su edad fallarán. El informe de la prueba se "
+"le enviará inmediatamente después de completar la prueba por nuestro sistema "
+"automatizado; diseñado para mostrar el procedimiento completo de la prueba y "
+"después de que usted puede tomar la decisión de optar por una formación "
+"adicional si es necesario."
+
+#: views/modal_services_1.php:22
+msgid "Check Policy is here to help and guide you along the way."
+msgstr ""
+"La política de cheques está aquí para ayudarte y guiarte a lo largo del "
+"camino."
+
+#: views/modal_services_2.php:6 views/services.php:22
+msgid "Age Verification Testing"
+msgstr "Pruebas de verificación de edad"
+
+#: views/modal_services_2.php:13
+msgid "Driving Licence"
+msgstr "Carné"
+
+#: views/modal_services_2.php:15
+msgid "It sounds simple doesn't it, to verify someones age?!"
+msgstr "Suena simple, ¿no es así, para verificar la edad de alguien?!"
+
+#: views/modal_services_2.php:16
+msgid ""
+"However our tests have revealed that it's quite a challenge for some people "
+"to actually ask for ID when selling age-related products or services. It is "
+"against the law to sell age-related products or services to minors so it "
+"does become quite an issue."
+msgstr ""
+"Sin embargo, nuestras pruebas han revelado que es un gran desafío para "
+"algunas personas realmente pedir identificación al vender productos o "
+"servicios relacionados con la edad. Es contra la ley vender productos o "
+"servicios relacionados con la edad a menores, por lo que se convierte en "
+"todo un problema."
+
+#: views/modal_services_2.php:18
+msgid ""
+"Our tests are designed to show if you or your team are asking the right "
+"questions and getting the honest answer in return."
+msgstr ""
+"Nuestras pruebas están diseñadas para mostrar si usted o su equipo están "
+"haciendo las preguntas correctas y obteniendo la respuesta honesta a cambio."
+
+#: views/modal_services_2.php:20
+msgid ""
+"Training courses are designed to help you and your team meet the demanding "
+"requirements, by law, to verify age; and how to ask is very important "
+"without offending – keep safe and get training."
+msgstr ""
+"Los cursos de capacitación están diseñados para ayudarle a usted y a su "
+"equipo a cumplir con los requisitos más exigentes, por ley, para verificar "
+"la edad; y cómo preguntar es muy importante sin ofender – mantener a salvo y "
+"obtener entrenamiento."
+
+#: views/modal_services_3.php:6 views/services.php:35
+msgid "Bespoke Policy Checks"
+msgstr "Comprobaciones de políticas personalizadas"
+
+#: views/modal_services_3.php:13
+msgid "Office"
+msgstr "Oficina"
+
+#: views/modal_services_3.php:15
+msgid ""
+"Unlike our other tests which are quite specific, this service is tailored to "
+"suit your business. We were approached by several clients to test their "
+"premises for various company policy related issues such as attire, attitude "
+"and so on."
+msgstr ""
+"A diferencia de nuestras otras pruebas que son bastante específicas, este "
+"servicio está diseñado para adaptarse a su negocio. Nos acercamos varios "
+"clientes para probar sus instalaciones para diversas cuestiones relacionadas "
+"con la política de la compañía, tales como vestimenta, actitud y así "
+"sucesivamente."
+
+#: views/modal_services_3.php:17
+msgid ""
+"First impressions count, so if your staff aren't presenting the \"Face of "
+"the Company\" correctly, you may lose that client and all the possible "
+"benefits with it. A simple test by Check Policy will help you train your "
+"staff accordingly and keep them sharp with company policy."
+msgstr ""
+"Las primeras impresiones cuentan, así que si su personal no está presentando "
+"la \"cara de la compañía\" correctamente, usted puede perder a ese cliente y "
+"todos los posibles beneficios con él. Una simple prueba por la política de "
+"verificación le ayudará a entrenar a su personal en consecuencia y "
+"mantenerlos alerta con la política de la empresa."
+
+#: views/modal_test_claim.php:14
+msgid "Confirm Selected Tests"
+msgstr "Confirme las pruebas seleccionadas"
+
+#: views/modal_test_claim.php:21
+msgid "You have selected the following tests:"
+msgstr "Ha seleccionado las siguientes pruebas:"
+
+#: views/modal_test_claim.php:26
+msgid "The due date is:"
+msgstr "La fecha de vencimiento es:"
+
+#: views/modal_test_claim.php:28
+msgid "By confirming, you agree that:"
+msgstr "Al confirmarlo, aceptas que:"
+
+#: views/modal_test_claim.php:31
+msgid "You will execute these tests by the due date displayed above."
+msgstr ""
+"Ejecutará estas pruebas antes de la fecha de vencimiento mostrada "
+"anteriormente."
+
+#: views/modal_test_claim.php:32
+msgid ""
+"Failure to complete tests by the due date without good reason may result in "
+"the tests being unassigned from yourself and limit your ability to claim "
+"tests in the future."
+msgstr ""
+"El hecho de no completar las pruebas antes de la fecha de vencimiento sin "
+"una buena razón puede resultar en que las pruebas se desasignen de usted "
+"mismo y limitar su capacidad para reclamar pruebas en el futuro."
+
+#: views/modal_test_claim.php:39
+msgid "Confirm"
+msgstr "Confirmar"
+
+#: views/modal_test_claim.php:40
+msgid "Finish"
+msgstr "Terminar"
+
+#: views/modal_test_invoice.php:7 views/modal_test_invoice.php:29
+msgid "Download Invoice"
+msgstr "Descargar factura"
+
+#: views/modal_test_invoice.php:24
+msgid "You may be contacted for verification purposes."
+msgstr "Usted puede ser contactado para fines de verificación."
+
+#: views/pagination.php:37
+#, php-format
+msgid "Page %s of %s"
+msgstr "Página %s de %s"
+
+#: views/practice_form.php:11 views/test_form.php:50
+msgid "Test Completed"
+msgstr "Prueba completada"
+
+#: views/practice_form.php:13
+msgid ""
+"Thanks for taking a practice test. You can find your submitted results below."
+msgstr ""
+"Gracias por hacer una prueba de práctica. Puede encontrar los resultados "
+"presentados a continuación."
+
+#: views/practice_form.php:15
+msgid "Start Over"
+msgstr "Empezar de"
+
+#: views/practice_form.php:41
+msgid "View Image"
+msgstr "Ver Imagen"
+
+#: views/practice_form.php:56
+msgid "Test Date/Time"
+msgstr "Fecha/hora de prueba"
+
+#: views/practice_form.php:59
+msgid "Test Start"
+msgstr "Inicio de prueba"
+
+#: views/practice_form.php:66
+msgid "Test End"
+msgstr "End de prueba"
+
+#: views/practice_template_select.php:9
+msgid ""
+"There are no practice forms available at the moment. Please try again later."
+msgstr ""
+"No hay formularios de práctica disponibles en este momento. Por favor "
+"inténtelo de nuevo más tarde."
+
+#: views/practice_template_select.php:20
+#, php-format
+msgid "Practice Form #%d"
+msgstr "Formulario de práctica #% d"
+
+#: views/register.php:9
+msgid ""
+"Become a tester and earn £10 per test which should last no longer than 8 "
+"minutes!"
+msgstr ""
+"Convertirse en un probador y ganar €10 por prueba que debe durar no más de 8 "
+"minutos!"
+
+#: views/register.php:12
+#, php-format
+msgid ""
+"If you want more information on our security policy, please call us on %s "
+"(mobile call rate)."
+msgstr ""
+"Si desea más información sobre nuestra política de seguridad, por favor "
+"llámenos al %s (tasa de llamadas móviles)."
+
+#: views/register.php:23 views/settings.php:17
+msgid "Title"
+msgstr "Título"
+
+#: views/register.php:26 views/settings.php:20
+msgid "Select title"
+msgstr "Seleccione el título"
+
+#: views/register.php:39 views/settings.php:33
+msgid "First Name"
+msgstr "Nombre"
+
+#: views/register.php:41 views/settings.php:35
+msgid "Enter first name"
+msgstr "Poseu el vostre nom"
+
+#: views/register.php:45 views/settings.php:39
+msgid "Last Name"
+msgstr "Apellido"
+
+#: views/register.php:47 views/settings.php:41
+msgid "Enter last name"
+msgstr "Introduzca su apellido"
+
+#: views/register.php:51
+msgid "Gender"
+msgstr "Sexo"
+
+#: views/register.php:54
+msgid "Select gender"
+msgstr "Seleccione sexo"
+
+#: views/register.php:75 views/settings.php:61
+msgid "Mobile Number"
+msgstr "Teléfono móvil"
+
+#: views/register.php:77 views/settings.php:63
+msgid "Enter mobile number"
+msgstr "Introduzca el número de móvil"
+
+#: views/register.php:84 views/reset_password.php:15 views/settings.php:75
+#, php-format
+msgid ""
+"At least %s6 characters%s. Must contain at least one %slowercase%s, "
+"%suppercase%s, %snumber%s and %sspecial%s character."
+msgstr ""
+"Al menos %scaracteres S6%s. debe contener al menos un %slowercase%s, "
+"%suppercase%s, %snumber%s y %sspecial%s carácter."
+
+#: views/register.php:94 views/reset_password.php:25 views/settings.php:85
+msgid "Confirm Password"
+msgstr "Confirmar contraseña"
+
+#: views/register.php:96 views/reset_password.php:27 views/settings.php:87
+msgid "Confirm password"
+msgstr "Confirmar contraseña"
+
+#: views/register.php:100
+msgid "Date of Birth"
+msgstr "Fecha de nacimiento"
+
+#: views/register.php:103
+msgid "Day"
+msgstr "Día"
+
+#: views/register.php:109
+msgid "Month"
+msgstr "Mes"
+
+#: views/register.php:115
+msgid "Year"
+msgstr "Año"
+
+#: views/register.php:139
+#, php-format
+msgid ""
+"I agree to and have read the %sTerms and Conditions%s and %sPrivacy Policy%s"
+msgstr ""
+"Acepto y he leído el %sEsterms y las condiciones%s y %spolítica de privacidad"
+"%s"
+
+#: views/register.php:148 views/settings.php:57
+#, php-format
+msgid "Opt-in to newsletters about %s"
+msgstr "Para participar en los boletines informativos sobre %s"
+
+#: views/reset_password.php:45 views/submit_id.php:42
+msgid "Submit"
+msgstr "Enviar"
+
+#: views/services.php:3
+msgid "Check Policy Services"
+msgstr "Consulte Policy Services"
+
+#: views/services.php:10
+msgid "Age Related Products"
+msgstr "Productos relacionados con la edad"
+
+#: views/services.php:14
+msgid "Testing your team to keep you and your clients safe."
+msgstr "Probando su equipo para mantener a usted y a sus clientes seguros."
+
+#: views/services.php:26
+msgid "Being prepared."
+msgstr "Estar preparado."
+
+#: views/services.php:27
+msgid "Better protected."
+msgstr "Mejor protegido."
+
+#: views/services.php:39
+msgid "Need a specific check?"
+msgstr "¿Necesita un cheque específico?"
+
+#: views/services.php:40
+msgid "We can cover it!"
+msgstr "¡ Podemos cubrirlo!"
+
+#: views/services.php:48
+msgid "Still not sure what service you need?"
+msgstr "¿Aún no está seguro de qué servicio necesita?"
+
+#: views/services.php:51
+#, php-format
+msgid ""
+"Simply call us on %s and we will gladly walk you through the process to "
+"begin your testing and training with %s."
+msgstr ""
+"Simplemente llámenos al %s y con gusto le guiaremos a través del proceso "
+"para comenzar sus pruebas y entrenamiento con %s."
+
+#: views/services.php:54
+#, php-format
+msgid ""
+"Alternatively, complete the form on the %sContact%s page and we will contact "
+"you."
+msgstr ""
+"Alternativamente, rellene el formulario en la página %sContact %s y nos "
+"comunicaremos con usted."
+
+#: views/settings.php:14
+msgid "Personal"
+msgstr "Personal"
+
+#: views/settings.php:69
+msgid "Security"
+msgstr "Seguridad"
+
+#: views/settings.php:72
+msgid "Password (if changing)"
+msgstr "Contraseña (si cambia)"
+
+#: views/settings.php:92
+msgid "Payment"
+msgstr "Pago"
+
+#: views/settings.php:94
+msgid "Preferred Payment Method"
+msgstr "Método de Pago preferido"
+
+#: views/settings.php:109
+msgid "Bank Name"
+msgstr "Nombre del banco"
+
+#: views/settings.php:111
+msgid "Enter bank name"
+msgstr "Introduzca el nombre del Banco"
+
+#: views/settings.php:115
+msgid "Bank Sort Code"
+msgstr "Código de ordenación bancaria"
+
+#: views/settings.php:117
+msgid "Enter bank sort code"
+msgstr "Introduzca el código de ordenación bancario"
+
+#: views/settings.php:121
+msgid "Bank Account Number"
+msgstr "Numero de la Cuenta Bancaria"
+
+#: views/settings.php:123
+msgid "Enter bank account number"
+msgstr "Introduzca el número de cuenta bancaria"
+
+#: views/settings.php:127
+msgid "PayPal Email Address"
+msgstr "Correo Electrónico de PayPal"
+
+#: views/settings.php:129
+msgid "Enter PayPal email address"
+msgstr "Ingresa la dirección de correo electrónico de PayPal"
+
+#: views/submit_id.php:6
+msgid "Important Info"
+msgstr "Información importante"
+
+#: views/submit_id.php:10
+msgid "Acceptable forms of ID include:"
+msgstr "Las formas aceptables de identificación incluyen:"
+
+#: views/submit_id.php:12
+msgid "Current EU/EEA passport."
+msgstr "Pasaporte actual UE/EEE."
+
+#: views/submit_id.php:13
+msgid "Current driver's licence."
+msgstr "Licencia de conducir actual."
+
+#: views/submit_id.php:16
+msgid "A photo of you must be shown."
+msgstr "Una foto de usted debe ser mostrada."
+
+#: views/submit_id.php:17
+msgid "Expired documents will not be accepted."
+msgstr "No se aceptarán documentos caducados."
+
+#: views/submit_id.php:18
+msgid "Submitted images must be clear and not obscured in any way."
+msgstr ""
+"Las imágenes enviadas deben ser claras y no estar oscurecido de ninguna "
+"manera."
+
+#: views/submit_id.php:19
+msgid "Only JPEG format accepted."
+msgstr "Solo se acepta el formato JPEG."
+
+#: views/submit_id.php:24
+msgid "Submission Form"
+msgstr "Formulario de presentación de la oferta"
+
+#: views/submit_id.php:29
+msgid "ID Document"
+msgstr "ID documento"
+
+#: views/submit_id.php:31
+msgid "Passport, driver's licence, etc."
+msgstr "Pasaporte, carnet de conducir, etc."
+
+#: views/submit_id.php:35
+msgid "Photo"
+msgstr "Foto"
+
+#: views/submit_id.php:37
+msgid "Photo of yourself, selfie, etc."
+msgstr "Foto de ti mismo, selfie, etc."
+
+#: views/submit_id.php:40
+msgid ""
+"Please note that it may take a while for photos to upload. Please do not "
+"refresh the page when it is uploading."
+msgstr ""
+"Tenga en cuenta que puede tomar un tiempo para que las fotos se carguen. Por "
+"favor, no actualice la página cuando se está cargando."
+
+#: views/terms_decline.php:6
+#, php-format
+msgid ""
+"We are sorry that you have chosen not to accept our %sTerms and Conditions%s."
+msgstr ""
+"Lamentamos que haya optado por no aceptar nuestros %sEsterms y condiciones%s."
+
+#: views/terms_decline.php:9
+msgid "Please select an action below:"
+msgstr "Por favor seleccione una acción a continuación:"
+
+#: views/terms_decline.php:14
+msgid ""
+"Mark your account as deactivated. You will not be assigned any tests. You "
+"will be able to login to your account to reactivate your account and/or "
+"accept the Terms and Conditions if you choose to do so at a later date. You "
+"will be taken to a confirmation page before your account is deactivated."
+msgstr ""
+"Marque su cuenta como desactivada. No se le asignarán ninguna prueba. Usted "
+"podrá iniciar sesión en su cuenta para reactivar su cuenta y/o aceptar los "
+"términos y condiciones si decide hacerlo en una fecha posterior. Se le "
+"llevará a una página de confirmación antes de desactivar su cuenta."
+
+#: views/terms_decline.php:18
+msgid ""
+"Delete all personal identifiable information associated with your account. "
+"If you choose to use our services at a later date, you will be required to "
+"re-register. You will be taken to a confirmation page before your account is "
+"deleted."
+msgstr ""
+"Elimine toda la información de identificación personal asociada a su cuenta. "
+"Si decide utilizar nuestros servicios en una fecha posterior, se le pedirá "
+"que vuelva a registrarse. Se le llevará a una página de confirmación antes "
+"de que se elimine su cuenta."
+
+#: views/terms_decline.php:21
+msgid "Accept Terms and Conditions"
+msgstr "Acepte los términos y condiciones"
+
+#: views/test_form.php:19
+msgid ""
+"Answer as clearly and accurately as you can otherwise you may be contacted "
+"after the test for clarification and/or verification purposes."
+msgstr ""
+"Responda con la mayor claridad y precisión que pueda, de lo contrario puede "
+"ser contactado después de la prueba para fines de clarificación y/o "
+"verificación."
+
+#: views/test_form.php:36
+msgid "Submit Test Results"
+msgstr "Presentar resultados de pruebas"
+
+#: views/test_form.php:38
+msgid "No Internet Connectivity"
+msgstr "No hay conectividad a Internet"
+
+#: views/test_form.php:39
+msgid "Please check your Internet connectivity and try again."
+msgstr "Por favor, compruebe su conexión a Internet e inténtelo de nuevo."
+
+#: views/test_form.php:52
+#, php-format
+msgid ""
+"This test is now completed. %sClick here%s to return to the Account page."
+msgstr ""
+"Esta prueba ya está completada.  %shaga clic aquí %s para volver a la página "
+"cuenta."
+
+#: views/test_list_assigned.php:20
+msgid "Actions"
+msgstr "Acciones"
+
+#: views/test_list_assigned.php:24
+msgid "Export KML"
+msgstr "Exportar KML"
+
+#: views/test_list_assigned.php:25
+msgid "Export Postcodes"
+msgstr "Exportar códigos postales"
+
+#: views/test_list_assigned.php:40
+msgid "No tests have been assigned to you at this time."
+msgstr "No se le han asignado pruebas en este momento."
+
+#: views/test_list_assigned.php:79
+msgid "Due:"
+msgstr "Debido:"
+
+#: views/test_list_assigned.php:97 views/tests.php:28
+msgid "Begin"
+msgstr "Comienza"
+
+#: views/test_list_assigned.php:102
+msgid "Continue"
+msgstr "Continuar"
+
+#: views/test_list_assigned.php:107
+msgid "Amend"
+msgstr "Modificar"
+
+#: views/test_list_completed.php:10
+msgid "You have not completed any tests yet."
+msgstr "Aún no ha completado ninguna prueba."
+
+#: views/test_list_completed.php:27
+#, php-format
+msgid ""
+"You have multiple addresses. %sClick here%s to manage your addresses and set "
+"one as the invoice address to enable the invoice link."
+msgstr ""
+"Tiene varias direcciones.  %shaga clic aquí %s para administrar sus "
+"direcciones y establecer una como la dirección de la factura para habilitar "
+"el enlace de la factura."
+
+#: views/test_list_completed.php:35
+#, php-format
+msgid ""
+"You have no valid payment method. %sClick here%s and verify your payment "
+"method settings are correct to enable the invoice link."
+msgstr ""
+"No tiene un método de pago válido.  %shaga clic aquí %s y verifique que la "
+"configuración de su método de pago es correcta para habilitar el enlace de "
+"la factura."
+
+#: views/test_list_completed.php:65
+msgid "%i min. %S sec."
+msgstr "% i mín. %s sec."
+
+#: views/test_list_completed.php:75
+msgid "Pending"
+msgstr "Pendiente"
+
+#: views/test_list_completed.php:79
+msgid "Rejected"
+msgstr "Rechazado"
+
+#: views/test_list_completed.php:84
+msgid "Accepted"
+msgstr "Aceptado"
+
+#: views/test_list_completed.php:96
+msgid "ID:"
+msgstr "ID:"
+
+#: views/test_list_completed.php:127
+msgid "Fee:"
+msgstr "Tarifa:"
+
+#: views/test_list_completed.php:132
+msgid "View selfie."
+msgstr "Ver selfie."
+
+#: views/tests.php:10
+msgid "You have no assigned tests at this time."
+msgstr "No tiene pruebas asignadas en este momento."
+
+#: views/tests_available.php:11
+#, php-format
+msgid "Claim %s0%s ..."
+msgstr "Reclamar %s0 %s..."
+
+#: views/tests_available.php:18
+msgid ""
+"On this page you can search for tests that are currently available. Please "
+"use the \"Select\" buttons or click on the map markers to select and "
+"deselect a test. After you have made your selections, please click the "
+"\"Claim\" button on the top-right of this page to assign yourself the tests."
+msgstr ""
+"En esta página puede buscar pruebas que estén disponibles actualmente. Por "
+"favor, utilice los botones \"seleccionar\" o haga clic en los marcadores de "
+"mapa para seleccionar y anular la selección de una prueba. Después de haber "
+"hecho sus selecciones, por favor haga clic en el botón \"reclamar\" en la "
+"parte superior derecha de esta página para asignarse a sí mismo las pruebas."
+
+#: views/tests_available.php:39
+msgid "Type:"
+msgstr "Tipo:"
+
+#: views/tests_available.php:45
+msgid "Nighttime"
+msgstr "Noche"
+
+#: views/tests_available.php:53
+#, php-format
+msgid "%s%s mi%s from your %s address"
+msgstr "%s %s mi %s de la dirección %s"
+
+#: views/tests_available.php:57
+msgid "Select"
+msgstr "Seleccionar"
+
+#: views/tests_available.php:70
+msgid "Location"
+msgstr "Ubicación"
+
+#~ msgid "Terms and Conditions"
+#~ msgstr "Terms and Conditions"

BIN
locales/nl_NL/LC_MESSAGES/nl_NL.mo


+ 2609 - 0
locales/nl_NL/LC_MESSAGES/nl_NL.po

@@ -0,0 +1,2609 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Check Policy Limited\n"
+"POT-Creation-Date: 2019-02-04 21:45+0000\n"
+"PO-Revision-Date: 2019-03-08 10:51+0000\n"
+"Last-Translator: Alan Lam <alanhmlam@gmail.com>\n"
+"Language-Team: Check Policy Limited\n"
+"Language: nl_NL\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.2.1\n"
+"X-Poedit-Basepath: ../../..\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Poedit-SearchPath-0: views\n"
+"X-Poedit-SearchPath-1: controllers\n"
+"X-Poedit-SearchPath-2: initialise.php\n"
+"X-Poedit-SearchPath-3: engine\n"
+
+#: controllers/404.php:5 views/404.php:3
+msgid "Page Not Found"
+msgstr "Pagina niet gevonden"
+
+#: controllers/503.php:5 views/503.php:3
+msgid "Internal Server Error"
+msgstr "Interne fout van de server"
+
+#: controllers/account.php:3 controllers/account_deactivate.php:5
+#: controllers/account_delete.php:5 controllers/address_add.php:5
+#: controllers/address_edit.php:54 controllers/addresses.php:5
+#: controllers/practice.php:11 controllers/practice_template_select.php:5
+#: controllers/settings.php:5 controllers/submit_id.php:5
+#: controllers/terms_decline.php:5 controllers/tests.php:5
+#: controllers/tests_available.php:7 controllers/tests_completed.php:7
+#: views/footer.php:28 views/header.php:89
+msgid "Account"
+msgstr "Account"
+
+#: controllers/account.php:17
+msgid "Customers"
+msgstr "Klanten"
+
+#: controllers/account.php:18
+#, fuzzy
+msgid "Map Overview"
+msgstr "Kaartoverzicht"
+
+#: controllers/account.php:19
+msgid "Users"
+msgstr "Gebruikers"
+
+#: controllers/account.php:19
+#, fuzzy
+msgid "Testers"
+msgstr "Testers"
+
+#: controllers/account.php:27
+msgid "Projects"
+msgstr "Projecten"
+
+#: controllers/account.php:28
+msgid "Locations"
+msgstr "Locaties"
+
+#: controllers/account.php:29
+msgid "Templates"
+msgstr "Templates"
+
+#: controllers/account.php:33
+msgid "Reports"
+msgstr "Rapporten"
+
+#: controllers/account.php:40 controllers/tests.php:3
+#: controllers/tests_available.php:8 controllers/tests_completed.php:8
+#: controllers/tests_tester_kml.php:16 views/test_list_assigned.php:5
+#: views/tests.php:3
+msgid "Tests"
+msgstr "Testen"
+
+#: controllers/account.php:44 controllers/practice.php:9
+msgid "Practice"
+msgstr "Werkwijze"
+
+#: controllers/account.php:48 controllers/address_add.php:6
+#: controllers/address_edit.php:55 controllers/addresses.php:3
+#: views/addresses.php:2
+msgid "Addresses"
+msgstr "Adressen"
+
+#: controllers/account.php:49
+#, fuzzy
+msgid "Tests (Completed)"
+msgstr "Tests (voltooid)"
+
+#: controllers/account.php:53 controllers/submit_id.php:3 views/submit_id.php:2
+#, fuzzy
+msgid "Submit ID"
+msgstr "Submit ID"
+
+#: controllers/account.php:60 controllers/settings.php:3 views/settings.php:7
+msgid "Settings"
+msgstr "Instellingen"
+
+#: controllers/account.php:69 views/settings.php:144
+#, fuzzy
+msgid "Reactivate Account"
+msgstr "Account opnieuw activeren"
+
+#: controllers/account.php:72 views/settings.php:139
+#, fuzzy
+msgid "Deactivate Account..."
+msgstr "Account deactiveren..."
+
+#: controllers/account.php:75 views/settings.php:148
+#, fuzzy
+msgid "Delete Account..."
+msgstr "Account verwijderen..."
+
+#: controllers/account.php:80
+#, fuzzy
+msgid "Verify Users"
+msgstr "Gebruikers verifiëren"
+
+#: controllers/account.php:86
+#, fuzzy
+msgid "Verify Tests"
+msgstr "Tests verifiëren"
+
+#: controllers/account_deactivate.php:3 views/account_deactivate.php:3
+#: views/account_deactivate.php:20 views/terms_decline.php:13
+#, fuzzy
+msgid "Deactivate Account"
+msgstr "Account deactiveren"
+
+#: controllers/account_deactivate.php:14
+#, fuzzy
+msgid "Failed to deactivate account. Please try again later."
+msgstr "Kan de account niet deactiveren. Probeer het later opnieuw."
+
+#: controllers/account_deactivate.php:16
+#, fuzzy
+msgid "Deactivated account successfully."
+msgstr "Gedeactiveerd account met succes."
+
+#: controllers/account_delete.php:3 views/account_delete.php:3
+#: views/account_delete.php:24 views/terms_decline.php:17
+msgid "Delete Account"
+msgstr "Verwijder Account"
+
+#: controllers/account_delete.php:15
+#, fuzzy
+msgid "Failed to delete account. Please try again later."
+msgstr "Kan de account niet verwijderen. Probeer het later opnieuw."
+
+#: controllers/account_delete.php:17
+#, fuzzy
+msgid "Account deleted successfully."
+msgstr "Account met succes verwijderd."
+
+#: controllers/account_reactivate.php:6 controllers/terms_accept.php:6
+#: controllers/terms_decline.php:11
+#, fuzzy
+msgid "Failed to update our records. Please try again later."
+msgstr "Kan onze records niet bijwerken. Probeer het later opnieuw."
+
+#: controllers/account_reactivate.php:8
+#, fuzzy
+msgid "Account reactivated successfully."
+msgstr "Account opnieuw geactiveerd."
+
+#: controllers/address_add.php:3 views/address_add_form.php:2
+msgid "Add Address"
+msgstr "Adres toevoegen"
+
+#: controllers/address_add.php:24 controllers/address_edit.php:27
+#: controllers/contact.php:20
+msgid "Name is required."
+msgstr "Naam is vereist"
+
+#: controllers/address_add.php:25 controllers/address_edit.php:30
+#: controllers/register.php:57
+#, fuzzy
+msgid "Postal code is required."
+msgstr "Postcode is vereist."
+
+#: controllers/address_add.php:26 controllers/address_edit.php:31
+#: controllers/register.php:58
+msgid "Country is required."
+msgstr "Land is verplicht."
+
+#: controllers/address_add.php:46
+#, fuzzy
+msgid "Failed to get location from postal code."
+msgstr "Kan de locatie niet ophalen van de postcode."
+
+#: controllers/address_add.php:54
+#, fuzzy
+msgid "Address added successfully."
+msgstr "Adres met succes toegevoegd."
+
+#: controllers/address_edit.php:3 views/address_edit_form.php:2
+msgid "Edit Address"
+msgstr "Adres bewerken"
+
+#: controllers/address_edit.php:6 controllers/addresses.php:30
+msgid "Address not found."
+msgstr "Adres niet gevonden."
+
+#: controllers/address_edit.php:28
+#, fuzzy
+msgid "Address line 1 is required."
+msgstr "Adresregel 1 is vereist."
+
+#: controllers/address_edit.php:29
+#, fuzzy
+msgid "City is required."
+msgstr "Stad is vereist."
+
+#: controllers/address_edit.php:32
+#, fuzzy
+msgid "Max distance is required."
+msgstr "Maximale afstand is vereist."
+
+#: controllers/address_edit.php:33
+#, fuzzy
+msgid "Max distance is invalid."
+msgstr "Max afstand is ongeldig."
+
+#: controllers/address_edit.php:35 controllers/address_edit.php:36
+#, fuzzy
+msgid "Map location is required."
+msgstr "Kaart locatie is vereist."
+
+#: controllers/address_edit.php:42
+#, fuzzy
+msgid "Address updated successfully."
+msgstr "Adres is bijgewerkt."
+
+#: controllers/addresses.php:35
+#, fuzzy
+msgid "Address set as invoice address successfully."
+msgstr "Adres instellen als factuuradres is geslaagd."
+
+#: controllers/become_a_tester.php:3 views/footer.php:20 views/header.php:77
+#, fuzzy
+msgid "Become a Tester"
+msgstr "Word een tester"
+
+#: controllers/contact.php:3 views/footer.php:21 views/footer.php:27
+#: views/header.php:83 views/settings.php:47
+msgid "Contact"
+msgstr "Contact"
+
+#: controllers/contact.php:19 controllers/register.php:47
+#: controllers/reset_password.php:56
+#, fuzzy
+msgid "reCAPTCHA check failed."
+msgstr "reCAPTCHA controle is mislukt."
+
+#: controllers/contact.php:21 controllers/log_in.php:17
+#: controllers/register.php:49 controllers/settings.php:40
+msgid "Email address is invalid."
+msgstr "E-mailadres is ongeldig."
+
+#: controllers/contact.php:22
+#, fuzzy
+msgid "Contact number is required."
+msgstr "Contact nummer is vereist."
+
+#: controllers/contact.php:23
+#, fuzzy
+msgid "Message is required."
+msgstr "Bericht is vereist."
+
+#: controllers/contact.php:53
+#, fuzzy
+msgid "Message sent successfully. We will get back to you shortly."
+msgstr ""
+"Bericht met succes verzonden. Wij zullen u binnenkort terug te krijgen."
+
+#: controllers/home.php:3 views/footer.php:14
+msgid "Home"
+msgstr "Home"
+
+#: controllers/jobs.php:3 views/footer.php:22 views/header.php:99
+msgid "Jobs"
+msgstr "Vacatures"
+
+#: controllers/log_in.php:3 views/header.php:105 views/log_in.php:3
+#: views/log_in.php:25
+msgid "Log In"
+msgstr "Inloggen"
+
+#: controllers/log_in.php:18
+#, fuzzy
+msgid "Password must be given."
+msgstr "Wachtwoord moet worden gegeven."
+
+#: controllers/log_in.php:24
+msgid "Account not found."
+msgstr "Account niet gevonden."
+
+#: controllers/log_in.php:25
+msgid "Password is incorrect."
+msgstr "Wachtwoord is onjuist."
+
+#: controllers/log_in.php:28
+#, fuzzy
+msgid ""
+"Your email address is not verified. An activation email has been sent to "
+"your email address."
+msgstr ""
+"Uw e-mail adres wordt niet geverifieerd. Een activatie e-mail is verstuurd "
+"naar uw e-mail adres."
+
+#: controllers/log_in.php:35
+#, fuzzy
+msgid "Log in successful."
+msgstr "Log in succesvol."
+
+#: controllers/log_out.php:5
+#, fuzzy
+msgid "Log out successful."
+msgstr "Log uit succesvol."
+
+#: controllers/practice.php:6 controllers/practice_file.php:4
+#, fuzzy
+msgid "Practice form not found."
+msgstr "Oefen formulier niet gevonden."
+
+#: controllers/practice.php:7
+#, fuzzy
+msgid "This practice form is no longer available."
+msgstr "Dit Oefen formulier is niet meer beschikbaar."
+
+#: controllers/practice.php:13
+msgid "Form"
+msgstr "Formulier"
+
+#: controllers/practice.php:77 controllers/practice.php:105
+#: controllers/test.php:137
+#, php-format
+msgid "%s is required."
+msgstr "%s is verplicht."
+
+#: controllers/practice.php:85 controllers/test.php:117
+#, fuzzy, php-format
+msgid "The uploaded file for %s is not an image."
+msgstr "Het geüploade bestand voor %s is geen afbeelding."
+
+#: controllers/practice.php:87 controllers/test.php:119
+#, fuzzy, php-format
+msgid "The uploaded file for %s is not a JPEG."
+msgstr "Het geüploade bestand voor %s is geen JPEG."
+
+#: controllers/practice.php:106 controllers/test.php:138
+#, fuzzy, php-format
+msgid "Value for %s is invalid."
+msgstr "De waarde voor %s is ongeldig."
+
+#: controllers/practice.php:128
+#, fuzzy
+msgid "Test Start date/time must not be after Test End date/time."
+msgstr "Test start datum/tijd mag niet worden na de test einddatum/tijd."
+
+#: controllers/practice.php:131
+#, fuzzy
+msgid "Test End date/time cannot be later than the recorded start date/time."
+msgstr ""
+"De einddatum/-tijd van de test kan niet later zijn dan de geregistreerde "
+"begindatum/-tijd."
+
+#: controllers/practice.php:135 controllers/test.php:86
+#, fuzzy
+msgid "Entry Time and Exit Time must be filled in."
+msgstr "De invoertijd en de afsluit tijd moeten worden ingevuld."
+
+#: controllers/practice_file.php:8
+#, fuzzy
+msgid "Practice test not found."
+msgstr "Praktijktest niet gevonden."
+
+#: controllers/practice_file.php:12 controllers/test_file.php:7
+#: controllers/test_invoice.php:6
+#, fuzzy
+msgid "You do not have permission to access this resource."
+msgstr "U bent niet gemachtigd om toegang tot deze bron te krijgen."
+
+#: controllers/practice_template_select.php:3
+#: views/practice_template_select.php:3
+#, fuzzy
+msgid "Select Practice Form"
+msgstr "Oefen formulier selecteren"
+
+#: controllers/privacy_policy.php:3 views/footer.php:62
+msgid "Privacy Policy"
+msgstr "Privacybeleid"
+
+#: controllers/register.php:5 views/header.php:102 views/register.php:7
+#: views/register.php:161
+msgid "Register"
+msgstr "Registreren"
+
+#: controllers/register.php:11
+#, fuzzy
+msgid "Current Residence"
+msgstr "Huidige residentie"
+
+#: controllers/register.php:25 controllers/reset_password.php:26
+#: controllers/settings.php:21
+msgid "Passwords do not match."
+msgstr "Wachtwoorden komen niet overeen."
+
+#: controllers/register.php:48 controllers/reset_password.php:27
+#: controllers/settings.php:39
+#, fuzzy
+msgid ""
+"Password must be at least 6 characters in length and contain at least one "
+"lowercase, uppercase, number and special character."
+msgstr ""
+"Het wachtwoord moet minimaal 6 tekens lang zijn en ten minste één kleine "
+"letter, hoofdletter, getal en speciaal teken bevatten."
+
+#: controllers/register.php:50 controllers/settings.php:41
+msgid "Title is required."
+msgstr "Titel is verplicht."
+
+#: controllers/register.php:51 controllers/settings.php:42
+msgid "First name is required."
+msgstr "Voornaam is verplicht."
+
+#: controllers/register.php:52 controllers/settings.php:43
+msgid "Last name is required."
+msgstr "Achternaam is vereist."
+
+#: controllers/register.php:53 controllers/settings.php:44
+#, fuzzy
+msgid "Date of birth is required."
+msgstr "Geboortedatum is vereist."
+
+#: controllers/register.php:54 controllers/settings.php:45
+#, fuzzy
+msgid "Mobile number is required."
+msgstr "Mobiel nummer is vereist."
+
+#: controllers/register.php:55
+#, fuzzy
+msgid "Acceptance of Terms and Conditions is required."
+msgstr "Acceptatie van de voorwaarden is vereist."
+
+#: controllers/register.php:61
+#, fuzzy
+msgid "Email address is already registered."
+msgstr "E-mail adres is al geregistreerd."
+
+#: controllers/register.php:82
+#, fuzzy
+msgid "Failed to get location from postal code and country."
+msgstr "Kan de locatie niet ophalen van postcode en land."
+
+#: controllers/register.php:91
+#, fuzzy
+msgid "Registration failed. Please try again later."
+msgstr "Registratie mislukt. Probeer het later opnieuw."
+
+#: controllers/register.php:98
+#, fuzzy
+msgid ""
+"Registration successful. An email has been sent to verify your email "
+"address. Please follow the instructions in the email before logging in."
+msgstr ""
+"Registratie succesvol. Er is een e-mail verzonden om uw e-mail adres te "
+"verifiëren. Volg de instructies in de e-mail voordat u inlogt."
+
+#: controllers/reset_password.php:3 views/reset_password.php:2
+msgid "Reset Password"
+msgstr "Wachtwoord opnieuw instellen"
+
+#: controllers/reset_password.php:14
+#, fuzzy
+msgid "Invalid reset token."
+msgstr "Ongeldig token opnieuw instellen."
+
+#: controllers/reset_password.php:35
+#, fuzzy
+msgid "Password reset successfully. You can now log in."
+msgstr "Password Reset succesvol. U nu inloggen."
+
+#: controllers/reset_password.php:57
+msgid "Invalid email address."
+msgstr "Ongeldig e-mailadres."
+
+#: controllers/reset_password.php:68
+#, fuzzy
+msgid ""
+"A password reset email has been sent to the address provided if an account "
+"exists. Follow the instructions in the email to reset your password."
+msgstr ""
+"Een Password Reset e-mail is verstuurd naar het opgegeven adres als er een "
+"account bestaat. Volg de instructies in de e-mail om uw wachtwoord opnieuw "
+"in te stellen."
+
+#: controllers/services.php:3 views/footer.php:19 views/header.php:74
+msgid "Services"
+msgstr "Diensten"
+
+#: controllers/settings.php:46
+#, fuzzy
+msgid "Invalid payment method selected."
+msgstr "Ongeldige betalingsmethode geselecteerd."
+
+#: controllers/settings.php:63
+msgid "Settings saved successfully."
+msgstr "Instellingen succesvol opgeslagen."
+
+#: controllers/submit_id.php:25
+#, fuzzy
+msgid "The uploaded ID document is not an image."
+msgstr "Het geüploade ID-document is geen afbeelding."
+
+#: controllers/submit_id.php:27
+#, fuzzy
+msgid "The uploaded ID document is not a JPEG."
+msgstr "Het geüploade ID-document is geen JPEG."
+
+#: controllers/submit_id.php:30
+#, fuzzy
+msgid "The uploaded photo is not an image."
+msgstr "De geüploade foto is geen afbeelding."
+
+#: controllers/submit_id.php:32
+#, fuzzy
+msgid "The uploaded photo is not a JPEG."
+msgstr "De geüploade foto is geen JPEG."
+
+#: controllers/submit_id.php:56
+#, fuzzy, php-format
+msgid "Failed to save the %s. Please try again later."
+msgstr "Kan %s niet opslaan. Probeer het later opnieuw."
+
+#: controllers/submit_id.php:70
+#, fuzzy
+msgid "ID submitted successfully."
+msgstr "ID met succes ingediend."
+
+#: controllers/terms_accept.php:8
+#, fuzzy
+msgid "Terms & Conditions accepted successfully."
+msgstr "Voorwaarden & aanvaard."
+
+#: controllers/terms_and_conditions.php:3 views/footer.php:61
+msgid "Terms & Conditions"
+msgstr "Algemene voorwaarden"
+
+#: controllers/terms_decline.php:3 views/terms_decline.php:3
+#, fuzzy
+msgid "Decline Terms & Conditions"
+msgstr "Verval voorwaarden & voorwaarden"
+
+#: controllers/test.php:6
+#, fuzzy
+msgid "Test cannot be found."
+msgstr "Test kan niet worden gevonden."
+
+#: controllers/test.php:34 controllers/test_confirm.php:5
+msgid "You do not have permission to view this page."
+msgstr "Je hebt geen rechten om deze pagina te bekijken."
+
+#: controllers/test.php:35
+#, fuzzy
+msgid ""
+"You do not have permission to view this page as you have not accepted the "
+"test yet."
+msgstr ""
+"U bent niet gemachtigd om deze pagina weer te geven omdat u de test nog niet "
+"hebt geaccepteerd."
+
+#: controllers/test.php:79
+#, fuzzy
+msgid "Entry Time must not be after Exit Time."
+msgstr "Entry tijd mag niet worden na de uitgang van de tijd."
+
+#: controllers/test.php:82
+#, fuzzy
+msgid "Exit Time cannot be later than the recorded Entry Time."
+msgstr "De afsluit tijd kan niet later zijn dan de opgenomen invoertijd."
+
+#: controllers/test.php:152
+#, fuzzy, php-format
+msgid "Failed to save value for %s."
+msgstr "Kan de waarde voor %s niet opslaan."
+
+#: controllers/test.php:168 controllers/test.php:194
+#, fuzzy
+msgid "Failed to save test. Please try again later."
+msgstr "Kan de test niet opslaan. Probeer het later opnieuw."
+
+#: controllers/test.php:170
+#, fuzzy
+msgid "Photos uploaded successfully."
+msgstr "Foto's met succes geüpload."
+
+#: controllers/test.php:438
+msgid "Invalid request."
+msgstr "Ongeldig verzoek."
+
+#: controllers/test_confirm.php:4 controllers/test_file.php:4
+#: controllers/test_invoice.php:4 controllers/test_pdf.php:6
+#, fuzzy
+msgid "Test not found."
+msgstr "Test niet gevonden."
+
+#: controllers/test_confirm.php:6
+#, fuzzy
+msgid "The test has already been accepted or declined."
+msgstr "De test is al geaccepteerd of geweigerd."
+
+#: controllers/test_confirm.php:15
+#, fuzzy
+msgid "Test accepted successfully."
+msgstr "Test met succes geaccepteerd."
+
+#: controllers/test_confirm.php:24
+#, fuzzy
+msgid "Test declined successfully."
+msgstr "De test is met succes afgewezen."
+
+#: controllers/test_confirm.php:29 controllers/tests_available_ajax.php:82
+msgid "Invalid action."
+msgstr "Ongeldige actie."
+
+#: controllers/test_invoice.php:5
+#, fuzzy
+msgid "An invoice cannot be generated for this test yet."
+msgstr "Er kan nog geen factuur worden gegenereerd voor deze test."
+
+#: controllers/test_invoice.php:28
+#, fuzzy
+msgid ""
+"Invoice address not found. Please set an address as the invoice address then "
+"try again."
+msgstr ""
+"Factuuradres niet gevonden. Stel een adres in als het factuuradres en "
+"probeer het opnieuw."
+
+#: controllers/test_invoice.php:29
+#, fuzzy
+msgid ""
+"No valid payment method found. Please go to the Settings page and make sure "
+"all respective fields are filled in and then try again."
+msgstr ""
+"Er is geen geldige betalingsmethode gevonden. Ga naar de instellingen pagina "
+"en zorg ervoor dat alle respectieve velden zijn ingevuld en probeer het "
+"opnieuw."
+
+#: controllers/test_invoice.php:75
+#, fuzzy
+msgid "Test Invoice"
+msgstr "Test factuur"
+
+#: controllers/test_invoice.php:78
+#, fuzzy, php-format
+msgid "Invoice (%s)"
+msgstr "Factuur ( %s)"
+
+#: controllers/test_invoice.php:89 views/addresses.php:27
+#: views/test_list_completed.php:101
+msgid "Invoice"
+msgstr "Factuur"
+
+#: controllers/test_invoice.php:96
+msgid "Date:"
+msgstr "Datum:"
+
+#: controllers/test_invoice.php:101
+msgid "Due Date:"
+msgstr "Vervaldatum:"
+
+#: controllers/test_invoice.php:106
+#, fuzzy
+msgid "Balance Due:"
+msgstr "VerSchuldigde saldo:"
+
+#: controllers/test_invoice.php:108 views/modal_test_invoice.php:20
+#, fuzzy
+msgid "£"
+msgstr "£"
+
+#: controllers/test_invoice.php:126
+msgid "Bill To:"
+msgstr "Rekening aan:"
+
+#: controllers/test_invoice.php:140
+msgid "Item"
+msgstr "Item"
+
+#: controllers/test_invoice.php:141
+msgid "Quantity"
+msgstr "Aantal"
+
+#: controllers/test_invoice.php:142
+msgid "Rate"
+msgstr "Tarief"
+
+#: controllers/test_invoice.php:143
+msgid "Amount"
+msgstr "Bedrag"
+
+#: controllers/test_invoice.php:163
+#, fuzzy
+msgid "Play Costs"
+msgstr "Speel kosten"
+
+#: controllers/test_invoice.php:175 views/modal_test_invoice.php:15
+#, fuzzy
+msgid "Travel Costs"
+msgstr "Reiskosten"
+
+#: controllers/test_invoice.php:187
+msgid "Total:"
+msgstr "Totaal:"
+
+#: controllers/test_invoice.php:194
+#, fuzzy
+msgid "Pay To:"
+msgstr "Betalen aan:"
+
+#: controllers/test_invoice.php:200
+msgid "Bank Transfer"
+msgstr "Bankoverboeking"
+
+#: controllers/test_invoice.php:202
+#, fuzzy
+msgid "Bank Name:"
+msgstr "Naam van de Bank:"
+
+#: controllers/test_invoice.php:203
+msgid "Sort Code:"
+msgstr "Sort Code:"
+
+#: controllers/test_invoice.php:204
+msgid "Account Number:"
+msgstr "Account Nummer:"
+
+#: controllers/test_invoice.php:210
+msgid "PayPal"
+msgstr "PayPal"
+
+#: controllers/test_invoice.php:212
+#, fuzzy
+msgid "PayPal Address:"
+msgstr "PayPal-adres:"
+
+#: controllers/test_pdf.php:71 controllers/test_pdf.php:74
+#, fuzzy
+msgid "Test Result"
+msgstr "Test resultaat"
+
+#: controllers/test_pdf.php:92
+#, fuzzy
+msgid "Test / Location ID:"
+msgstr "Test/locatie-ID:"
+
+#: controllers/tests_available.php:5 views/test_list_assigned.php:12
+#: views/tests_available.php:7
+#, fuzzy
+msgid "Find Tests"
+msgstr "Zoek tests"
+
+#: controllers/tests_available.php:12
+msgid "You do not have permission to perform this action."
+msgstr "Je hebt geen toestemming om deze actie uit te voeren."
+
+#: controllers/tests_available_ajax.php:20
+#, fuzzy
+msgid "Test no longer available."
+msgstr "Test niet meer beschikbaar."
+
+#: controllers/tests_available_ajax.php:29
+#, fuzzy
+msgid "You are a banned tester."
+msgstr "Je bent een verboden tester."
+
+#: controllers/tests_available_ajax.php:30
+#: controllers/tests_available_ajax.php:31
+#, fuzzy
+msgid "Your account is not verified."
+msgstr "Uw account wordt niet geverifieerd."
+
+#: controllers/tests_available_ajax.php:32
+#, fuzzy
+msgid "Your account is deactivated."
+msgstr "Uw account is gedeactiveerd."
+
+#: controllers/tests_available_ajax.php:33
+#, fuzzy
+msgid "You are not a tester."
+msgstr "U bent geen tester."
+
+#: controllers/tests_available_ajax.php:42
+#, fuzzy
+msgid "Too early."
+msgstr "Te vroeg."
+
+#: controllers/tests_available_ajax.php:46
+#, fuzzy
+msgid "Test cannot be claimed, please try again later."
+msgstr "Test kan niet worden aangevraagd, probeer het later opnieuw."
+
+#: controllers/tests_completed.php:5 views/test_list_completed.php:3
+#, fuzzy
+msgid "Completed Tests"
+msgstr "Voltooide tests"
+
+#: controllers/tests_tester_kml.php:18
+#, fuzzy, php-format
+msgid "Test locations as of %s"
+msgstr "Test locaties vanaf %s"
+
+#: controllers/user_activation.php:11
+#, fuzzy
+msgid "Email verification failed. Please try again later."
+msgstr "E-mail verificatie is mislukt. Probeer het later opnieuw."
+
+#: controllers/user_activation.php:15
+#, fuzzy
+msgid "Email address verified. You can now log in to your account."
+msgstr "E-mail adres geverifieerd. U nu inloggen op uw account."
+
+#: controllers/user_activation.php:18
+#, fuzzy
+msgid ""
+"Invalid verification token. The user account may have already been activated "
+"or the token has expired. Please try again."
+msgstr ""
+"Ongeldig verificatietoken. De gebruikersaccount is mogelijk al geactiveerd "
+"of het token is verlopen. Probeer het opnieuw."
+
+#: engine/test.php:62 engine/test.php:121 engine/user.php:85
+#: engine/user.php:112 engine/user.php:137 engine/user.php:173
+#: engine/user.php:203
+#, php-format
+msgid "Hi %s"
+msgstr "Hallo %s"
+
+#: engine/test.php:63
+#, fuzzy
+msgid "Congrats, you have been allocated a test!"
+msgstr "Congrats, heb je een test toegewezen!"
+
+#: engine/test.php:66 engine/test.php:125
+#, fuzzy
+msgid "Evening Test to be done between 7PM and midnight."
+msgstr "Avond test te doen tussen 19.00 uur en middernacht."
+
+#: engine/test.php:73
+#, fuzzy, php-format
+msgid ""
+"We need you to confirm if you are able to do the test. Please check the "
+"details below and then confirm by pressing the %sAccept%s or %sDecline%s "
+"buttons and once you tap %sAccept%s, the test will be allocated to you."
+msgstr ""
+"Wij hebben u nodig om te bevestigen als u in staat bent om de test te doen. "
+"Controleer de onderstaande gegevens en bevestig deze door op de knoppen "
+"%sAccept %s of %sDecline %s te drukken en zodra u op %sAccept %s tikt, wordt "
+"de test aan u toegewezen."
+
+#: engine/test.php:79 engine/test.php:128
+#, fuzzy, php-format
+msgid "The site address is: %s"
+msgstr "Het adres van de site is: %s"
+
+#: engine/test.php:80 engine/test.php:129
+#, fuzzy, php-format
+msgid "The date that need to complete and submit the results by is: %s"
+msgstr ""
+"De datum waarop de resultaten moeten worden ingevuld en verzonden, is: %s"
+
+#: engine/test.php:81 engine/test.php:130
+#, fuzzy, php-format
+msgid ""
+"For methodology and further notes please check the %sUseful Documents%s "
+"section on the %sAccount%s page."
+msgstr ""
+"Raadpleeg voor methodologie en verdere opmerkingen de sectie %sUsey "
+"Documents %s op de pagina %sAccount %s."
+
+#: engine/test.php:85
+#, fuzzy, php-format
+msgid ""
+"If you agree to conduct the test, log in and then go to %sTests%s where you "
+"will be able to see the tests available to you. Please tap the %sBegin%s "
+"button and follow the instructions that is shown."
+msgstr ""
+"Als u akkoord gaat om de test uit te voeren, log in en ga dan naar %sTests "
+"%s waar u in staat zullen zijn om de tests voor u beschikbaar te zien. Tik "
+"op de knop %sBegin %s en volg de instructies die worden weergegeven."
+
+#: engine/test.php:89 engine/test.php:138
+#, fuzzy, php-format
+msgid "If you have any questions please send them to %s or call %s on %s."
+msgstr "Als u vragen hebt, stuur ze dan naar %s of bel %s op %s."
+
+#: engine/test.php:94
+#, fuzzy, php-format
+msgid ""
+"If you are unable to submit the results via the web-based app please contact "
+"us and we can send you an offline form to complete. Please accept the test "
+"by tapping the %sAccept%s button and email us back saying you would like an "
+"offline form."
+msgstr ""
+"Als u niet in staat zijn om de resultaten te leggen via de web-based app "
+"neem dan contact met ons op en wij kunnen u een offline formulier in te "
+"vullen. Accepteer de test door te tikken op de %sAccept %s knop en e-mail "
+"ons terug te zeggen dat je een offline formulier wilt."
+
+#: engine/test.php:104
+#, fuzzy
+msgid "You have been allocated a test"
+msgstr "U hebt een test toegewezen"
+
+#: engine/test.php:122
+#, fuzzy
+msgid "Congrats, you have claimed a test!"
+msgstr "Congrats, heb je beweerde een test!"
+
+#: engine/test.php:134
+#, fuzzy, php-format
+msgid ""
+"Log in and then go to %sTests%s where you will be able to see the tests "
+"available to you. Please tap the %sBegin%s button and follow the "
+"instructions that is shown."
+msgstr ""
+"Meld u aan en ga vervolgens naar %sTests %s waar u de tests zien die voor u "
+"beschikbaar zijn. Tik op de knop %sBegin %s en volg de instructies die "
+"worden weergegeven."
+
+#: engine/test.php:143
+#, fuzzy
+msgid ""
+"If you are unable to submit the results via the web-based app please contact "
+"us and we can send you an offline form to complete."
+msgstr ""
+"Als u niet in staat zijn om de resultaten te leggen via de web-based app "
+"neem dan contact met ons op en wij kunnen u een offline formulier in te "
+"vullen."
+
+#: engine/test.php:151
+#, fuzzy
+msgid "You have claimed a test"
+msgstr "U hebt een test aangevraagd"
+
+#: engine/test.php:347
+msgid "Pass"
+msgstr "Gehaald"
+
+#: engine/test.php:347
+msgid "Fail"
+msgstr "Mislukt"
+
+#: engine/user.php:86
+#, fuzzy
+msgid "Thanks for registering!"
+msgstr "Bedankt voor het registreren!"
+
+#: engine/user.php:87
+#, fuzzy, php-format
+msgid ""
+"Welcome to %s! Before you can log in, you will need to verify your email "
+"address. You can do so by tapping the following link:"
+msgstr ""
+"Welkom bij %s! Voordat u inloggen, moet u uw e-mail adres verifiëren. U dit "
+"doen door te tikken op de volgende link:"
+
+#: engine/user.php:97
+msgid "Verify your email address"
+msgstr "Wijksparen | Bevestig uw e-mailadres"
+
+#: engine/user.php:113
+#, fuzzy
+msgid "Thanks for verifying your email address!"
+msgstr "Bedankt voor het verifiëren van uw e-mail adres!"
+
+#: engine/user.php:114
+#, fuzzy, php-format
+msgid ""
+"Welcome to %s! Before you can take part in tests, you will need to provide "
+"us with some ID. You can do so by tapping the following link:"
+msgstr ""
+"Welkom bij %s! Alvorens u aan tests deelnemen, zult u ons van één of andere "
+"IDENTITEITsKAART moeten voorzien. U dit doen door te tikken op de volgende "
+"link:"
+
+#: engine/user.php:123
+#, php-format
+msgid "Welcome to %s"
+msgstr "Welkom bij %s"
+
+#: engine/user.php:138
+#, fuzzy
+msgid "Your application has been successful!"
+msgstr "Uw aanvraag is succesvol geweest!"
+
+#: engine/user.php:139
+#, fuzzy, php-format
+msgid ""
+"Welcome to %s! In order to get you a test as soon as possible, we need one "
+"final confirmation. Please log in to your account and have a quick read of "
+"the documents that explain what we need you to do during a test."
+msgstr ""
+"Welkom bij %s! Om u zo snel mogelijk een test te laten doen, hebben wij een "
+"definitieve bevestiging nodig. Gelieve in te loggen op uw account en hebben "
+"een snelle lezen van de documenten die uitleggen wat we nodig hebben u te "
+"doen tijdens een test."
+
+#: engine/user.php:140
+#, fuzzy
+msgid ""
+"When you're ready to try a Practice test, in your account and select the "
+"\"Practice\" option."
+msgstr ""
+"Wanneer u klaar bent om een praktijktest te proberen, in uw account en "
+"selecteer de \"Practice\" optie."
+
+#: engine/user.php:141
+#, fuzzy
+msgid ""
+"1. As it is a Practice test, you can reset and start over as many times as "
+"you like because it doesn't count but lets you see what the real thing is "
+"like."
+msgstr ""
+"1. aangezien het een praktijktest is, u terugstellen en over zo vele tijden "
+"beginnen aangezien u houdt van omdat het niet telt maar u laat zien wat het "
+"echte ding als is."
+
+#: engine/user.php:142
+#, fuzzy, php-format
+msgid "2. Email us at %s and let us know that you're ready."
+msgstr "2. E-mail ons op %s en laat ons weten dat je klaar bent."
+
+#: engine/user.php:143
+#, fuzzy
+msgid "3. We will allocate a test to you as soon as possible."
+msgstr "3. Wij zullen u zo snel mogelijk een test toekennen."
+
+#: engine/user.php:145
+#, fuzzy
+msgid "Remember to check your online account for when tests become available."
+msgstr ""
+"Vergeet niet om uw online account te controleren voor wanneer tests "
+"beschikbaar komen."
+
+#: engine/user.php:146
+#, fuzzy
+msgid ""
+"Keep an eye out for emails inviting you to accept a test via the email or "
+"log in to your account where you can see your available tests."
+msgstr ""
+"Houd een oogje in het oog voor e-mails nodigen u uit om een test te "
+"accepteren via de e-mail of in te loggen op uw account waar u uw beschikbare "
+"tests te zien."
+
+#: engine/user.php:147
+#, fuzzy
+msgid ""
+"If you accept to do a test within the agreed period (usually 7 days) please "
+"click Accept to confirm that you would like to do the test within the agreed "
+"period."
+msgstr ""
+"Als u aanvaardt om een test te doen binnen de overeengekomen periode "
+"(meestal 7 dagen) klikt u op accepteren om te bevestigen dat u de test wilt "
+"doen binnen de overeengekomen periode."
+
+#: engine/user.php:148
+#, fuzzy
+msgid ""
+"If you can't make it (it's too far or you'll be away), please Reject the "
+"test or email us with other suitable dates."
+msgstr ""
+"Als je niet maken (het is te ver of je weg bent), u weigeren de test of e-"
+"mail ons met andere geschikte data."
+
+#: engine/user.php:149
+#, fuzzy
+msgid ""
+"After you click Accept, you will be given the option to Begin the test "
+"whenever you want. Just log in to your account and click Begin on the test."
+msgstr ""
+"Nadat u op accepteren, krijgt u de mogelijkheid om de test te beginnen "
+"wanneer u maar wilt. Log in op uw account en klik op beginnen op de test."
+
+#: engine/user.php:150
+#, fuzzy, php-format
+msgid ""
+"Once again welcome to %s - Accept, Begin, Complete and get paid for up to 8 "
+"minutes work!"
+msgstr ""
+"Nogmaals welkom bij %s-accepteren, beginnen, voltooien en krijg betaald voor "
+"maximaal 8 minuten werk!"
+
+#: engine/user.php:158
+#, fuzzy
+msgid "ID accepted and verified"
+msgstr "ID geaccepteerd en geverifieerd"
+
+#: engine/user.php:174
+#, fuzzy
+msgid "Thank you for submitting your ID details."
+msgstr "Dank u voor het indienen van uw ID-gegevens."
+
+#: engine/user.php:175
+#, fuzzy
+msgid ""
+"Unfortunately we could not verify and accept your documents and/or image."
+msgstr ""
+"Helaas konden we uw documenten en/of afbeelding niet verifiëren en "
+"accepteren."
+
+#: engine/user.php:176
+#, fuzzy, php-format
+msgid "The reason for this is: %s"
+msgstr "De reden hiervoor is: %s"
+
+#: engine/user.php:177
+#, fuzzy
+msgid "Please log in again, resubmit and we will try again."
+msgstr ""
+"Gelieve opnieuw in te loggen, opnieuw in te dienen en we zullen het opnieuw "
+"proberen."
+
+#: engine/user.php:178
+#, fuzzy
+msgid "We look forward to welcoming you onboard soon!"
+msgstr "Wij verheugen ons op u binnenkort aan boord te mogen verwelkomen!"
+
+#: engine/user.php:186
+#, fuzzy
+msgid "We could not verify your ID details"
+msgstr "We kunnen uw ID-gegevens niet verifiëren"
+
+#: engine/user.php:204
+#, fuzzy
+msgid "A reset password request has been received."
+msgstr "Er is een reset-wachtwoord aanvraag ontvangen."
+
+#: engine/user.php:205
+#, fuzzy
+msgid "To reset your password, please tap on the following link:"
+msgstr "Om uw wachtwoord opnieuw in te stellen, tikt u op de volgende link:"
+
+#: engine/user.php:207
+#, fuzzy, php-format
+msgid ""
+"If you %sdid not%s request for your password to be reset, please ignore this "
+"email."
+msgstr ""
+"Als u %sdid niet %s verzoek om uw wachtwoord te resetten, negeer deze e-mail."
+
+#: engine/user.php:217
+msgid "Password reset instructions"
+msgstr "Instructies voor het resetten van de wachtwoord"
+
+#: engine/user.php:287 views/test_list_completed.php:50
+msgid "N/A"
+msgstr "N/A"
+
+#: engine/user.php:296
+msgid "Deleted User"
+msgstr "Verwijderde gebruiker"
+
+#: initialise.php:45
+msgid "Yes"
+msgstr "Ja"
+
+#: initialise.php:46
+msgid "No"
+msgstr "Nee"
+
+#: initialise.php:48
+msgid "Male"
+msgstr "Man"
+
+#: initialise.php:49
+msgid "Female"
+msgstr "Vrouw"
+
+#: initialise.php:50
+#, fuzzy
+msgid "Unspecified"
+msgstr "Onbepaald"
+
+#: initialise.php:52
+msgid "Miss"
+msgstr "Mevr."
+
+#: initialise.php:53
+msgid "Mr"
+msgstr "Dhr"
+
+#: initialise.php:54
+msgid "Ms"
+msgstr "Mevrouw"
+
+#: initialise.php:55
+#, fuzzy
+msgid "Dr"
+msgstr "Dr"
+
+#: views/404.php:7
+#, fuzzy
+msgid "The requested page could not be found."
+msgstr "De gevraagde pagina is niet gevonden."
+
+#: views/404.php:8
+#, fuzzy, php-format
+msgid "%sClick here%s to return to the home page."
+msgstr "%sClick hier %s om terug te keren naar de startpagina."
+
+#: views/503.php:7
+#, fuzzy
+msgid "The requested page could not be served due to an internal server error."
+msgstr ""
+"De gevraagde pagina kan niet worden bediend vanwege een interne serverfout."
+
+#: views/503.php:8
+msgid "Please try again later."
+msgstr "Probeer het later opnieuw."
+
+#: views/account.php:11
+#, fuzzy
+msgid ""
+"Your account has been banned. You will not be able to participate in any "
+"tests."
+msgstr ""
+"Uw account is verboden. U zult niet in staat zijn om deel te nemen aan een "
+"test."
+
+#: views/account.php:19
+#, fuzzy
+msgid ""
+"Your account is not verified. You need to submit proof of ID and get your "
+"account verified before you can participate in tests."
+msgstr ""
+"Uw account wordt niet geverifieerd. U moet een bewijs van ID indienen en uw "
+"account laten verifiëren voordat u deelnemen aan tests."
+
+#: views/account.php:27
+#, fuzzy
+msgid ""
+"Your account is pending verification. You will be able to participate in "
+"tests once verified."
+msgstr ""
+"Uw account wacht op verificatie. U zult in staat zijn om deel te nemen aan "
+"tests eenmaal geverifieerd."
+
+#: views/account.php:35
+#, fuzzy
+msgid ""
+"Your account is deactivated. You will not be able to participate in any "
+"tests until you reactivate your account."
+msgstr ""
+"Uw account is gedeactiveerd. U zult niet aan om het even welke tests kunnen "
+"deelnemen tot u uw rekening opnieuw activeert."
+
+#: views/account.php:46
+msgid "Main Menu"
+msgstr "Hoofdmenu"
+
+#: views/account.php:83
+msgid "To-Do"
+msgstr "Taak"
+
+#: views/account.php:120
+msgid "Important"
+msgstr "Belangrijk"
+
+#: views/account.php:127
+#, fuzzy, php-format
+msgid "%sTerms and Conditions%s have been published."
+msgstr "%sTerms en voorwaarden %s zijn gepubliceerd."
+
+#: views/account.php:130
+#, fuzzy, php-format
+msgid ""
+"Our records show that you have not accepted the %sTerms and Conditions%s on "
+"registration. Please take time to read our Terms and Conditions and then "
+"click Accept or Decline to continue."
+msgstr ""
+"Uit onze gegevens blijkt dat u de %sTerms en voorwaarden %s niet hebt "
+"geaccepteerd bij de registratie. Neem de tijd om onze algemene voorwaarden "
+"te lezen en klik vervolgens op accepteren of weigeren om door te gaan."
+
+#: views/account.php:137
+#, fuzzy, php-format
+msgid ""
+"Our records show that you have declined the %sTerms and Conditions. If you "
+"have changed your mind, please click Accept to continue or Decline for other "
+"actions."
+msgstr ""
+"Uit onze gegevens blijkt dat u de %sTerms en voorwaarden hebt afgewezen. Als "
+"u van gedachten bent veranderd, klikt u op accepteren om door te gaan of te "
+"weigeren voor andere acties."
+
+#: views/account.php:143 views/test_list_assigned.php:91
+msgid "Accept"
+msgstr "Accepteren"
+
+#: views/account.php:144 views/test_list_assigned.php:92
+msgid "Decline"
+msgstr "Afwijzen"
+
+#: views/account.php:154
+#, fuzzy
+msgid "Useful Documents"
+msgstr "Nuttige documenten"
+
+#: views/account.php:159
+#, fuzzy
+msgid "ID Response for Testers"
+msgstr "ID reactie voor testers"
+
+#: views/account.php:163
+#, fuzzy
+msgid "Age Verification Testing Methodology"
+msgstr "Leeftijd verificatietest methodologie"
+
+#: views/account.php:167
+#, fuzzy
+msgid "Machine Categories"
+msgstr "Machine Categorieën"
+
+#: views/account.php:171
+#, fuzzy
+msgid "Testing Procedure"
+msgstr "Test procedure"
+
+#: views/account.php:178
+msgid "Referrals"
+msgstr "Doorverwijzingen"
+
+#: views/account.php:184
+#, fuzzy
+msgid "Users Referred"
+msgstr "Gebruikers verwezen"
+
+#: views/account.php:191
+#, fuzzy
+msgid "Referral Link"
+msgstr "Verwijzing link"
+
+#: views/account.php:195 views/account.php:197
+msgid "Copy to clipboard"
+msgstr "Kopiëren naar klembord"
+
+#: views/account_deactivate.php:5
+#, fuzzy
+msgid "By deactivating your account, you will:"
+msgstr "Door uw account te deactiveren, zult u:"
+
+#: views/account_deactivate.php:8 views/account_delete.php:8
+#, fuzzy
+msgid "No longer be assigned tests."
+msgstr "Niet langer worden toegewezen tests."
+
+#: views/account_deactivate.php:9 views/account_delete.php:9
+#, fuzzy
+msgid "No longer be able to participate in tests."
+msgstr "Niet langer in staat zijn om deel te nemen aan tests."
+
+#: views/account_deactivate.php:10 views/account_delete.php:11
+#, fuzzy
+msgid "Unassign yourself from all currently assigned tests."
+msgstr "Wijs uzelf toe aan alle momenteel toegewezen tests."
+
+#: views/account_deactivate.php:13
+#, fuzzy
+msgid ""
+"You can always log into your account and reactivate the account should you "
+"wish to continue to use our services, however you will lose your currently "
+"assigned tests."
+msgstr ""
+"U altijd inloggen op uw account en de account opnieuw activeren indien u "
+"wenst te blijven gebruik maken van onze diensten, maar u zult verliezen uw "
+"momenteel toegewezen tests."
+
+#: views/account_deactivate.php:16 views/account_delete.php:20
+msgid "This action cannot be undone."
+msgstr "Deze actie kan niet ongedaan gemaakt worden."
+
+#: views/account_deactivate.php:21 views/account_delete.php:25
+#: views/modal_test_claim.php:38
+msgid "Cancel"
+msgstr "Annuleren"
+
+#: views/account_delete.php:5
+#, fuzzy
+msgid "By deleting your account, you will:"
+msgstr "Door het verwijderen van uw account, zult u:"
+
+#: views/account_delete.php:10
+#, fuzzy
+msgid "No longer be able to generate invoices for completed tests."
+msgstr ""
+"Niet langer in staat zijn om facturen te genereren voor voltooide tests."
+
+#: views/account_delete.php:12
+#, fuzzy
+msgid ""
+"Delete all personal identifiable information associated with your account."
+msgstr ""
+"Verwijder alle persoonlijke identificeerbare informatie die aan uw account "
+"is gekoppeld."
+
+#: views/account_delete.php:15
+#, fuzzy
+msgid ""
+"If you have participated in tests, we will need to keep only your age and "
+"gender for test reporting purposes. This information will not and cannot be "
+"used to identify you."
+msgstr ""
+"Als u hebt deelgenomen aan tests, moeten we alleen uw leeftijd en geslacht "
+"te houden voor testrapportage doeleinden. Deze informatie zal niet en kan "
+"niet worden gebruikt om u te identificeren."
+
+#: views/account_delete.php:17
+#, fuzzy
+msgid ""
+"You will need to register again should you wish to continue to use our "
+"services."
+msgstr ""
+"U moet zich opnieuw registreren indien u wenst te blijven gebruik maken van "
+"onze diensten."
+
+#: views/address_add_form.php:6 views/address_edit_form.php:9
+msgid "Name"
+msgstr "Naam"
+
+#: views/address_add_form.php:7 views/address_edit_form.php:10
+#: views/contact.php:21
+msgid "Enter name"
+msgstr "Vul de naam in"
+
+#: views/address_add_form.php:8
+#, fuzzy
+msgid ""
+"A friendly name for this address. For example: Home, Uni, Workplace, etc..."
+msgstr ""
+"Een beschrijvende naam voor dit adres. Bijvoorbeeld: thuis, Uni, werkplaats, "
+"etc..."
+
+#: views/address_add_form.php:11 views/address_edit_form.php:29
+#: views/register.php:123
+msgid "Postal Code"
+msgstr "Postcode"
+
+#: views/address_add_form.php:12 views/address_edit_form.php:30
+#: views/register.php:125
+#, fuzzy
+msgid "Enter postal code"
+msgstr "Postcode invoeren"
+
+#: views/address_add_form.php:15 views/address_edit_form.php:33
+#: views/register.php:129
+msgid "Country"
+msgstr "Land"
+
+#: views/address_add_form.php:20 views/addresses.php:53
+msgid "Add"
+msgstr "Toevoegen"
+
+#: views/address_edit_form.php:13
+msgid "Address Line 1"
+msgstr "Adres 1"
+
+#: views/address_edit_form.php:14
+#, fuzzy
+msgid "Enter address line 1"
+msgstr "Voer Adresregel 1 in"
+
+#: views/address_edit_form.php:17
+msgid "Address Line 2"
+msgstr "Adresregel 2"
+
+#: views/address_edit_form.php:18
+#, fuzzy
+msgid "Enter address line 2"
+msgstr "Voer Adresregel 2 in"
+
+#: views/address_edit_form.php:21
+msgid "City"
+msgstr "Stad"
+
+#: views/address_edit_form.php:22
+msgid "Enter city"
+msgstr "Vul woonplaats in"
+
+#: views/address_edit_form.php:25
+msgid "County"
+msgstr "Provincie"
+
+#: views/address_edit_form.php:26
+#, fuzzy
+msgid "Enter county"
+msgstr "Provincie invoeren"
+
+#: views/address_edit_form.php:40
+msgid "Map"
+msgstr "Kaart"
+
+#: views/address_edit_form.php:49
+#, fuzzy
+msgid "Max Distance"
+msgstr "Max afstand"
+
+#: views/address_edit_form.php:66 views/settings.php:151
+msgid "Save"
+msgstr "Opslaan"
+
+#: views/addresses.php:8
+#, fuzzy
+msgid "There are no addresses associated with your account."
+msgstr "Er zijn geen adressen gekoppeld aan uw account."
+
+#: views/addresses.php:38
+#, fuzzy
+msgid "Set as Invoice Address"
+msgstr "Instellen als factuuradres"
+
+#: views/addresses.php:43
+msgid "Edit"
+msgstr "Bewerken"
+
+#: views/become_a_tester.php:2
+#, fuzzy
+msgid "Join our Team"
+msgstr "Word lid van ons team"
+
+#: views/become_a_tester.php:4
+#, fuzzy
+msgid "We are always actively recruiting testers!"
+msgstr "We zijn altijd actief werven testers!"
+
+#: views/become_a_tester.php:6
+#, fuzzy
+msgid ""
+"We pay a fee per test, straight into your chosen bank account on a "
+"fortnightly/monthly basis. Ideal for students who want to earn some extra "
+"money for very little effort."
+msgstr ""
+"Wij betalen een vergoeding per test, rechtstreeks in uw gekozen bankrekening "
+"op een tweewekelijkse/maandelijkse basis. Ideaal voor studenten die wat "
+"extra geld willen verdienen voor zeer weinig inspanning."
+
+#: views/become_a_tester.php:8
+#, fuzzy
+msgid ""
+"If you are aged 18-20 and look younger than your years - we want to hear "
+"from you."
+msgstr ""
+"Als u ouder bent 18-20 en kijk jonger dan je jaren-we willen van je horen."
+
+#: views/become_a_tester.php:10
+#, fuzzy
+msgid ""
+"There is no commitment to undertake - simply be available when called upon "
+"to visit a site and complete a test. Full training is given and you can earn "
+"as you test."
+msgstr ""
+"Er is geen toezegging om te ondernemen-gewoon beschikbaar zijn wanneer "
+"opgeroepen om een site te bezoeken en een test te voltooien. Volledige "
+"training wordt gegeven en je verdienen als je test."
+
+#: views/become_a_tester.php:12
+#, fuzzy
+msgid "Join our team now!"
+msgstr "Word nu lid van ons team!"
+
+#: views/become_a_tester.php:14
+#, fuzzy
+msgid "Your details will NOT be shared with any third party."
+msgstr "Uw gegevens zullen niet worden gedeeld met een derde partij."
+
+#: views/contact.php:4
+msgid "Contact Info"
+msgstr "Contactinformatie"
+
+#: views/contact.php:6
+#, fuzzy
+msgid ""
+"We are always happy to receive correspondence. We try to answer all emails "
+"within an hour during working hours."
+msgstr ""
+"Wij zijn altijd blij om correspondentie te ontvangen. We proberen om alle e-"
+"mails te beantwoorden binnen een uur tijdens de werkuren."
+
+#: views/contact.php:16
+msgid "Contact Form"
+msgstr "Contactformulier"
+
+#: views/contact.php:26 views/log_in.php:12 views/register.php:71
+#: views/reset_password.php:37 views/settings.php:52
+msgid "Enter email address"
+msgstr "Voer een e-mailadres in"
+
+#: views/contact.php:31
+#, fuzzy
+msgid "Enter contact number"
+msgstr "Nummer van contactpersoon invoeren"
+
+#: views/contact.php:37
+msgid "Enter message"
+msgstr "Voer bericht in"
+
+#: views/contact.php:51
+#, fuzzy, php-format
+msgid ""
+"This site is protected by reCAPTCHA and the Google %sPrivacy Policy%s and "
+"%sTerms of Service%s apply."
+msgstr ""
+"Deze site is beschermd door reCAPTCHA en het Google %sPrivacy-beleid %s en "
+"%sTerms van Service %s zijn van toepassing."
+
+#: views/contact.php:64
+msgid "Send Message"
+msgstr "Verstuur bericht"
+
+#: views/error.php:3
+msgid "Error"
+msgstr "Fout"
+
+#: views/footer.php:12
+msgid "Navigation"
+msgstr "Navigatie"
+
+#: views/footer.php:35
+msgid "Follow Us"
+msgstr "Volg ons"
+
+#: views/footer.php:48
+#, fuzzy
+msgid "Our Location"
+msgstr "Onze locatie"
+
+#: views/header.php:28 views/home.php:11
+#, fuzzy
+msgid "Age Verification Testing and Training across the UK"
+msgstr "Leeftijd verificatie testen en training in het Verenigd Koninkrijk"
+
+#: views/header.php:92
+msgid "Log Out"
+msgstr "Uitloggen"
+
+#: views/header.php:125
+#, fuzzy
+msgid "PLEASE NOTE:"
+msgstr "Let:"
+
+#: views/header.php:125
+#, fuzzy
+msgid "This is a development version of the site."
+msgstr "Dit is een ontwikkelingsversie van de site."
+
+#: views/header.php:171
+#, fuzzy
+msgid "This site uses cookies to improve functionality and personalisation."
+msgstr ""
+"Deze site maakt gebruik van cookies om functionaliteit en personalisatie te "
+"verbeteren."
+
+#: views/header.php:172
+#, fuzzy
+msgid ""
+"By continuing to use the site, you consent to our use of cookies and our "
+"privacy policy."
+msgstr ""
+"Door de site te blijven gebruiken, stemt u in met ons gebruik van cookies en "
+"ons privacybeleid."
+
+#: views/home.php:19
+#, fuzzy
+msgid ""
+"Do you know how old your clients are? Do you ask for proof of ID if not sure?"
+msgstr ""
+"Weet u hoe oud uw klanten zijn? Heeft u vragen om het bewijs van ID als niet "
+"zeker?"
+
+#: views/home.php:26 views/pagination.php:32
+msgid "Previous"
+msgstr "Vorige"
+
+#: views/home.php:30 views/pagination.php:43
+msgid "Next"
+msgstr "Volgende"
+
+#: views/home.php:45
+#, fuzzy
+msgid "What else can Check Policy do for you?"
+msgstr "Wat kan controleren beleid voor u doen?"
+
+#: views/home.php:50
+#, fuzzy
+msgid "Immediate Test Results"
+msgstr "Onmiddellijke test resultaten"
+
+#: views/home.php:51
+#, fuzzy
+msgid ""
+"All our testers provide live test results or at least as live as a data "
+"connection will allow. Once the test has been completed, you will get the "
+"result emailed to you immediately with total transparency. We believe you "
+"need the results, whether good or bad, to satisfy guidelines and regulations."
+msgstr ""
+"Al onze testers bieden live testresultaten of ten minste net zo Live als een "
+"dataverbinding zal toestaan. Zodra de test is voltooid, krijgt u het "
+"resultaat per e-mail naar u onmiddellijk met volledige transparantie. Wij "
+"geloven dat u de resultaten nodig, of goed of slecht, om richtlijnen en "
+"voorschriften te voldoen."
+
+#: views/home.php:54
+#, fuzzy
+msgid "Test Certificates Awarded"
+msgstr "Test certificaten uitgereikt"
+
+#: views/home.php:55
+#, fuzzy
+msgid ""
+"If you pass the test, then you will be awarded a certificate of evidence to "
+"prove you and your team (if applicable) are following guidelines and "
+"regulations. You can decide whether to frame it to show clients or file it "
+"to show any future testing authority. It's up to you."
+msgstr ""
+"Als u de test doorgeeft, dan krijgt u een attest van bewijs om u te bewijzen "
+"en uw team (indien van toepassing) volgen de richtlijnen en voorschriften. U "
+"beslissen of u het frame wilt laten weergeven aan clients of het bestand om "
+"een toekomstige test autoriteit weer te geven. Het is aan jou."
+
+#: views/home.php:58
+#, fuzzy
+msgid "Ongoing Training & Testing"
+msgstr "Permanente training & testen"
+
+#: views/home.php:59
+#, fuzzy
+msgid ""
+"Should you fail the test, we would obviously like to provide you with "
+"support and ongoing training to improve your results for the next time. With "
+"our training we will highlight your weaknesses and strengths so your "
+"business is following the required regulations."
+msgstr ""
+"Mocht u niet de test, zouden we uiteraard graag om u te voorzien van "
+"ondersteuning en permanente training om uw resultaten te verbeteren voor de "
+"volgende keer. Met onze opleiding zullen wij uw zwakheden en sterke punten "
+"benadrukken zodat uw zaken de vereiste verordeningen volgen."
+
+#: views/home.php:68
+#, fuzzy, php-format
+msgid "Call or WhatsApp us on %s"
+msgstr "Bel of WhatsApp ons op %s"
+
+#: views/home.php:69
+#, fuzzy
+msgid "Calls are charged at mobile call rates"
+msgstr "Gesprekken worden aangerekend tegen mobiele tarieven"
+
+#: views/jobs.php:2
+#, fuzzy
+msgid "We are recruiting!"
+msgstr "Wij werven!"
+
+#: views/jobs.php:4
+#, fuzzy
+msgid "We are looking for testers nationwide!"
+msgstr "Wij zijn op zoek naar testers landelijk!"
+
+#: views/jobs.php:6
+#, fuzzy
+msgid ""
+"The job entails visiting Gaming Arcades with a view to perform Age "
+"Verification Checking - getting challenged for ID."
+msgstr ""
+"De job brengt een bezoek aan gaming arcades met het oog op leeftijd "
+"verificatiecontrole uit te voeren-Getting uitgedaagd voor ID."
+
+#: views/jobs.php:8
+#, fuzzy
+msgid "Full training will be given by webinar, videos and telephone."
+msgstr ""
+"Volledige training zal worden gegeven door Webinar, Video's en telefoon."
+
+#: views/jobs.php:10
+#, fuzzy
+msgid "We pay £10 per visit which will last a maximum of 5 minutes!"
+msgstr "Wij betalen £10 per bezoek dat een maximum van 5 minuten zal duren!"
+
+#: views/jobs.php:12
+#, fuzzy
+msgid "Register to get your pack now!"
+msgstr "Registreer nu om uw Pack te krijgen!"
+
+#: views/jobs.php:14
+#, fuzzy
+msgid "Our new testing campaign begins in January - so be quick and register."
+msgstr ""
+"Onze nieuwe testcampagne begint in januari-dus wees er snel bij en "
+"registreer."
+
+#: views/jobs.php:16
+#, fuzzy
+msgid ""
+"Please note that NONE of your details will be shared with any third party "
+"apart from your photo which may have to be provided to our clients should "
+"they have a need to confirm CCTV identity."
+msgstr ""
+"Houdt u er rekening mee dat geen van uw gegevens zal worden gedeeld met een "
+"derde partij, afgezien van uw foto die kunnen worden verstrekt aan onze "
+"klanten moeten ze een noodzaak om CCTV-identiteit te bevestigen."
+
+#: views/log_in.php:10 views/register.php:69 views/reset_password.php:35
+#: views/settings.php:50
+msgid "Email Address"
+msgstr "E-mailadres"
+
+#: views/log_in.php:17 views/register.php:81 views/reset_password.php:12
+msgid "Password"
+msgstr "Wachtwoord"
+
+#: views/log_in.php:19 views/register.php:83 views/reset_password.php:14
+#: views/settings.php:74
+msgid "Enter password"
+msgstr "Vul je wachtwoord in"
+
+#: views/log_in.php:26
+msgid "Forgot Password"
+msgstr "Wachtwoord vergeten"
+
+#: views/modal_services_1.php:6
+#, fuzzy
+msgid "Age-Related Products"
+msgstr "Leeftijdsgebonden producten"
+
+#: views/modal_services_1.php:13
+#, fuzzy
+msgid "Cigarettes"
+msgstr "Sigaretten"
+
+#: views/modal_services_1.php:15
+#, fuzzy
+msgid ""
+"If you are selling age-related products or services such as cigarettes, "
+"alcohol and gambling. Then it is advisable to be tested independently to "
+"ensure you are able to identify and refuse persons wishing to purchase your "
+"services. Again this sounds very easy, to ask someones age and verify it, "
+"but in reality it's quite an issue."
+msgstr ""
+"Als u verkoopt leeftijd gerelateerde producten of diensten, zoals "
+"sigaretten, alcohol en gokken. Dan is het raadzaam om onafhankelijk te "
+"worden getest om ervoor te zorgen dat u in staat bent te identificeren en te "
+"weigeren personen die uw diensten te kopen. Ook dit klinkt heel gemakkelijk, "
+"om iemands leeftijd te vragen en te verifiëren, maar in werkelijkheid is het "
+"nogal een probleem."
+
+#: views/modal_services_1.php:17
+#, fuzzy
+msgid ""
+"A simple check by one of Check Policy's mystery shoppers will determine "
+"whether you and your staff are adhering to guidelines when serving age-"
+"related products."
+msgstr ""
+"Een eenvoudige controle door een van de Mystery Shoppers check Policy zal "
+"bepalen of u en uw medewerkers zich houden aan richtlijnen bij het bedienen "
+"van leeftijd gerelateerde producten."
+
+#: views/modal_services_1.php:19
+#, fuzzy
+msgid "How it works:"
+msgstr "Hoe het werkt:"
+
+#: views/modal_services_1.php:20
+#, fuzzy
+msgid ""
+"One of our Shoppers will visit your site and try to purchase an age-related "
+"product or service. If they are successful and not asked any questions to "
+"verify their age you will fail. The test report will be sent to you "
+"immediately upon completing the test by our automated system; designed to "
+"show the full procedure of the test and after you can make a decision to opt "
+"for further training if needed."
+msgstr ""
+"Een van onze shoppers zal uw site bezoeken en proberen een leeftijdsgebonden "
+"product of dienst te kopen. Als ze succesvol zijn en geen vragen gesteld om "
+"hun leeftijd te verifiëren zul je falen. Het testrapport zal u onmiddellijk "
+"na het voltooien van de test door ons geautomatiseerde systeem worden "
+"toegezonden; ontworpen om de volledige procedure van de test te tonen en "
+"nadat u een beslissing om te kiezen voor verdere opleiding indien nodig te "
+"maken."
+
+#: views/modal_services_1.php:22
+#, fuzzy
+msgid "Check Policy is here to help and guide you along the way."
+msgstr "Check beleid is hier om u te helpen en begeleiden u langs de weg."
+
+#: views/modal_services_2.php:6 views/services.php:22
+#, fuzzy
+msgid "Age Verification Testing"
+msgstr "Leeftijd verificatie testen"
+
+#: views/modal_services_2.php:13
+#, fuzzy
+msgid "Driving Licence"
+msgstr "Rijbewijs"
+
+#: views/modal_services_2.php:15
+#, fuzzy
+msgid "It sounds simple doesn't it, to verify someones age?!"
+msgstr "Het klinkt simpel is het niet, om iemands leeftijd te verifiëren?!"
+
+#: views/modal_services_2.php:16
+#, fuzzy
+msgid ""
+"However our tests have revealed that it's quite a challenge for some people "
+"to actually ask for ID when selling age-related products or services. It is "
+"against the law to sell age-related products or services to minors so it "
+"does become quite an issue."
+msgstr ""
+"Maar onze tests hebben uitgewezen dat het nogal een uitdaging voor sommige "
+"mensen om daadwerkelijk te vragen voor ID bij de verkoop van leeftijd "
+"gerelateerde producten of diensten. Het is tegen de wet om leeftijd-"
+"gerelateerde producten of diensten te verkopen aan minderjarigen, zodat het "
+"wel een heel probleem."
+
+#: views/modal_services_2.php:18
+#, fuzzy
+msgid ""
+"Our tests are designed to show if you or your team are asking the right "
+"questions and getting the honest answer in return."
+msgstr ""
+"Onze tests zijn ontworpen om te laten zien of u of uw team de juiste vragen "
+"stellen en het krijgen van de eerlijke antwoord in ruil."
+
+#: views/modal_services_2.php:20
+#, fuzzy
+msgid ""
+"Training courses are designed to help you and your team meet the demanding "
+"requirements, by law, to verify age; and how to ask is very important "
+"without offending – keep safe and get training."
+msgstr ""
+"Trainingscursussen zijn ontworpen om u en uw team te helpen voldoen aan de "
+"eisen van de wet om de leeftijd te verifiëren; en hoe om te vragen is zeer "
+"belangrijk zonder te beledigen-veilig te houden en training te krijgen."
+
+#: views/modal_services_3.php:6 views/services.php:35
+#, fuzzy
+msgid "Bespoke Policy Checks"
+msgstr "Op maat gemaakte beleidscontroles"
+
+#: views/modal_services_3.php:13
+msgid "Office"
+msgstr "Kantoor"
+
+#: views/modal_services_3.php:15
+#, fuzzy
+msgid ""
+"Unlike our other tests which are quite specific, this service is tailored to "
+"suit your business. We were approached by several clients to test their "
+"premises for various company policy related issues such as attire, attitude "
+"and so on."
+msgstr ""
+"In tegenstelling tot onze andere tests die zijn heel specifiek, deze service "
+"is afgestemd op uw bedrijf past. We werden benaderd door verschillende "
+"klanten om hun gebouwen te testen voor verschillende bedrijfsbeleid "
+"gerelateerde kwesties zoals kledij, houding en zo verder."
+
+#: views/modal_services_3.php:17
+#, fuzzy
+msgid ""
+"First impressions count, so if your staff aren't presenting the \"Face of "
+"the Company\" correctly, you may lose that client and all the possible "
+"benefits with it. A simple test by Check Policy will help you train your "
+"staff accordingly and keep them sharp with company policy."
+msgstr ""
+"Eerste indrukken tellen, dus als uw medewerkers niet correct presenteren van "
+"de gezicht van het bedrijf, u verliezen die klant en alle mogelijke "
+"voordelen met het. Een eenvoudige test door het beleid van de controle zal u "
+"helpen uw personeel dienovereenkomstig opleiden en hen scherp met het beleid "
+"van het bedrijf houden."
+
+#: views/modal_test_claim.php:14
+#, fuzzy
+msgid "Confirm Selected Tests"
+msgstr "Geselecteerde tests bevestigen"
+
+#: views/modal_test_claim.php:21
+#, fuzzy
+msgid "You have selected the following tests:"
+msgstr "U hebt de volgende tests geselecteerd:"
+
+#: views/modal_test_claim.php:26
+#, fuzzy
+msgid "The due date is:"
+msgstr "De vervaldatum is:"
+
+#: views/modal_test_claim.php:28
+#, fuzzy
+msgid "By confirming, you agree that:"
+msgstr "Door te bevestigen, stemt u ermee in dat:"
+
+#: views/modal_test_claim.php:31
+#, fuzzy
+msgid "You will execute these tests by the due date displayed above."
+msgstr ""
+"U voert deze tests uit op de vervaldatum die hierboven wordt weergegeven."
+
+#: views/modal_test_claim.php:32
+#, fuzzy
+msgid ""
+"Failure to complete tests by the due date without good reason may result in "
+"the tests being unassigned from yourself and limit your ability to claim "
+"tests in the future."
+msgstr ""
+"Het naLaten om tests door de vervaldatum zonder goede reden te voltooien kan "
+"in de tests resulteren die van zich niet worden toegewezen en uw capaciteit "
+"beperken om tests in de toekomst te eisen."
+
+#: views/modal_test_claim.php:39
+msgid "Confirm"
+msgstr "Bevestigen"
+
+#: views/modal_test_claim.php:40
+msgid "Finish"
+msgstr "Voltooien"
+
+#: views/modal_test_invoice.php:7 views/modal_test_invoice.php:29
+msgid "Download Invoice"
+msgstr "Factuur downloaden"
+
+#: views/modal_test_invoice.php:24
+#, fuzzy
+msgid "You may be contacted for verification purposes."
+msgstr "U gecontacteerd worden voor verificatiedoeleinden."
+
+#: views/pagination.php:37
+#, php-format
+msgid "Page %s of %s"
+msgstr "Pagina %s van %s"
+
+#: views/practice_form.php:11 views/test_form.php:50
+#, fuzzy
+msgid "Test Completed"
+msgstr "Test voltooid"
+
+#: views/practice_form.php:13
+#, fuzzy
+msgid ""
+"Thanks for taking a practice test. You can find your submitted results below."
+msgstr ""
+"Bedankt voor het nemen van een praktijktest. U uw ingediende resultaten "
+"hieronder vinden."
+
+#: views/practice_form.php:15
+msgid "Start Over"
+msgstr "Begin opnieuw"
+
+#: views/practice_form.php:41
+msgid "View Image"
+msgstr "Toon afbeelding"
+
+#: views/practice_form.php:56
+#, fuzzy
+msgid "Test Date/Time"
+msgstr "Test datum/-tijd"
+
+#: views/practice_form.php:59
+#, fuzzy
+msgid "Test Start"
+msgstr "Test start"
+
+#: views/practice_form.php:66
+#, fuzzy
+msgid "Test End"
+msgstr "Test einde"
+
+#: views/practice_template_select.php:9
+#, fuzzy
+msgid ""
+"There are no practice forms available at the moment. Please try again later."
+msgstr ""
+"Er zijn momenteel geen praktijk formulieren beschikbaar. Probeer het later "
+"opnieuw."
+
+#: views/practice_template_select.php:20
+#, fuzzy, php-format
+msgid "Practice Form #%d"
+msgstr "Oefen formulier #% d"
+
+#: views/register.php:9
+#, fuzzy
+msgid ""
+"Become a tester and earn £10 per test which should last no longer than 8 "
+"minutes!"
+msgstr ""
+"Word een tester en verdien £10 per test die niet langer dan 8 minuten moet "
+"duren!"
+
+#: views/register.php:12
+#, fuzzy, php-format
+msgid ""
+"If you want more information on our security policy, please call us on %s "
+"(mobile call rate)."
+msgstr ""
+"Wilt u meer informatie over ons veiligheidsbeleid, bel ons dan op %s (mobiel "
+"gesprekstarief)."
+
+#: views/register.php:23 views/settings.php:17
+msgid "Title"
+msgstr "Titel"
+
+#: views/register.php:26 views/settings.php:20
+msgid "Select title"
+msgstr "Titel selecteren"
+
+#: views/register.php:39 views/settings.php:33
+msgid "First Name"
+msgstr "Voornaam"
+
+#: views/register.php:41 views/settings.php:35
+#, fuzzy
+msgid "Enter first name"
+msgstr "Voer voornaam in"
+
+#: views/register.php:45 views/settings.php:39
+msgid "Last Name"
+msgstr "Achternaam"
+
+#: views/register.php:47 views/settings.php:41
+msgid "Enter last name"
+msgstr "Voer a.u.b. achternaam in"
+
+#: views/register.php:51
+msgid "Gender"
+msgstr "Geslacht"
+
+#: views/register.php:54
+msgid "Select gender"
+msgstr "Selecteer geslacht"
+
+#: views/register.php:75 views/settings.php:61
+msgid "Mobile Number"
+msgstr "Mobiel nummer"
+
+#: views/register.php:77 views/settings.php:63
+#, fuzzy
+msgid "Enter mobile number"
+msgstr "Voer mobiel nummer in"
+
+#: views/register.php:84 views/reset_password.php:15 views/settings.php:75
+#, fuzzy, php-format
+msgid ""
+"At least %s6 characters%s. Must contain at least one %slowercase%s, "
+"%suppercase%s, %snumber%s and %sspecial%s character."
+msgstr ""
+"Ten minste %s6 tekens %s. moet ten minste één %slowercase %s, %suppercase "
+"%s, %snumber %s en %sspecial %s bevatten."
+
+#: views/register.php:94 views/reset_password.php:25 views/settings.php:85
+msgid "Confirm Password"
+msgstr "Bevestig wachtwoord"
+
+#: views/register.php:96 views/reset_password.php:27 views/settings.php:87
+msgid "Confirm password"
+msgstr "Bevestig wachtwoord"
+
+#: views/register.php:100
+msgid "Date of Birth"
+msgstr "Geboortedatum"
+
+#: views/register.php:103
+msgid "Day"
+msgstr "Dag"
+
+#: views/register.php:109
+msgid "Month"
+msgstr "Maand"
+
+#: views/register.php:115
+msgid "Year"
+msgstr "Jaar"
+
+#: views/register.php:139
+#, fuzzy, php-format
+msgid ""
+"I agree to and have read the %sTerms and Conditions%s and %sPrivacy Policy%s"
+msgstr ""
+"Ik ga akkoord met en lees de %sTerms en voorwaarden %s en %sPrivacy Policy %s"
+
+#: views/register.php:148 views/settings.php:57
+#, fuzzy, php-format
+msgid "Opt-in to newsletters about %s"
+msgstr "Opt-in voor nieuwsbrieven over %s"
+
+#: views/reset_password.php:45 views/submit_id.php:42
+msgid "Submit"
+msgstr "Verzenden"
+
+#: views/services.php:3
+#, fuzzy
+msgid "Check Policy Services"
+msgstr "Beleids Services controleren"
+
+#: views/services.php:10
+#, fuzzy
+msgid "Age Related Products"
+msgstr "Leeftijd gerelateerde producten"
+
+#: views/services.php:14
+#, fuzzy
+msgid "Testing your team to keep you and your clients safe."
+msgstr "Het testen van uw team om u en uw klanten veilig te houden."
+
+#: views/services.php:26
+#, fuzzy
+msgid "Being prepared."
+msgstr "Worden voorbereid."
+
+#: views/services.php:27
+#, fuzzy
+msgid "Better protected."
+msgstr "Beter beschermd."
+
+#: views/services.php:39
+#, fuzzy
+msgid "Need a specific check?"
+msgstr "Behoefte aan een specifieke controle?"
+
+#: views/services.php:40
+#, fuzzy
+msgid "We can cover it!"
+msgstr "We kunnen dekken!"
+
+#: views/services.php:48
+#, fuzzy
+msgid "Still not sure what service you need?"
+msgstr "Nog steeds niet zeker welke dienst je nodig hebt?"
+
+#: views/services.php:51
+#, fuzzy, php-format
+msgid ""
+"Simply call us on %s and we will gladly walk you through the process to "
+"begin your testing and training with %s."
+msgstr ""
+"Bel ons gewoon op %s en wij zullen u graag door het proces lopen om uw "
+"testen en training met %s te beginnen."
+
+#: views/services.php:54
+#, fuzzy, php-format
+msgid ""
+"Alternatively, complete the form on the %sContact%s page and we will contact "
+"you."
+msgstr ""
+"U ook het formulier invullen op de %sContact %s pagina en we nemen contact "
+"met u op."
+
+#: views/settings.php:14
+msgid "Personal"
+msgstr "Persoonlijk"
+
+#: views/settings.php:69
+msgid "Security"
+msgstr "Beveiliging"
+
+#: views/settings.php:72
+#, fuzzy
+msgid "Password (if changing)"
+msgstr "Wachtwoord (indien gewijzigd)"
+
+#: views/settings.php:92
+msgid "Payment"
+msgstr "Betaling"
+
+#: views/settings.php:94
+msgid "Preferred Payment Method"
+msgstr "Gewenste Betaalmethode"
+
+#: views/settings.php:109
+msgid "Bank Name"
+msgstr "Naam bank"
+
+#: views/settings.php:111
+#, fuzzy
+msgid "Enter bank name"
+msgstr "Bank naam invoeren"
+
+#: views/settings.php:115
+#, fuzzy
+msgid "Bank Sort Code"
+msgstr "Sorteer code van Bank"
+
+#: views/settings.php:117
+#, fuzzy
+msgid "Enter bank sort code"
+msgstr "Sorteercode voor bank invoeren"
+
+#: views/settings.php:121
+msgid "Bank Account Number"
+msgstr "Bankrekeningnummer"
+
+#: views/settings.php:123
+#, fuzzy
+msgid "Enter bank account number"
+msgstr "Bankrekening nummer invoeren"
+
+#: views/settings.php:127
+msgid "PayPal Email Address"
+msgstr "PayPal E-mailadres"
+
+#: views/settings.php:129
+#, fuzzy
+msgid "Enter PayPal email address"
+msgstr "Voer PayPal e-mail adres"
+
+#: views/submit_id.php:6
+#, fuzzy
+msgid "Important Info"
+msgstr "Belangrijke informatie"
+
+#: views/submit_id.php:10
+#, fuzzy
+msgid "Acceptable forms of ID include:"
+msgstr "Acceptabele vormen van ID zijn:"
+
+#: views/submit_id.php:12
+#, fuzzy
+msgid "Current EU/EEA passport."
+msgstr "Huidige EU/EER-paspoort."
+
+#: views/submit_id.php:13
+#, fuzzy
+msgid "Current driver's licence."
+msgstr "Huidige rijbewijs."
+
+#: views/submit_id.php:16
+#, fuzzy
+msgid "A photo of you must be shown."
+msgstr "Een foto van je moet worden getoond."
+
+#: views/submit_id.php:17
+#, fuzzy
+msgid "Expired documents will not be accepted."
+msgstr "Verlopen documenten worden niet geaccepteerd."
+
+#: views/submit_id.php:18
+#, fuzzy
+msgid "Submitted images must be clear and not obscured in any way."
+msgstr ""
+"Ingediende beelden moeten duidelijk zijn en niet worden verduisterd op "
+"enigerlei wijze."
+
+#: views/submit_id.php:19
+#, fuzzy
+msgid "Only JPEG format accepted."
+msgstr "Alleen JPEG-formaat geaccepteerd."
+
+#: views/submit_id.php:24
+msgid "Submission Form"
+msgstr "Indienformulier"
+
+#: views/submit_id.php:29
+#, fuzzy
+msgid "ID Document"
+msgstr "ID-document"
+
+#: views/submit_id.php:31
+#, fuzzy
+msgid "Passport, driver's licence, etc."
+msgstr "Paspoort, rijbewijs, enz."
+
+#: views/submit_id.php:35
+msgid "Photo"
+msgstr "Foto"
+
+#: views/submit_id.php:37
+#, fuzzy
+msgid "Photo of yourself, selfie, etc."
+msgstr "Foto van jezelf, selfie, enz."
+
+#: views/submit_id.php:40
+#, fuzzy
+msgid ""
+"Please note that it may take a while for photos to upload. Please do not "
+"refresh the page when it is uploading."
+msgstr ""
+"Houd er rekening mee dat het kan een tijdje duren voor Foto's te uploaden. "
+"Vernieuw de pagina niet wanneer deze wordt geüpload."
+
+#: views/terms_decline.php:6
+#, fuzzy, php-format
+msgid ""
+"We are sorry that you have chosen not to accept our %sTerms and Conditions%s."
+msgstr ""
+"Het spijt ons dat u ervoor hebt gekozen om onze %sTerms en voorwaarden %s "
+"niet te accepteren."
+
+#: views/terms_decline.php:9
+#, fuzzy
+msgid "Please select an action below:"
+msgstr "Selecteer hieronder een actie:"
+
+#: views/terms_decline.php:14
+#, fuzzy
+msgid ""
+"Mark your account as deactivated. You will not be assigned any tests. You "
+"will be able to login to your account to reactivate your account and/or "
+"accept the Terms and Conditions if you choose to do so at a later date. You "
+"will be taken to a confirmation page before your account is deactivated."
+msgstr ""
+"Markeer uw account als gedeactiveerd. U krijgt geen tests toegewezen. U zult "
+"in staat zijn om in te loggen op uw account om uw account te activeren en/of "
+"de voorwaarden te accepteren als u ervoor kiest om dit te doen op een later "
+"tijdstip. U wordt naar een bevestigingspagina gebracht voordat uw account "
+"wordt gedeactiveerd."
+
+#: views/terms_decline.php:18
+#, fuzzy
+msgid ""
+"Delete all personal identifiable information associated with your account. "
+"If you choose to use our services at a later date, you will be required to "
+"re-register. You will be taken to a confirmation page before your account is "
+"deleted."
+msgstr ""
+"Verwijder alle persoonlijke identificeerbare informatie die aan uw account "
+"is gekoppeld. Als u ervoor kiest om onze diensten te gebruiken op een later "
+"tijdstip, zal u worden verplicht om opnieuw te registreren. U wordt naar een "
+"bevestigingspagina gebracht voordat uw account wordt verwijderd."
+
+#: views/terms_decline.php:21
+#, fuzzy
+msgid "Accept Terms and Conditions"
+msgstr "Accepteer algemene voorWaarden"
+
+#: views/test_form.php:19
+#, fuzzy
+msgid ""
+"Answer as clearly and accurately as you can otherwise you may be contacted "
+"after the test for clarification and/or verification purposes."
+msgstr ""
+"Antwoord zo duidelijk en nauwkeurig als je anders u gecontacteerd worden na "
+"de test voor verduidelijking en/of verificatie doeleinden."
+
+#: views/test_form.php:36
+#, fuzzy
+msgid "Submit Test Results"
+msgstr "Test resultaten indienen"
+
+#: views/test_form.php:38
+#, fuzzy
+msgid "No Internet Connectivity"
+msgstr "Geen Internet connectiviteit"
+
+#: views/test_form.php:39
+#, fuzzy
+msgid "Please check your Internet connectivity and try again."
+msgstr "Controleer uw Internet verbinding en probeer het opnieuw."
+
+#: views/test_form.php:52
+#, fuzzy, php-format
+msgid ""
+"This test is now completed. %sClick here%s to return to the Account page."
+msgstr ""
+"Deze test is nu voltooid.  %sClick hier %s om terug te keren naar de account "
+"pagina."
+
+#: views/test_list_assigned.php:20
+msgid "Actions"
+msgstr "Acties"
+
+#: views/test_list_assigned.php:24
+#, fuzzy
+msgid "Export KML"
+msgstr "KML exporteren"
+
+#: views/test_list_assigned.php:25
+#, fuzzy
+msgid "Export Postcodes"
+msgstr "Postcodes exporteren"
+
+#: views/test_list_assigned.php:40
+#, fuzzy
+msgid "No tests have been assigned to you at this time."
+msgstr "Op dit moment zijn er geen tests aan u toegewezen."
+
+#: views/test_list_assigned.php:79
+msgid "Due:"
+msgstr "Vervalt op:"
+
+#: views/test_list_assigned.php:97 views/tests.php:28
+#, fuzzy
+msgid "Begin"
+msgstr "Beginnen"
+
+#: views/test_list_assigned.php:102
+msgid "Continue"
+msgstr "Doorgaan"
+
+#: views/test_list_assigned.php:107
+#, fuzzy
+msgid "Amend"
+msgstr "Wijzigen"
+
+#: views/test_list_completed.php:10
+#, fuzzy
+msgid "You have not completed any tests yet."
+msgstr "U hebt nog geen tests voltooid."
+
+#: views/test_list_completed.php:27
+#, fuzzy, php-format
+msgid ""
+"You have multiple addresses. %sClick here%s to manage your addresses and set "
+"one as the invoice address to enable the invoice link."
+msgstr ""
+"Je hebt meerdere adressen.  %sClick hier %s om uw adressen te beheren en één "
+"als factuuradres in te stellen om de factuur koppeling in te schakelen."
+
+#: views/test_list_completed.php:35
+#, fuzzy, php-format
+msgid ""
+"You have no valid payment method. %sClick here%s and verify your payment "
+"method settings are correct to enable the invoice link."
+msgstr ""
+"U hebt geen geldige betalingsmethode.  %sClick hier %s en controleer of de "
+"instellingen van de betalingsmethode correct zijn om de factuur koppeling in "
+"te schakelen."
+
+#: views/test_list_completed.php:65
+#, fuzzy
+msgid "%i min. %S sec."
+msgstr "% i min. %s sec."
+
+#: views/test_list_completed.php:75
+msgid "Pending"
+msgstr "In afwachting"
+
+#: views/test_list_completed.php:79
+msgid "Rejected"
+msgstr "Afgewezen"
+
+#: views/test_list_completed.php:84
+msgid "Accepted"
+msgstr "Geaccepteerd"
+
+#: views/test_list_completed.php:96
+msgid "ID:"
+msgstr "ID:"
+
+#: views/test_list_completed.php:127
+#, fuzzy
+msgid "Fee:"
+msgstr "Vergoeding:"
+
+#: views/test_list_completed.php:132
+#, fuzzy
+msgid "View selfie."
+msgstr "Bekijk selfie."
+
+#: views/tests.php:10
+#, fuzzy
+msgid "You have no assigned tests at this time."
+msgstr "U hebt op dit moment geen tests toegewezen."
+
+#: views/tests_available.php:11
+#, fuzzy, php-format
+msgid "Claim %s0%s ..."
+msgstr "Claim %s0 %s..."
+
+#: views/tests_available.php:18
+#, fuzzy
+msgid ""
+"On this page you can search for tests that are currently available. Please "
+"use the \"Select\" buttons or click on the map markers to select and "
+"deselect a test. After you have made your selections, please click the "
+"\"Claim\" button on the top-right of this page to assign yourself the tests."
+msgstr ""
+"Op deze pagina u zoeken naar tests die momenteel beschikbaar zijn. Gebruik "
+"de \"Select\" knoppen of klik op de kaart markers te selecteren en "
+"deselecteren een test. Nadat u uw selecties hebt gemaakt, klikt u op de "
+"\"claim\" knop in de rechterbovenhoek van deze pagina om uzelf de tests toe "
+"te wijzen."
+
+#: views/tests_available.php:39
+msgid "Type:"
+msgstr "Type:"
+
+#: views/tests_available.php:45
+#, fuzzy
+msgid "Nighttime"
+msgstr "Nachtelijke"
+
+#: views/tests_available.php:53
+#, fuzzy, php-format
+msgid "%s%s mi%s from your %s address"
+msgstr "%s %s mi %s van uw %s adres"
+
+#: views/tests_available.php:57
+msgid "Select"
+msgstr "Selecteer"
+
+#: views/tests_available.php:70
+msgid "Location"
+msgstr "Locatie"
+
+#~ msgid "Terms and Conditions"
+#~ msgstr "Terms and Conditions"

+ 3 - 2
views/404.php

@@ -1,9 +1,10 @@
 <div class="container mt-3 py-4">
 
-	<h2>Page Not Found</h2>
+	<h2><?=htmlspecialchars(_("Page Not Found"))?></h2>
 
 	<div class="alert alert-info">
 		<i class="fal fa-fw fa-info-circle"></i>
-		The requested page could not be found. <a href="/">Click here</a> to return to the home page.
+		<?=htmlspecialchars(_("The requested page could not be found."))?>
+		<?=sprintf(_("%sClick here%s to return to the home page."), "<a href=\"/\">", "</a>")?>
 	</div>
 </div>

+ 3 - 2
views/503.php

@@ -1,10 +1,11 @@
 <div class="container mt-3 py-4">
 
-	<h2>Internal Server Error</h2>
+	<h2><?=htmlspecialchars(_("Internal Server Error"))?></h2>
 
 	<div class="alert alert-danger">
 		<i class="fal fa-fw fa-exclamation-circle"></i>
-		The requested page could not be served due to an internal server error. Please try again later.
+		<?=htmlspecialchars(_("The requested page could not be served due to an internal server error."))?>
+		<?=htmlspecialchars(_("Please try again later."))?>
 	</div>
 
 </div>

+ 43 - 22
views/account.php

@@ -6,22 +6,34 @@
 	switch(Core::$user->level) {
 		case User::LEVEL_BANNED:
 			?>
-			<div class="alert alert-danger"><i class="fal fa-fw fa-exclamation-circle"></i> Your account has been banned. You will not be able to participate in any tests.</div>
+			<div class="alert alert-danger">
+				<i class="fal fa-fw fa-exclamation-circle"></i>
+				<?=htmlspecialchars(_("Your account has been banned. You will not be able to participate in any tests."))?>
+			</div>
 			<?php
 			break;
 		case User::LEVEL_REGISTERED:
 			?>
-			<div class="alert alert-warning"><i class="fal fa-fw fa-clock"></i> Your account is not verified. You need to submit proof of ID and get your account verified before you can participate in tests.</div>
+			<div class="alert alert-warning">
+				<i class="fal fa-fw fa-clock"></i>
+				<?=htmlspecialchars(_("Your account is not verified. You need to submit proof of ID and get your account verified before you can participate in tests."))?>
+			</div>
 			<?php
 			break;
 		case User::LEVEL_UNVERIFIED:
 			?>
-			<div class="alert alert-warning"><i class="fal fa-fw fa-clock"></i> Your account is pending verification. You will be able to participate in tests once verified.</div>
+			<div class="alert alert-warning">
+				<i class="fal fa-fw fa-clock"></i>
+				<?=htmlspecialchars(_("Your account is pending verification. You will be able to participate in tests once verified."))?>
+			</div>
 			<?php
 			break;
 		case User::LEVEL_DEACTIVATED:
 			?>
-			<div class="alert alert-info"><i class="fal fa-fw fa-info-circle"></i> Your account is deactivated. You will not be able to participate in any tests until you reactivate your account.</div>
+			<div class="alert alert-info">
+				<i class="fal fa-fw fa-info-circle"></i>
+				<?=htmlspecialchars(_("Your account is deactivated. You will not be able to participate in any tests until you reactivate your account."))?>
+			</div>
 			<?php
 			break;
 
@@ -30,7 +42,9 @@
 
 	<div class="row">
 		<div class="col-xl mb-3 mb-lg-0">
-			<h3>Main Menu</h3>
+			<h3>
+				<?=htmlspecialchars(_("Main Menu"))?>
+			</h3>
 			<div class="row">
 			<?php
 			foreach($icons as $icon) {
@@ -66,7 +80,7 @@
 			<?php
 			if($to_do) {
 				?>
-				<h3>To-Do</h3>
+				<h3><?=htmlspecialchars(_("To-Do"))?></h3>
 
 				<div class="row">
 				<?php
@@ -103,24 +117,31 @@
 			if(Core::$user->level != User::LEVEL_DEACTIVATED && !Core::$user->terms_accepted) {
 				?>
 				<div class="alert alert-danger">
-					<p><i class="fas fa-info-circle"></i> <strong>IMPORTANT</strong></p>
+					<p><i class="fas fa-info-circle"></i> <strong><?=htmlspecialchars(_("Important"))?></strong></p>
 
 					<?php
 					if(is_null(Core::$user->terms_accepted)) {
 						?>
-						<p><a href="/terms-and-conditions">Terms and Conditions</a> have been published.</p>
-						<p>Our records show that you have not accepted the <a href="/terms-and-conditions">Terms and Conditions</a> on registration. Please take time to read our Terms and Conditions and then click Accept or Decline to continue.</p>
+						<p>
+							<a href="/terms-and-conditions">Terms and Conditions</a> have been published.
+							<?=sprintf(htmlspecialchars(_("%sTerms and Conditions%s have been published.")), "<a href=\"/terms-and-conditions\">", "</a>")?>
+						</p>
+						<p>
+							<?=sprintf(htmlspecialchars(_("Our records show that you have not accepted the %sTerms and Conditions%s on registration. Please take time to read our Terms and Conditions and then click Accept or Decline to continue.")), '<a href="/terms-and-conditions">', '</a>')?>
+						</p>
 						<?php
 					}
 					else {
 						?>
-						<p>Our records show that you have declined the <a href="/terms-and-conditions">Terms and Conditions</a>. If you have changed your mind, please click Accept to continue or Decline for other actions.</p>
+						<p>
+							<?=sprintf(htmlspecialchars(_("Our records show that you have declined the %sTerms and Conditions. If you have changed your mind, please click Accept to continue or Decline for other actions.")), '<a href="/terms-and-conditions">', '</a>')?>
+						</p>
 						<?php
 					}
 					?>
 
-					<a class="btn btn-success" href="/account/accept-terms">Accept</a>
-					<a class="btn btn-danger" href="/account/decline-terms">Decline</a>
+					<a class="btn btn-success" href="/account/accept-terms"><?=htmlspecialchars(_("Accept"))?></a>
+					<a class="btn btn-danger" href="/account/decline-terms"><?=htmlspecialchars(_("Decline"))?></a>
 				</div>
 				<?php
 			}
@@ -130,50 +151,50 @@
 			<?php
 			if(Core::$user->isCustomer() == false) {
 				?>
-				<h3>Useful Documents</h3>
+				<h3><?=htmlspecialchars(_("Useful Documents"))?></h3>
 
 				<div class="list-group mb-3">
 					<a class="list-group-item list-group-item-action" href="/files/id_response.pdf">
 						<i class="fal fa-fw fa-file-pdf"></i>
-						ID Response for Testers
+						<?=htmlspecialchars(_("ID Response for Testers"))?>
 					</a>
 					<a class="list-group-item list-group-item-action" href="/files/testing_methodology.pdf">
 						<i class="fal fa-fw fa-file-pdf"></i>
-						Age Verification Testing Methodology
+						<?=htmlspecialchars(_("Age Verification Testing Methodology"))?>
 					</a>
 					<a class="list-group-item list-group-item-action" href="/files/machine_categories.pdf">
 						<i class="fal fa-fw fa-file-pdf"></i>
-						Machine Categories
+						<?=htmlspecialchars(_("Machine Categories"))?>
 					</a>
 					<a class="list-group-item list-group-item-action" href="/files/testing_procedure.pdf">
 						<i class="fal fa-fw fa-file-pdf"></i>
-						Testing Procedure
+						<?=htmlspecialchars(_("Testing Procedure"))?>
 					</a>
 				</div>
 				<?php
 			}
 			?>
 
-			<h3>Referrals</h3>
+			<h3><?=htmlspecialchars(_("Referrals"))?></h3>
 
 			<div class="list-group mb-3">
 				<div class="list-group-item d-flex justify-content-between">
 					<span>
 						<i class="fal fa-fw fa-users"></i>
-						Users Referred:
+						<?=htmlspecialchars(_("Users Referred"))?>:
 					</span>
 					<span><?=number_format(count($referrals))?></span>
 				</div>
 				<div class="list-group-item d-flex justify-content-between">
 					<span>
 						<i class="fal fa-fw fa-external-link"></i>
-						Referral Link:
+						<?=htmlspecialchars(_("Referral Link"))?>:
 					</span>
 
 					<span>
-						<a href="#" data-clipboard-text="<?=PROTOCOL?>://<?=DOMAIN?>/register?r=<?=Core::$user->id?>" data-toggle="tooltip" data-title="Copy to clipboard">
+						<a href="#" data-clipboard-text="<?=PROTOCOL?>://<?=DOMAIN?>/register?r=<?=Core::$user->id?>" data-toggle="tooltip" data-title="<?=htmlspecialchars(_("Copy to clipboard"))?>">
 							<i class="fal fa-fw fa-clipboard"></i>
-							Copy to clipboard
+							<?=htmlspecialchars(_("Copy to clipboard"))?>
 						</a>
 					</span>
 

+ 9 - 9
views/account_deactivate.php

@@ -1,24 +1,24 @@
 <div class="container mt-3 py-4">
 
-	<h2>Deactivate Account</h2>
+	<h2><?=htmlspecialchars(_("Deactivate Account"))?></h2>
 
-	<p>By deactivating your account, you will:</p>
+	<p><?=htmlspecialchars(_("By deactivating your account, you will:"))?></p>
 
 	<ul>
-		<li>No longer be assigned tests.</li>
-		<li>No longer be able to participate in tests.</li>
-		<li>Unassign yourself from all currently assigned tests.</li>
+		<li><?=htmlspecialchars(_("No longer be assigned tests."))?></li>
+		<li><?=htmlspecialchars(_("No longer be able to participate in tests."))?></li>
+		<li><?=htmlspecialchars(_("Unassign yourself from all currently assigned tests."))?></li>
 	</ul>
 
-	<p>You can always log into your account and reactivate the account should you wish to continue to use our services, however you will lose your currently assigned tests.</p>
+	<p><?=htmlspecialchars(_("You can always log into your account and reactivate the account should you wish to continue to use our services, however you will lose your currently assigned tests."))?></p>
 
 	<p class="text-danger">
-		This action cannot be undone.
+		<?=htmlspecialchars(_("This action cannot be undone."))?>
 	</p>
 
 	<form method="post">
-		<button class="btn btn-danger" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>">Deactivate Account</button>
-		<a class="btn btn-secondary" href="/account">Cancel</a>
+		<button class="btn btn-danger" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>"><?=htmlspecialchars(_("Deactivate Account"))?></button>
+		<a class="btn btn-secondary" href="/account"><?=htmlspecialchars(_("Cancel"))?></a>
 	</form>
 
 </div>

+ 12 - 12
views/account_delete.php

@@ -1,28 +1,28 @@
 <div class="container mt-3 py-4">
 
-	<h2>Delete Account</h2>
+	<h2><?=htmlspecialchars(_("Delete Account"))?></h2>
 
-	<p>By deleting your account, you will:</p>
+	<p><?=htmlspecialchars(_("By deleting your account, you will:"))?></p>
 
 	<ul>
-		<li>No longer be assigned tests.</li>
-		<li>No longer be able to participate in tests.</li>
-		<li>No longer be able to generate invoices for completed tests.</li>
-		<li>Unassign yourself from all currently assigned tests.</li>
-		<li>Delete all personal identifiable information associated with your account.</li>
+		<li><?=htmlspecialchars(_("No longer be assigned tests."))?></li>
+		<li><?=htmlspecialchars(_("No longer be able to participate in tests."))?></li>
+		<li><?=htmlspecialchars(_("No longer be able to generate invoices for completed tests."))?></li>
+		<li><?=htmlspecialchars(_("Unassign yourself from all currently assigned tests."))?></li>
+		<li><?=htmlspecialchars(_("Delete all personal identifiable information associated with your account."))?></li>
 	</ul>
 
-	<p>If you have participated in tests, we will need to keep only your age and gender for test reporting purposes. This information will not and cannot be used to identify you.</p>
+	<p><?=htmlspecialchars(_("If you have participated in tests, we will need to keep only your age and gender for test reporting purposes. This information will not and cannot be used to identify you."))?></p>
 
-	<p>You will need to register again should you wish to continue to use our services.</p>
+	<p><?=htmlspecialchars(_("You will need to register again should you wish to continue to use our services."))?></p>
 
 	<p class="text-danger">
-		This action cannot be undone.
+		<?=htmlspecialchars(_("This action cannot be undone."))?>
 	</p>
 
 	<form method="post">
-		<button class="btn btn-lg btn-danger" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>">Delete Account</button>
-		<a class="btn btn-lg btn-secondary" href="/account">Cancel</a>
+		<button class="btn btn-lg btn-danger" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>"><?=htmlspecialchars(_("Delete Account"))?></button>
+		<a class="btn btn-lg btn-secondary" href="/account"><?=htmlspecialchars(_("Cancel"))?></a>
 	</form>
 
 </div>

+ 8 - 8
views/address_add_form.php

@@ -1,22 +1,22 @@
 <div class="container mt-3 py-4">
-	<h2>Add Address</h2>
+	<h2><?=htmlspecialchars(_("Add Address"))?></h2>
 
 	<form method="post">
 		<div class="form-group">
-			<label for="name">Name</label>
-			<input class="form-control" type="text" name="name" id="name" placeholder="Enter name" value="<?=htmlspecialchars($user_address->name)?>" required />
-			<small class="text-muted form-text">A friendly name for this address. For example: Home, Uni, Workplace, etc...</small>
+			<label for="name"><?=htmlspecialchars(_("Name"))?></label>
+			<input class="form-control" type="text" name="name" id="name" placeholder="<?=htmlspecialchars(_("Enter name"))?>" value="<?=htmlspecialchars($user_address->name)?>" required />
+			<small class="text-muted form-text"><?=htmlspecialchars(_("A friendly name for this address. For example: Home, Uni, Workplace, etc..."))?></small>
 		</div>
 		<div class="form-group">
-			<label for="postal-code">Postal Code</label>
-			<input class="form-control" type="text" name="postal_code" id="postal-code" placeholder="Enter postal code" value="<?=htmlspecialchars($user_address->postal_code)?>" required />
+			<label for="postal-code"><?=htmlspecialchars(_("Postal Code"))?></label>
+			<input class="form-control" type="text" name="postal_code" id="postal-code" placeholder="<?=htmlspecialchars(_("Enter postal code"))?>" value="<?=htmlspecialchars($user_address->postal_code)?>" required />
 		</div>
 		<div class="form-group">
-			<label  for="country">Country</label>
+			<label  for="country"><?=htmlspecialchars(_("Country"))?></label>
 			<select class="form-control" name="country" id="country" required>
 			<?=Form::renderCountryOptions($user_address->country)?>
 			</select>
 		</div>
-		<button class="btn btn-primary" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>">Add</button>
+		<button class="btn btn-primary" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>"><?=htmlspecialchars(_("Add"))?></button>
 	</form>
 </div>

+ 17 - 17
views/address_edit_form.php

@@ -1,43 +1,43 @@
 <div class="container mt-3 py-4">
-	<h2>Edit Address</h2>
+	<h2><?=htmlspecialchars(_("Edit Address"))?></h2>
 
 	<form method="post">
 		<div class="row">
 			<div class="col-lg">
 
 				<div class="form-group">
-					<label for="name">Name</label>
-					<input class="form-control" type="text" name="name" id="name" placeholder="Enter name" value="<?=htmlspecialchars($user_address->name)?>" required />
+					<label for="name"><?=htmlspecialchars(_("Name"))?></label>
+					<input class="form-control" type="text" name="name" id="name" placeholder="<?=htmlspecialchars(_("Enter name"))?>" value="<?=htmlspecialchars($user_address->name)?>" required />
 				</div>
 				<div class="form-group">
-					<label for="address-1">Address Line 1</label>
-					<input class="form-control" type="text" name="address_1" id="address-1" placeholder="Enter address line 1" value="<?=htmlspecialchars($user_address->address_1)?>" required />
+					<label for="address-1"><?=htmlspecialchars(_("Address Line 1"))?></label>
+					<input class="form-control" type="text" name="address_1" id="address-1" placeholder="<?=htmlspecialchars(_("Enter address line 1"))?>" value="<?=htmlspecialchars($user_address->address_1)?>" required />
 				</div>
 				<div class="form-group">
-					<label for="address-2">Address Line 2</label>
-					<input class="form-control" type="text" name="address_2" id="address-2" placeholder="Enter address line 2" value="<?=htmlspecialchars($user_address->address_2)?>" />
+					<label for="address-2"><?=htmlspecialchars(_("Address Line 2"))?></label>
+					<input class="form-control" type="text" name="address_2" id="address-2" placeholder="<?=htmlspecialchars(_("Enter address line 2"))?>" value="<?=htmlspecialchars($user_address->address_2)?>" />
 				</div>
 				<div class="form-group">
-					<label for="city">City</label>
-					<input class="form-control" type="text" name="city" id="city" placeholder="Enter city" value="<?=htmlspecialchars($user_address->city)?>" required />
+					<label for="city"><?=htmlspecialchars(_("City"))?></label>
+					<input class="form-control" type="text" name="city" id="city" placeholder="<?=htmlspecialchars(_("Enter city"))?>" value="<?=htmlspecialchars($user_address->city)?>" required />
 				</div>
 				<div class="form-group">
-					<label for="county">County</label>
-					<input class="form-control" type="text" name="county" id="county" placeholder="Enter county" value="<?=htmlspecialchars($user_address->county)?>" />
+					<label for="county"><?=htmlspecialchars(_("County"))?></label>
+					<input class="form-control" type="text" name="county" id="county" placeholder="<?=htmlspecialchars(_("Enter county"))?>" value="<?=htmlspecialchars($user_address->county)?>" />
 				</div>
 				<div class="form-group">
-					<label for="postal-code">Postal Code</label>
-					<input class="form-control" type="text" name="postal_code" id="postal-code" placeholder="Enter postal code" value="<?=htmlspecialchars($user_address->postal_code)?>" required />
+					<label for="postal-code"><?=htmlspecialchars(_("Postal Code"))?></label>
+					<input class="form-control" type="text" name="postal_code" id="postal-code" placeholder="<?=htmlspecialchars(_("Enter postal code"))?>" value="<?=htmlspecialchars($user_address->postal_code)?>" required />
 				</div>
 				<div class="form-group">
-					<label  for="country">Country</label>
+					<label  for="country"><?=htmlspecialchars(_("Country"))?></label>
 					<select class="form-control" name="country" id="country" required>
 					<?=Form::renderCountryOptions($user_address->country)?>
 					</select>
 				</div>
 			</div>
 			<div class="col-lg">
-				<label>Map</label>
+				<label><?=htmlspecialchars(_("Map"))?></label>
 				<div class="mb-3" id="map" style="height: 382px;" data-maps data-lat="<?=$user_address->latitude?>" data-lng="<?=$user_address->longitude?>" data-zoom="14" data-marker="true" data-marker-draggable="true" data-marker-dragend-target="#map-data"></div>
 
 				<div id="map-data">
@@ -46,7 +46,7 @@
 				</div>
 
 				<div class="form-group">
-					<label for="max-radius-miles">Max Distance</label>
+					<label for="max-radius-miles"><?=htmlspecialchars(_("Max Distance"))?></label>
 					<select class="form-control" name="max_radius_miles" id="max-radius-miles" required>
 					<?php
 					foreach(UserAddress::RADIUSES as $radius) {
@@ -63,6 +63,6 @@
 			</div>
 		</div>
 
-		<button class="btn btn-primary" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>">Save</button>
+		<button class="btn btn-primary" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>"><?=htmlspecialchars(_("Save"))?></button>
 	</form>
 </div>

+ 6 - 6
views/addresses.php

@@ -1,11 +1,11 @@
 <div class="container mt-3 py-4">
-	<h2>Addresses</h2>
+	<h2><?=htmlspecialchars(_("Addresses"))?></h2>
 
 	<?php
 	if(empty($addresses)) {
 		?>
 		<div class="alert alert-info">
-			There are no addresses associated with your account.
+			<?=htmlspecialchars(_("There are no addresses associated with your account."))?>
 		</div>
 		<?php
 	}
@@ -24,7 +24,7 @@
 						<?php
 						if($address->invoice) {
 							?>
-							<span class="badge badge-primary">Invoice</span>
+							<span class="badge badge-primary"><?=htmlspecialchars(_("Invoice"))?></span>
 							<?php
 						}
 						?>
@@ -35,12 +35,12 @@
 						<?php
 						if(!$address->invoice) {
 							?>
-							<button type="submit" class="btn btn-outline-info" name="invoice" value="<?=$address->id?>">Set as Invoice Address</button>
+							<button type="submit" class="btn btn-outline-info" name="invoice" value="<?=$address->id?>"><?=htmlspecialchars(_("Set as Invoice Address"))?></button>
 							<?php
 						}
 						?>
 
-						<a class="btn btn-outline-primary" href="/account/addresses/edit/<?=$address->id?>">Edit</a>
+						<a class="btn btn-outline-primary" href="/account/addresses/edit/<?=$address->id?>"><?=htmlspecialchars(_("Edit"))?></a>
 					</div>
 				</div>
 			</div>
@@ -50,6 +50,6 @@
 	?>
 	</form>
 
-	<a class="btn btn-primary" href="/account/addresses/add">Add</a>
+	<a class="btn btn-primary" href="/account/addresses/add"><?=htmlspecialchars(_("Add"))?></a>
 
 </div>

+ 7 - 7
views/become_a_tester.php

@@ -1,16 +1,16 @@
 <div class="container mt-3 py-4">
-	<h2>Join our Team</h2>
+	<h2><?=htmlspecialchars(_("Join our Team"))?></h2>
 
-	<p>We are always actively recruiting testers!</p>
+	<p><?=htmlspecialchars(_("We are always actively recruiting testers!"))?></p>
 
-	<p>We pay a fee per test, straight into your chosen bank account on a fortnightly/monthly basis. Ideal for students who want to earn some extra money for very little effort.</p>
+	<p><?=htmlspecialchars(_("We pay a fee per test, straight into your chosen bank account on a fortnightly/monthly basis. Ideal for students who want to earn some extra money for very little effort."))?></p>
 
-	<p>If you are aged 18-20 and look younger than your years - we want to hear from you.</p>
+	<p><?=htmlspecialchars(_("If you are aged 18-20 and look younger than your years - we want to hear from you."))?></p>
 
-	<p>There is no commitment to undertake - simply be available when called upon to visit a site and complete a test. Full training is given and you can earn as you test.</p>
+	<p><?=htmlspecialchars(_("There is no commitment to undertake - simply be available when called upon to visit a site and complete a test. Full training is given and you can earn as you test."))?></p>
 
-	<p><a class="btn btn-lg btn-primary" href="/register">Join our team now!</a></p>
+	<p><a class="btn btn-lg btn-primary" href="/register"><?=htmlspecialchars(_("Join our team now!"))?></a></p>
 
-	<em>Your details will NOT be shared with any third party.</em>
+	<em><?=htmlspecialchars(_("Your details will NOT be shared with any third party."))?></em>
 
 </div>

+ 14 - 15
views/contact.php

@@ -1,42 +1,40 @@
 <div class="container mt-3 py-4">
 	<div class="row">
 		<div class="col-lg-4">
-			<h2>Contact Info</h2>
+			<h2><?=htmlspecialchars(_("Contact Info"))?></h2>
 
-			<p>We are always happy to receive correspondence. We try to answer all emails within an hour during working hours.</p>
+			<p><?=htmlspecialchars(_("We are always happy to receive correspondence. We try to answer all emails within an hour during working hours."))?></p>
 
-			<strong><address>Check Policy Limited<br />
-			8 Market Street, Liskeard<br />
-			Cornwall, PL14 3JJ</address></strong>
+			<strong><address><?=htmlspecialchars(COMPANY_NAME)?><br /><?=nl2br(ADDRESS)?></address></strong>
 
 			<ul>
-				<li><i class="fal fa-fw fa-phone"></i> 07841 353775</li>
+				<li><i class="fal fa-fw fa-phone"></i> <?=PHONE?></li>
 				<li><i class="fal fa-fw fa-envelope"></i> <a href="mailto:admin@<?=DOMAIN?>">admin@<?=DOMAIN?></a></li>
 			</ul>
 		</div>
 		<div class="col-lg-8">
-			<h2>Contact Form</h2>
+			<h2><?=htmlspecialchars(_("Contact Form"))?></h2>
 			<form method="post" data-recaptcha-form>
 				<div class="row">
 					<div class="col-md">
 						<div class="form-group">
-							<input class="form-control" type="text" name="name" placeholder="Enter name" required />
+							<input class="form-control" type="text" name="name" placeholder="<?=htmlspecialchars(_("Enter name"))?>" required />
 						</div>
 					</div>
 					<div class="col-md">
 						<div class="form-group">
-							<input class="form-control" type="text" name="email" placeholder="Enter email address" required />
+							<input class="form-control" type="text" name="email" placeholder="<?=htmlspecialchars(_("Enter email address"))?>" required />
 						</div>
 					</div>
 					<div class="col-md">
 						<div class="form-group">
-							<input class="form-control" type="text" name="phone" placeholder="Enter contact number" required />
+							<input class="form-control" type="text" name="phone" placeholder="<?=htmlspecialchars(_("Enter contact number"))?>" required />
 						</div>
 					</div>
 				</div>
 
 				<div class="form-group">
-					<textarea class="form-control mb-3" name="message" placeholder="Enter message" rows="8" required></textarea>
+					<textarea class="form-control mb-3" name="message" placeholder="<?=htmlspecialchars(_("Enter message"))?>" rows="8" required></textarea>
 				</div>
 
 				<?php
@@ -50,9 +48,10 @@
 						?>
 						<div class="mb-3 text-muted">
 							<small>
-								This site is protected by reCAPTCHA and the Google
-								<a href="https://policies.google.com/privacy">Privacy Policy</a> and
-								<a href="https://policies.google.com/terms">Terms of Service</a> apply.
+								<?=sprintf(htmlspecialchars(_("This site is protected by reCAPTCHA and the Google %sPrivacy Policy%s and %sTerms of Service%s apply.")),
+								'<a href="https://policies.google.com/privacy">', '</a>',
+								'<a href="https://policies.google.com/terms">', '</a>'
+								)?>
 							</small>
 						</div>
 						<?php
@@ -62,7 +61,7 @@
 				}
 				?>
 
-				<button class="btn btn-primary" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>">Send Message</button>
+				<button class="btn btn-primary" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>"><?=htmlspecialchars(_("Send Message"))?></button>
 			</form>
 		</div>
 	</div>

+ 1 - 1
views/error.php

@@ -1,6 +1,6 @@
 <div class="container mt-3 py-4">
 
-	<h2>Error</h2>
+	<h2><?=htmlspecialchars(_("Error"))?></h2>
 
 	<div class="alert alert-danger">
 		<i class="fal fa-fw fa-exclamation-circle"></i>

+ 21 - 15
views/footer.php

@@ -9,40 +9,46 @@
 
 				<div class="row">
 					<div class="col-md mb-3">
-						<h5>Navigation</h5>
+						<h5><?=htmlspecialchars(_("Navigation"))?></h5>
 						<ul class="nav flex-column">
-							<li><a href="/home">Home</a></li>
+							<li><a href="/home"><?=htmlspecialchars(_("Home"))?></a></li>
 
 							<?php
 							if(!Core::$user) {
 								?>
-								<li><a href="/services">Services</a></li>
-								<li><a href="/become-a-tester">Become a tester</a></li>
-								<li><a href="/contact">Contact</a></li>
-								<li><a href="/jobs">Jobs</a></li>
+								<li><a href="/services"><?=htmlspecialchars(_("Services"))?></a></li>
+								<li><a href="/become-a-tester"><?=htmlspecialchars(_("Become a Tester"))?></a></li>
+								<li><a href="/contact"><?=htmlspecialchars(_("Contact"))?></a></li>
+								<li><a href="/jobs"><?=htmlspecialchars(_("Jobs"))?></a></li>
 								<?php
 							}
 							else {
 								?>
-								<li><a href="/contact">Contact</a></li>
-								<li><a href="/account">Account</a></li>
+								<li><a href="/contact"><?=htmlspecialchars(_("Contact"))?></a></li>
+								<li><a href="/account"><?=htmlspecialchars(_("Account"))?></a></li>
 								<?php
 							}
 							?>
 						</ul>
 					</div>
 					<div class="col-md mb-3">
-						<h5>Follow Us</h5>
+						<h5><?=htmlspecialchars(_("Follow Us"))?></h5>
 						<ul class="nav flex-column">
 							<li><i class="fab fa-fw fa-facebook"></i> <a href="https://www.facebook.com/checkpolicy" target="_blank">Facebook</a></li>
-							<li><i class="fab fa-fw fa-whatsapp"></i> <a href="https://api.whatsapp.com/send?phone=447841353775" target="_blank">WhatsApp</a></li>
+							<?php
+							if(WHATSAPP) {
+								?>
+								<li><i class="fab fa-fw fa-whatsapp"></i> <a href="https://api.whatsapp.com/send?phone=<?=WHATSAPP?>" target="_blank">WhatsApp</a></li>
+								<?php
+							}
+							?>
 						</ul>
 					</div>
 					<div class="col-md mb-3">
-						<h5>Our Location</h5>
+						<h5><?=htmlspecialchars(_("Our Location"))?></h5>
 						<ul class="nav flex-column">
-							<li><i class="fal fa-fw fa-map-marker"></i> 8 Market Street, Liskeard, Cornwall, PL14 3JJ</li>
-							<li><i class="fal fa-fw fa-phone"></i> <a href="tel:07841+353775">07841 353775</a></li>
+							<li><i class="fal fa-fw fa-map-marker"></i> <?=htmlspecialchars(str_replace("\n", ", ", ADDRESS))?></li>
+							<li><i class="fal fa-fw fa-phone"></i> <a href="tel:<?=urlencode(PHONE)?>"><?=htmlspecialchars(PHONE)?></a></li>
 							<li><i class="fal fa-fw fa-envelope"></i> <a href="mailto:admin@<?=DOMAIN?>">admin@<?=DOMAIN?></a></li>
 						</ul>
 					</div>
@@ -52,8 +58,8 @@
 				<div class="text-center">
 					&copy; <?=date("Y")?> <?=APP_NAME?><br />
 					<small>
-						<a class="mx-1" href="/terms-and-conditions">Terms &amp; Conditions</a>
-						<a class="mx-1" href="/privacy-policy">Privacy Policy</a>
+						<a class="mx-1" href="/terms-and-conditions"><?=htmlspecialchars(_("Terms & Conditions"))?></a>
+						<a class="mx-1" href="/privacy-policy"><?=htmlspecialchars(_("Privacy Policy"))?></a>
 					</small>
 				</div>
 			</div>

+ 12 - 12
views/header.php

@@ -25,7 +25,7 @@ if($print) $body_class = "print";
 
 		<meta property="og:site_name" content="<?=htmlspecialchars(APP_NAME)?>" />
 		<meta property="og:title" content="<?=htmlspecialchars($page_title)?>" />
-		<meta property="og:description" content="Age Verification Testing and Training across the UK" />
+		<meta property="og:description" content="<?=htmlspecialchars(_("Age Verification Testing and Training across the UK"))?>" />
 		<meta property="og:type" content="website" />
 		<meta property="og:image" content="<?=PROTOCOL?>://<?=DOMAIN?>/img/logo.png" />
 		<meta property="og:image:alt" content="Check Policy logo" />
@@ -71,38 +71,38 @@ if($print) $body_class = "print";
 						if(!Core::isLoggedIn()) {
 							?>
 							<li class="nav-item">
-								<a class="nav-link" href="/services">Services</a>
+								<a class="nav-link" href="/services"><?=htmlspecialchars(_("Services"))?></a>
 							</li>
 							<li class="nav-item">
-								<a class="nav-link" href="/become-a-tester">Become A Tester</a>
+								<a class="nav-link" href="/become-a-tester"><?=htmlspecialchars(_("Become a Tester"))?></a>
 							</li>
 							<?php
 						}
 						?>
 						<li class="nav-item">
-							<a class="nav-link" href="/contact">Contact</a>
+							<a class="nav-link" href="/contact"><?=htmlspecialchars(_("Contact"))?></a>
 						</li>
 						<?php
 						if(Core::isLoggedIn()) {
 							?>
 							<li class="nav-item">
-								<a class="nav-link" href="/account">Account</a>
+								<a class="nav-link" href="/account"><?=htmlspecialchars(_("Account"))?></a>
 							</li>
 							<li class="nav-item">
-								<a class="nav-link" href="/log-out">Log Out</a>
+								<a class="nav-link" href="/log-out"><?=htmlspecialchars(_("Log Out"))?></a>
 							</li>
 							<?php
 						}
 						else {
 							?>
 							<li class="nav-item">
-								<a class="nav-link" href="/jobs">Jobs</a>
+								<a class="nav-link" href="/jobs"><?=htmlspecialchars(_("Jobs"))?></a>
 							</li>
 							<li class="nav-item">
-								<a class="nav-link" href="/register">Register</a>
+								<a class="nav-link" href="/register"><?=htmlspecialchars(_("Register"))?></a>
 							</li>
 							<li class="nav-item">
-								<a class="nav-link" href="/log-in">Log In</a>
+								<a class="nav-link" href="/log-in"><?=htmlspecialchars(_("Log In"))?></a>
 							</li>
 							<?php
 						}
@@ -122,7 +122,7 @@ if($print) $body_class = "print";
 			$style = (count(Core::$breadcrumbs) > 1) ? "margin-top: -1rem;" : "";
 			?>
 			<div class="p-2 mb-3 bg-danger text-white text-center d-print-none" style="<?=$style?>">
-				<strong>PLEASE NOTE:</strong> This is a development version of the site.
+				<strong><?=htmlspecialchars(_("PLEASE NOTE:"))?></strong> <?=htmlspecialchars(_("This is a development version of the site."))?>
 			</div>
 			<?php
 		}
@@ -168,8 +168,8 @@ if($print) $body_class = "print";
 							<i class="fal fa-fw fa-info-circle"></i>
 						</div>
 						<div class="col">
-							<strong>This site uses cookies to improve functionality and personalisation.</strong><br />
-							By continuing to use the site, you consent to our use of cookies and our privacy policy.
+							<strong><?=htmlspecialchars(_("This site uses cookies to improve functionality and personalisation."))?></strong><br />
+							<?=htmlspecialchars(_("By continuing to use the site, you consent to our use of cookies and our privacy policy."))?>
 						</div>
 					</div>
 				</div>

+ 13 - 13
views/home.php

@@ -8,7 +8,7 @@
 		    <img class="d-block w-100" src="/img/blank_carousel.png" alt="Gaming Machine" style="background-image: url(/img/gaming_machine.jpg);" />
 			<div class="carousel-caption d-none d-md-block">
 				<div class="carousel-caption-inner">
-					<h5>Age Verification Testing and Training across the UK</h5>
+					<h5><?=htmlspecialchars(_("Age Verification Testing and Training across the UK"))?></h5>
 				</div>
 			</div>
 		</div>
@@ -16,18 +16,18 @@
 		    <img class="d-block w-100" src="/img/blank_carousel.png" alt="Wine Aisle" style="background-image: url(/img/wine.jpg);" />
 			<div class="carousel-caption d-none d-md-block">
 				<div class="carousel-caption-inner">
-					<h5>Do you know how old your clients are? Do you ask for proof of ID if not sure?</h5>
+					<h5><?=htmlspecialchars(_("Do you know how old your clients are? Do you ask for proof of ID if not sure?"))?></h5>
 				</div>
 			</div>
 		</div>
 	</div>
 	<a class="carousel-control-prev" href="#home-carousel" role="button" data-slide="prev">
 		<span class="carousel-control-prev-icon" aria-hidden="true"></span>
-		<span class="sr-only">Previous</span>
+		<span class="sr-only"><?=htmlspecialchars(_("Previous"))?></span>
 	</a>
 	<a class="carousel-control-next" href="#home-carousel" role="button" data-slide="next">
 		<span class="carousel-control-next-icon" aria-hidden="true"></span>
-		<span class="sr-only">Next</span>
+		<span class="sr-only"><?=htmlspecialchars(_("Next"))?></span>
 	</a>
 </div>
 
@@ -42,21 +42,21 @@
 	<div class="py-4">
 
 		<div class="text-lg-center">
-			<h2>What else can Check Policy do for you?</h2>
+			<h2><?=htmlspecialchars(_("What else can Check Policy do for you?"))?></h2>
 		</div>
 
 		<div class="row">
 			<div class="col-xl">
-				<h3>Immediate Test Results</h3>
-				<p>All our testers provide live test results or at least as live as a data connection will allow. Once the test has been completed, you will get the result emailed to you immediately with total transparency. We believe you need the results, whether good or bad, to satisfy guidelines and regulations.</p>
+				<h3><?=htmlspecialchars(_("Immediate Test Results"))?></h3>
+				<p><?=htmlspecialchars(_("All our testers provide live test results or at least as live as a data connection will allow. Once the test has been completed, you will get the result emailed to you immediately with total transparency. We believe you need the results, whether good or bad, to satisfy guidelines and regulations."))?></p>
 			</div>
 			<div class="col-xl">
-				<h3>Test Certificates Awarded</h3>
-				<p>If you pass the test, then you will be awarded a certificate of evidence to prove you and your team (if applicable) are following guidelines and regulations. You can decide whether to frame it to show clients or file it to show any future testing authority. It's up to you.</p>
+				<h3><?=htmlspecialchars(_("Test Certificates Awarded"))?></h3>
+				<p><?=htmlspecialchars(_("If you pass the test, then you will be awarded a certificate of evidence to prove you and your team (if applicable) are following guidelines and regulations. You can decide whether to frame it to show clients or file it to show any future testing authority. It's up to you."))?></p>
 			</div>
 			<div class="col-xl">
-				<h3>Ongoing Training &amp; Testing</h3>
-				<p>Should you fail the test, we would obviously like to provide you with support and ongoing training to improve your results for the next time. With our training we will highlight your weaknesses and strengths so your business is following the required regulations.</p>
+				<h3><?=htmlspecialchars(_("Ongoing Training & Testing"))?></h3>
+				<p><?=htmlspecialchars(_("Should you fail the test, we would obviously like to provide you with support and ongoing training to improve your results for the next time. With our training we will highlight your weaknesses and strengths so your business is following the required regulations."))?></p>
 			</div>
 		</div>
 	</div>
@@ -65,8 +65,8 @@
 		<div class="col-sm align-self-center mb-3 text-center">
 			<i class="fab fa-whatsapp fa-4x mb-3"></i>
 			<div class="lead">
-				Call or WhatsApp us on 07841 353775<br />
-				<small>Calls are charged at mobile call rates</small>
+				<?=sprintf(htmlspecialchars(_("Call or WhatsApp us on %s")), PHONE)?><br />
+				<small><?=htmlspecialchars(_("Calls are charged at mobile call rates"))?></small>
 			</div>
 		</div>
 	</div>

+ 8 - 8
views/jobs.php

@@ -1,19 +1,19 @@
 <div class="container mt-3 py-4">
-	<h2>We are recruiting!</h2>
+	<h2><?=htmlspecialchars(_("We are recruiting!"))?></h2>
 
-	<p>We are looking for testers nationwide!</p>
+	<p><?=htmlspecialchars(_("We are looking for testers nationwide!"))?></p>
 
-	<p>The job entails visiting Gaming Arcades with a view to perform Age Verification Checking - getting challenged for ID.</p>
+	<p><?=htmlspecialchars(_("The job entails visiting Gaming Arcades with a view to perform Age Verification Checking - getting challenged for ID."))?></p>
 
-	<p>Full training will be given by webinar, videos and telephone</p>
+	<p><?=htmlspecialchars(_("Full training will be given by webinar, videos and telephone."))?></p>
 
-	<p>We pay £10 per visit which will last a maximum of 5 minutes!</p>
+	<p><?=htmlspecialchars(_("We pay £10 per visit which will last a maximum of 5 minutes!"))?></p>
 
-	<p>Register to get your pack now!</p>
+	<p><?=htmlspecialchars(_("Register to get your pack now!"))?></p>
 
-	<p>Our new testing campaign begins in January - so be quick and register.</p>
+	<p><?=htmlspecialchars(_("Our new testing campaign begins in January - so be quick and register."))?></p>
 
-	<p><em>Please note that NONE of your details will be shared with any third party apart from your photo which may have to be provided to our clients should they have a need to confirm CCTV identity.</em></p>
+	<p><em><?=htmlspecialchars(_("Please note that NONE of your details will be shared with any third party apart from your photo which may have to be provided to our clients should they have a need to confirm CCTV identity."))?></em></p>
 
 
 </div>

+ 7 - 7
views/log_in.php

@@ -1,29 +1,29 @@
 <div class="container mt-3 py-4">
 
-	<h2>Log In</h2>
+	<h2><?=htmlspecialchars(_("Log In"))?></h2>
 
 	<form method="post">
 
 		<div class="row">
 			<div class="col-lg-8 offset-lg-2">
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label" for="email">Email Address</label>
+					<label class="col-sm-4 col-form-label" for="email"><?=htmlspecialchars(_("Email Address"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="email" name="email" placeholder="Enter email address" required />
+						<input class="form-control" type="email" name="email" placeholder="<?=htmlspecialchars(_("Enter email address"))?>" required />
 					</div>
 				</div>
 
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label" for="password">Password</label>
+					<label class="col-sm-4 col-form-label" for="password"><?=htmlspecialchars(_("Password"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="password" name="password" placeholder="Enter password" required />
+						<input class="form-control" type="password" name="password" placeholder="<?=htmlspecialchars(_("Enter password"))?>" required />
 					</div>
 				</div>
 
 				<div class="row">
 					<div class="col-sm offset-sm-4">
-						<button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>">Log In</button>
-						<a class="btn btn-secondary" href="/reset-password">Forgot Password</a>
+						<button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>"><?=htmlspecialchars(_("Log In"))?></button>
+						<a class="btn btn-secondary" href="/reset-password"><?=htmlspecialchars(_("Forgot Password"))?></a>
 					</div>
 				</div>
 

+ 7 - 7
views/modal_services_1.php

@@ -3,23 +3,23 @@
 		<div class="modal-content">
 			<form>
 				<div class="modal-header">
-					<h5 class="modal-title"><strong>Age-Related Products</strong></h5>
+					<h5 class="modal-title"><strong><?=htmlspecialchars(_("Age-Related Products"))?></strong></h5>
 					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
 						<span aria-hidden="true">&times;</span>
 					</button>
 				</div>
 				<div class="modal-body">
 
-					<p><img class="img-fluid" src="/img/cigarettes.jpg" alt="Cigarettes" /></p>
+					<p><img class="img-fluid" src="/img/cigarettes.jpg" alt="<?=htmlspecialchars(_("Cigarettes"))?>" /></p>
 
-					<p>If you are selling age-related products or services such as cigarettes, alcohol and gambling. Then it is advisable to be tested independently to ensure you are able to identify and refuse persons wishing to purchase your services. Again this sounds very easy, to ask someones age and verify it, but in reality it's quite an issue.</p>
+					<p><?=htmlspecialchars(_("If you are selling age-related products or services such as cigarettes, alcohol and gambling. Then it is advisable to be tested independently to ensure you are able to identify and refuse persons wishing to purchase your services. Again this sounds very easy, to ask someones age and verify it, but in reality it's quite an issue."))?></p>
 
-					<p>A simple check by one of Check Policy's mystery shoppers will determine whether you and your staff are adhering to guidelines when serving age-related products.</p>
+					<p><?=htmlspecialchars(_("A simple check by one of Check Policy's mystery shoppers will determine whether you and your staff are adhering to guidelines when serving age-related products."))?></p>
 
-					<p>How it works:<br />
-					One of our Shoppers will visit your site and try to purchase an age-related product or service. If they are successful and not asked any questions to verify their age you will fail. The test report will be sent to you immediately upon completing the test by our automated system; designed to show the full procedure of the test and after you can make a decision to opt for further training if needed.</p>
+					<p><?=htmlspecialchars(_("How it works:"))?><br />
+					<?=htmlspecialchars(_("One of our Shoppers will visit your site and try to purchase an age-related product or service. If they are successful and not asked any questions to verify their age you will fail. The test report will be sent to you immediately upon completing the test by our automated system; designed to show the full procedure of the test and after you can make a decision to opt for further training if needed."))?></p>
 
-					<p>Check Policy is here to help and guide you along the way.</p>
+					<p><?=htmlspecialchars(_("Check Policy is here to help and guide you along the way."))?></p>
 				</div>
 			</form>
 		</div>

+ 6 - 6
views/modal_services_2.php

@@ -3,21 +3,21 @@
 		<div class="modal-content">
 			<form>
 				<div class="modal-header">
-					<h5 class="modal-title"><strong>Age Verification Testing</strong></h5>
+					<h5 class="modal-title"><strong><?=htmlspecialchars(_("Age Verification Testing"))?></strong></h5>
 					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
 						<span aria-hidden="true">&times;</span>
 					</button>
 				</div>
 				<div class="modal-body">
 
-					<p><img class="img-fluid" src="/img/driving_licence.jpg" alt="Driving Licence" /></p>
+					<p><img class="img-fluid" src="/img/driving_licence.jpg" alt="<?=htmlspecialchars(_("Driving Licence"))?>" /></p>
 
-					<p>It sounds simple doesn't it, to verify someones age?!<br />
-					However our tests have revealed that it's quite a challenge for some people to actually ask for ID when selling age-related products or services. It is against the law to sell age-related products or services to minors so it does become quite an issue.</p>
+					<p><?=htmlspecialchars(_("It sounds simple doesn't it, to verify someones age?!"))?><br />
+					<?=htmlspecialchars(_("However our tests have revealed that it's quite a challenge for some people to actually ask for ID when selling age-related products or services. It is against the law to sell age-related products or services to minors so it does become quite an issue."))?></p>
 
-					<p>Our tests are designed to show if you or your team are asking the right questions and getting the honest answer in return.</p>
+					<p><?=htmlspecialchars(_("Our tests are designed to show if you or your team are asking the right questions and getting the honest answer in return."))?></p>
 
-					<p>Training courses are designed to help you and your team meet the demanding requirements, by law, to verify age; and how to ask is very important without offending – keep safe and get training.</p>
+					<p><?=htmlspecialchars(_("Training courses are designed to help you and your team meet the demanding requirements, by law, to verify age; and how to ask is very important without offending – keep safe and get training."))?></p>
 				</div>
 			</form>
 		</div>

+ 4 - 4
views/modal_services_3.php

@@ -3,18 +3,18 @@
 		<div class="modal-content">
 			<form>
 				<div class="modal-header">
-					<h5 class="modal-title"><strong>Bespoke Policy Checks</strong></h5>
+					<h5 class="modal-title"><strong><?=htmlspecialchars(_("Bespoke Policy Checks"))?></strong></h5>
 					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
 						<span aria-hidden="true">&times;</span>
 					</button>
 				</div>
 				<div class="modal-body">
 
-					<p><img class="img-fluid" src="/img/office.jpg" alt="Office" /></p>
+					<p><img class="img-fluid" src="/img/office.jpg" alt="<?=htmlspecialchars(_("Office"))?>" /></p>
 
-					<p>Unlike our other tests which are quite specific, this service is tailored to suit your business. We were approached by several clients to test their premises for various company policy related issues such as attire, attitude and so on.</p>
+					<p><?=htmlspecialchars(_("Unlike our other tests which are quite specific, this service is tailored to suit your business. We were approached by several clients to test their premises for various company policy related issues such as attire, attitude and so on."))?></p>
 
-					<p>First impressions count, so if your staff aren't presenting the "Face of the Company" correctly, you may lose that client and all the possible benefits with it. A simple test by Check Policy will help you train your staff accordingly and keep them sharp with company policy.</p>
+					<p><?=htmlspecialchars(_("First impressions count, so if your staff aren't presenting the \"Face of the Company\" correctly, you may lose that client and all the possible benefits with it. A simple test by Check Policy will help you train your staff accordingly and keep them sharp with company policy."))?></p>
 				</div>
 			</form>
 		</div>

+ 9 - 9
views/modal_test_claim.php

@@ -11,33 +11,33 @@ $selected_day = date("j", $unix_default);
 		<div class="modal-content">
 			<form>
 				<div class="modal-header">
-					<h5 class="modal-title"><strong>Confirm Selected Tests</strong></h5>
+					<h5 class="modal-title"><strong><?=htmlspecialchars(_("Confirm Selected Tests"))?></strong></h5>
 					<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="modal-close-button">
 						<span aria-hidden="true">&times;</span>
 					</button>
 				</div>
 				<div class="modal-body">
 
-					<p>You have selected the following tests:</p>
+					<p><?=htmlspecialchars(_("You have selected the following tests:"))?></p>
 
 					<div class="list-group limit-height-2 mb-3">
 					</div>
 
-					<p>The due date is: <strong class="text-danger"><?=date("l jS F", $unix_default)?></strong></p>
+					<p><?=htmlspecialchars(_("The due date is:"))?> <strong class="text-danger"><?=date("l jS F", $unix_default)?></strong></p>
 
-					<p>By confirming, you agree that:</p>
+					<p><?=htmlspecialchars(_("By confirming, you agree that:"))?></p>
 
 					<ul>
-						<li>You will execute these tests by the due date displayed above.</li>
-						<li>Failure to complete tests by the due date without good reason may result in the tests being unassigned from yourself and limit your ability to claim tests in the future.</li>
+						<li><?=htmlspecialchars(_("You will execute these tests by the due date displayed above."))?></li>
+						<li><?=htmlspecialchars(_("Failure to complete tests by the due date without good reason may result in the tests being unassigned from yourself and limit your ability to claim tests in the future."))?></li>
 					</ul>
 
 
 				</div>
 				<div class="modal-footer">
-					<button type="button" class="btn btn-secondary" id="claim-cancel-button" data-dismiss="modal">Cancel</button>
-					<button type="button" class="btn btn-primary" id="claim-confirm-button">Confirm</button>
-					<a class="btn btn-primary" id="claim-finish-button" style="display: none;" href="/account/tests/available">Finish</a>
+					<button type="button" class="btn btn-secondary" id="claim-cancel-button" data-dismiss="modal"><?=htmlspecialchars(_("Cancel"))?></button>
+					<button type="button" class="btn btn-primary" id="claim-confirm-button"><?=htmlspecialchars(_("Confirm"))?></button>
+					<a class="btn btn-primary" id="claim-finish-button" style="display: none;" href="/account/tests/available"><?=htmlspecialchars(_("Finish"))?></a>
 				</div>
 			</form>
 		</div>

+ 5 - 5
views/modal_test_invoice.php

@@ -4,7 +4,7 @@
 			<form method="get" action="" target="_blank">
 
 				<div class="modal-header">
-					<h5 class="modal-title"><strong>Download Invoice</strong></h5>
+					<h5 class="modal-title"><strong><?=htmlspecialchars(_("Download Invoice"))?></strong></h5>
 					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
 						<span aria-hidden="true">&times;</span>
 					</button>
@@ -12,21 +12,21 @@
 				<div class="modal-body">
 					<div class="row mb-3">
 						<div class="col-sm-4 col-form-label">
-							<label for="travel-cost">Travel Costs</label>
+							<label for="travel-cost"><?=htmlspecialchars(_("Travel Costs"))?></label>
 						</div>
 						<div class="col-sm">
 							<div class="input-group">
 								<div class="input-group-prepend">
-									<span class="input-group-text">£</span>
+									<span class="input-group-text"><?=htmlspecialchars(_("£"))?></span>
 								</div>
 								<input class="form-control" type="number" step="0.01" min="0" name="travel_cost" id="travel-cost" value="0.00" />
 							</div>
-							<small class="form-text text-muted">You may be contacted for verification purposes.</small>
+							<small class="form-text text-muted"><?=htmlspecialchars(_("You may be contacted for verification purposes."))?></small>
 						</div>
 					</div>
 					<div class="row">
 						<div class="col-sm offset-sm-4">
-							<button class="btn btn-primary" type="submit">Download Invoice</button>
+							<button class="btn btn-primary" type="submit"><?=htmlspecialchars(_("Download Invoice"))?></button>
 						</div>
 					</div>
 				</div>

+ 7 - 3
views/pagination.php

@@ -29,14 +29,18 @@ $next_url = $path . "?" . http_build_query(array_merge($nvp, ["page" => $page +
 				<li class="page-item <?=$previous_disabled?>">
 					<a class="page-link" href="<?=htmlspecialchars($previous_url)?>">
 						<span aria-hidden="true">&laquo;</span>
-						<span class="sr-only">Previous</span>
+						<span class="sr-only"><?=htmlspecialchars(_("Previous"))?></span>
+					</a>
+				</li>
+				<li class="page-item">
+					<a class="page-link" href="#" data-toggle="modal" data-target="#modal-page-jump">
+						<?=sprintf(_("Page %s of %s"), number_format($page), number_format($page_count))?>
 					</a>
 				</li>
-				<li class="page-item"><a class="page-link" href="#" data-toggle="modal" data-target="#modal-page-jump">Page <?=number_format($page)?> of <?=number_format($page_count)?></a></li>
 				<li class="page-item <?=$next_disabled?>">
 					<a class="page-link" href="<?=htmlspecialchars($next_url)?>">
 						<span aria-hidden="true">&raquo;</span>
-						<span class="sr-only">Next</span>
+						<span class="sr-only"><?=htmlspecialchars(_("Next"))?></span>
 					</a>
 				</li>
 			</ul>

+ 7 - 7
views/practice_form.php

@@ -8,11 +8,11 @@ else if($test->status == Test::STATUS_STARTED) {
 }
 else {
 	?>
-	<h2>Test Completed</h2>
+	<h2><?=htmlspecialchars(_("Test Completed"))?></h2>
 
-	<p class="text-lead">Thanks for taking a practice test. You can find your submitted results below.</p>
+	<p class="text-lead"><?=htmlspecialchars(_("Thanks for taking a practice test. You can find your submitted results below."))?></p>
 
-	<p><a class="btn btn-lg btn-primary" href="/account/practice/<?=$template->id?>?reset=1">Start Over</a></p>
+	<p><a class="btn btn-lg btn-primary" href="/account/practice/<?=$template->id?>?reset=1"><?=htmlspecialchars(_("Start Over"))?></a></p>
 	<?php
 
 	$values = $test->getValues();
@@ -38,7 +38,7 @@ else {
 					<?=htmlspecialchars($field->label)?>
 				</div>
 				<div class="col-sm">
-					<a class="btn btn-primary" href="/account/practice/<?=$template->id?>/files/<?=htmlspecialchars($name)?>" target="_blank">View Image</a>
+					<a class="btn btn-primary" href="/account/practice/<?=$template->id?>/files/<?=htmlspecialchars($name)?>" target="_blank"><?=htmlspecialchars(_("View Image"))?></a>
 				</div>
 			</div>
 			<?php
@@ -53,17 +53,17 @@ else {
 
 	<hr />
 
-	<h3>Test Date/Time</h3>
+	<h3><?=htmlspecialchars(_("Test Date/Time"))?></h3>
 
 	<div class="row mb-1">
-		<label class="col-sm-4 col-form-label">Test Start</label>
+		<label class="col-sm-4 col-form-label"><?=htmlspecialchars(_("Test Start"))?></label>
 		<div class="col-sm">
 			<?=htmlspecialchars($test->dts_start)?>
 		</div>
 	</div>
 
 	<div class="row mb-1">
-		<label class="col-sm-4 col-form-label">Test End</label>
+		<label class="col-sm-4 col-form-label"><?=htmlspecialchars(_("Test End"))?></label>
 		<div class="col-sm">
 			<?=htmlspecialchars($test->dts_end)?>
 		</div>

+ 3 - 3
views/practice_template_select.php

@@ -1,12 +1,12 @@
 <div class="container mt-3 py-4">
 
-	<h2>Select Practice Form</h2>
+	<h2><?=htmlspecialchars(_("Select Practice Form"))?></h2>
 
 	<?php
 	if(empty($templates)) {
 		?>
 		<div class="alert alert-info">
-			There are no practice forms available at the moment. Please try again later.
+			<?=htmlspecialchars(_("There are no practice forms available at the moment. Please try again later."))?>
 		</div>
 		<?php
 	}
@@ -17,7 +17,7 @@
 		foreach($templates as $template) {
 			?>
 			<a class="list-group-item list-group-item-action" href="/account/practice/<?=$template->id?>">
-				Practice Form #<?=htmlspecialchars($template->id)?>
+				<?=sprintf(htmlspecialchars(_("Practice Form #%d")), $template->id)?>
 			</a>
 			<?php
 		}

+ 47 - 37
views/register.php

@@ -4,11 +4,13 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 
 ?>
 <div class="container mt-3 py-4">
-	<h2>Register</h2>
+	<h2><?=htmlspecialchars(_("Register"))?></h2>
 
-	<p>Become a tester and earn £10 per test which should last no longer than 8 minutes!</p>
+	<p><?=htmlspecialchars(_("Become a tester and earn £10 per test which should last no longer than 8 minutes!"))?></p>
 
-	<p>If you want more information on our security policy, please call us on 07841 353775 (mobile call rate).</p>
+	<p>
+		<?=sprintf(htmlspecialchars(_("If you want more information on our security policy, please call us on %s (mobile call rate).")), PHONE)?>
+	</p>
 
 	<hr />
 
@@ -18,15 +20,15 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 			<div class="col-lg-8 offset-lg-2">
 
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label" for="title">Title</label>
+					<label class="col-sm-4 col-form-label" for="title"><?=htmlspecialchars(_("Title"))?></label>
 					<div class="col-sm">
 						<select class="form-control" name="title" id="title" required>
-							<option value="">Select title</option>
+							<option value=""><?=htmlspecialchars(_("Select title"))?></option>
 							<?php
-							foreach(User::TITLES as $title) {
-								$selected = ($user->title == $title) ? "selected" : "";
+							foreach(User::titles() as $value => $display) {
+								$selected = ($user->title == $value) ? "selected" : "";
 								?>
-								<option value="<?=htmlspecialchars($title)?>" <?=$selected?>><?=htmlspecialchars($title)?></option>
+								<option value="<?=htmlspecialchars($value)?>" <?=$selected?>><?=htmlspecialchars($display)?></option>
 								<?php
 							}
 							?>
@@ -34,27 +36,26 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="first-name">First Name</label>
+					<label class="col-sm-4 col-form-label"  for="first-name"><?=htmlspecialchars(_("First Name"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="text" name="first_name" id="first-name" placeholder="Enter first name" value="<?=htmlspecialchars($user->first_name)?>" required />
+						<input class="form-control" type="text" name="first_name" id="first-name" placeholder="<?=htmlspecialchars(_("Enter first name"))?>" value="<?=htmlspecialchars($user->first_name)?>" required />
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="last-name">Last Name</label>
+					<label class="col-sm-4 col-form-label"  for="last-name"><?=htmlspecialchars(_("Last Name"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="text" name="last_name" id="last-name" placeholder="Enter last name" value="<?=htmlspecialchars($user->last_name)?>" required />
+						<input class="form-control" type="text" name="last_name" id="last-name" placeholder="<?=htmlspecialchars(_("Enter last name"))?>" value="<?=htmlspecialchars($user->last_name)?>" required />
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="gender">Gender</label>
+					<label class="col-sm-4 col-form-label"  for="gender"><?=htmlspecialchars(_("Gender"))?></label>
 					<div class="col-sm">
 						<select class="form-control" name="gender" id="gender" required>
-							<option value="">Select gender</option>
+							<option value=""><?=htmlspecialchars(_("Select gender"))?></option>
 							<?php
-							foreach(User::GENDERS as $gender) {
-								$display = $gender;
-								$value = substr($gender, 0, 1);
-								$selected = ($user->gender == $value) ? "selected" : "";
+							foreach(User::genders() as $value => $display) {
+								$value = substr($value, 0, 1);
+								$selected = ($user->value == $value) ? "selected" : "";
 								?>
 								<option value="<?=htmlspecialchars($value)?>" <?=$selected?>><?=htmlspecialchars($display)?></option>
 								<?php
@@ -64,47 +65,53 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="email">Email Address</label>
+					<label class="col-sm-4 col-form-label"  for="email"><?=htmlspecialchars(_("Email Address"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="email" name="email" id="email" placeholder="Enter email address" value="<?=htmlspecialchars($user->email)?>" required />
+						<input class="form-control" type="email" name="email" id="email" placeholder="<?=htmlspecialchars(_("Enter email address"))?>" value="<?=htmlspecialchars($user->email)?>" required />
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="phone">Mobile Number</label>
+					<label class="col-sm-4 col-form-label"  for="phone"><?=htmlspecialchars(_("Mobile Number"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="phone" name="phone" id="phone" placeholder="Enter mobile number" value="<?=htmlspecialchars($user->phone)?>" required />
+						<input class="form-control" type="phone" name="phone" id="phone" placeholder="<?=htmlspecialchars(_("Enter mobile number"))?>" value="<?=htmlspecialchars($user->phone)?>" required />
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="password">Password</label>
+					<label class="col-sm-4 col-form-label"  for="password"><?=htmlspecialchars(_("Password"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="password" name="password" id="password" placeholder="Enter password" required />
-						<small class="text-muted form-text">At least <span data-length-requirement>6 characters</span>. Must contain at least one <span data-lowercase-requirement>lowercase</span>, <span data-uppercase-requirement>uppercase</span>, <span data-number-requirement>number</span> and <span data-special-requirement>special</span> character.</small>
+						<input class="form-control" type="password" name="password" id="password" placeholder="<?=htmlspecialchars(_("Enter password"))?>" required />
+						<small class="text-muted form-text"><?=sprintf(htmlspecialchars(_("At least %s6 characters%s. Must contain at least one %slowercase%s, %suppercase%s, %snumber%s and %sspecial%s character.")),
+							'<span data-length-requirement>', '</span>',
+							'<span data-lowercase-requirement>', '</span>',
+							'<span data-uppercase-requirement>', '</span>',
+							'<span data-number-requirement>', '</span>',
+							'<span data-special-requirement>', '</span>'
+						)?></small>
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="password-confirm">Confirm Password</label>
+					<label class="col-sm-4 col-form-label"  for="password-confirm"><?=htmlspecialchars(_("Confirm Password"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="password" name="password_confirm" id="password-confirm" placeholder="Confirm password" required />
+						<input class="form-control" type="password" name="password_confirm" id="password-confirm" placeholder="<?=htmlspecialchars(_("Confirm password"))?>" required />
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="date-of-birth">Date of Birth</label>
+					<label class="col-sm-4 col-form-label"  for="date-of-birth"><?=htmlspecialchars(_("Date of Birth"))?></label>
 					<div class="col-sm">
 						<select class="form-control w-auto d-inline-block" name="date_of_birth_day" id="date-of-birth-day">
-							<option value="">Day</option>
+							<option value=""><?=htmlspecialchars(_("Day"))?></option>
 							<?php
 							Form::renderDayOptions();
 							?>
 						</select>
 						<select class="form-control w-auto d-inline-block" name="date_of_birth_month" id="date-of-birth-month">
-							<option value="">Month</option>
+							<option value=""><?=htmlspecialchars(_("Month"))?></option>
 							<?php
 							Form::renderMonthOptions();
 							?>
 						</select>
 						<select class="form-control w-auto d-inline-block" name="date_of_birth_year" id="date-of-birth-year">
-							<option value="">Year</option>
+							<option value=""><?=htmlspecialchars(_("Year"))?></option>
 							<?php
 							Form::renderYearOptionsDescending();
 							?>
@@ -112,13 +119,13 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="postal-code">Postal Code</label>
+					<label class="col-sm-4 col-form-label"  for="postal-code"><?=htmlspecialchars(_("Postal Code"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="text" name="postal_code" id="postal-code" placeholder="Enter postal code" value="<?=htmlspecialchars($user_address->postal_code)?>" required />
+						<input class="form-control" type="text" name="postal_code" id="postal-code" placeholder="<?=htmlspecialchars(_("Enter postal code"))?>" value="<?=htmlspecialchars($user_address->postal_code)?>" required />
 					</div>
 				</div>
 				<div class="row mb-3">
-					<label class="col-sm-4 col-form-label" for="country">Country</label>
+					<label class="col-sm-4 col-form-label" for="country"><?=htmlspecialchars(_("Country"))?></label>
 					<div class="col-sm">
 						<select class="form-control" name="country" id="country" required>
 						<?=Form::renderCountryOptions($user_address->country)?>
@@ -128,13 +135,16 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 				<div class="row mb-1">
 					<div class="col-sm offset-sm-4">
 						<label>
-							<input type="checkbox" value="1" name="terms_accepted" /> I agree to and have read the <a href="/terms-and-conditions" target="_blank">Terms and Conditions</a> and <a href="/privacy-policy" target="_blank">Privacy Policy</a>
+							<input type="checkbox" value="1" name="terms_accepted" /> <?=sprintf(htmlspecialchars(_("I agree to and have read the %sTerms and Conditions%s and %sPrivacy Policy%s")),
+								'<a href="/terms-and-conditions" target="_blank">', '</a>',
+								'<a href="/privacy-policy" target="_blank">', '</a>'
+							)?>
 						</label>
 					</div>
 				</div>
 				<div class="row mb-1">
 					<div class="col-sm offset-sm-4 align-self-center">
-						<label><input type="checkbox" name="newsletter_content" id="newsletter-consent" value="1" <?=$newsletter_consent_checked?> /> Opt-in to newsletters about <?=htmlspecialchars(APP_NAME)?></label>
+						<label><input type="checkbox" name="newsletter_content" id="newsletter-consent" value="1" <?=$newsletter_consent_checked?> /> <?=sprintf(htmlspecialchars(_("Opt-in to newsletters about %s")), APP_NAME)?></label>
 					</div>
 				</div>
 				<div class="row">
@@ -147,7 +157,7 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 						}
 						?>
 
-						<button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>">Register</button>
+						<button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>"><?=htmlspecialchars(_("Register"))?></button>
 					</div>
 				</div>
 

+ 15 - 10
views/reset_password.php

@@ -1,6 +1,5 @@
 <div class="container mt-3 py-4">
-	<h2>Reset Password</h2>
-
+	<h2><?=htmlspecialchars(_("Reset Password"))?></h2>
 
 	<form method="post">
 
@@ -10,16 +9,22 @@
 			if($token) {
 				?>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="password">Password</label>
+					<label class="col-sm-4 col-form-label"  for="password"><?=htmlspecialchars(_("Password"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="password" name="password" id="password" placeholder="Enter password" required />
-						<small class="text-muted form-text">At least <span data-length-requirement>6 characters</span>. Must contain at least one <span data-lowercase-requirement>lowercase</span>, <span data-uppercase-requirement>uppercase</span>, <span data-number-requirement>number</span> and <span data-special-requirement>special</span> character.</small>
+						<input class="form-control" type="password" name="password" id="password" placeholder="<?=htmlspecialchars(_("Enter password"))?>" required />
+						<small class="text-muted form-text"><?=sprintf(htmlspecialchars(_("At least %s6 characters%s. Must contain at least one %slowercase%s, %suppercase%s, %snumber%s and %sspecial%s character.")),
+							'<span data-length-requirement>', '</span>',
+							'<span data-lowercase-requirement>', '</span>',
+							'<span data-uppercase-requirement>', '</span>',
+							'<span data-number-requirement>', '</span>',
+							'<span data-special-requirement>', '</span>'
+						)?></small>
 					</div>
 				</div>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="password-confirm">Confirm Password</label>
+					<label class="col-sm-4 col-form-label"  for="password-confirm"><?=htmlspecialchars(_("Confirm Password"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="password" name="password_confirm" id="password-confirm" placeholder="Confirm password" required />
+						<input class="form-control" type="password" name="password_confirm" id="password-confirm" placeholder="<?=htmlspecialchars(_("Confirm password"))?>" required />
 					</div>
 				</div>
 				<?php
@@ -27,9 +32,9 @@
 			else {
 				?>
 				<div class="row mb-1">
-					<label class="col-sm-4 col-form-label"  for="email">Email Address</label>
+					<label class="col-sm-4 col-form-label"  for="email"><?=htmlspecialchars(_("Email Address"))?></label>
 					<div class="col-sm">
-						<input class="form-control" type="email" name="email" id="email" placeholder="Enter email address" required />
+						<input class="form-control" type="email" name="email" id="email" placeholder="<?=htmlspecialchars(_("Enter email address"))?>" required />
 					</div>
 				</div>
 				<div class="g-recaptcha my-3" data-sitekey="<?=GOOGLE_RECAPTCHA_SITE_KEY?>"></div>
@@ -37,7 +42,7 @@
 			}
 			?>
 
-				<button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>">Submit</button>
+				<button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>"><?=htmlspecialchars(_("Submit"))?></button>
 			</div>
 		</div>
 	</form>

+ 16 - 12
views/services.php

@@ -1,17 +1,17 @@
 <div class="container mt-3 py-4">
 
-	<h2>Check Policy Services</h2>
+	<h2><?=htmlspecialchars(_("Check Policy Services"))?></h2>
 
 	<div class="row">
 		<div class="col-md-4 mb-3 text-center">
 			<a class="block-link" href="#" data-toggle="modal" data-target="#modal-services-1">
 				<div class="p-3 bg-danger text-white">
 					<strong>
-						AGE RELATED PRODUCTS
+						<?=htmlspecialchars(strtoupper(_("Age Related Products")))?>
 					</strong>
 				</div>
 				<div class="p-3 bg-dark text-white">
-					Testing your team to keep you and your clients safe.
+					<?=htmlspecialchars(_("Testing your team to keep you and your clients safe."))?>
 				</div>
 			</a>
 		</div>
@@ -19,12 +19,12 @@
 			<a class="block-link" href="#" data-toggle="modal" data-target="#modal-services-2">
 				<div class="p-3 bg-danger text-white">
 					<strong>
-						AGE VERIFICATION TESTING
+						<?=htmlspecialchars(strtoupper(_("Age Verification Testing")))?>
 					</strong>
 				</div>
 				<div class="p-3 bg-dark text-white">
-					Being prepared.<br />
-					Better protected.
+					<?=htmlspecialchars(_("Being prepared."))?><br />
+					<?=htmlspecialchars(_("Better protected."))?>
 				</div>
 			</a>
 		</div>
@@ -32,12 +32,12 @@
 			<a class="block-link" href="#" data-toggle="modal" data-target="#modal-services-3">
 				<div class="p-3 bg-danger text-white">
 					<strong>
-						BESPOKE POLICY CHECKS
+						<?=htmlspecialchars(strtoupper(_("Bespoke Policy Checks")))?>
 					</strong>
 				</div>
 				<div class="p-3 bg-dark text-white">
-					Need a specific check?<br />
-					We can cover it!
+					<?=htmlspecialchars(_("Need a specific check?"))?><br />
+					<?=htmlspecialchars(_("We can cover it!"))?>
 				</div>
 			</a>
 		</div>
@@ -45,10 +45,14 @@
 
 	<hr />
 
-	<h2>Still not sure what service you need?</h2>
+	<h2><?=htmlspecialchars(_("Still not sure what service you need?"))?></h2>
 
-	<p>Simply call us on <strong>07841 353755</strong> and we will gladly walk you through the process to begin your testing and training with Check Policy.</p>
-	<p>Alternatively, complete the form on the <a href="/contact">Contact</a> page and we will contact you.</p>
+	<p>
+		<?=sprintf(htmlspecialchars(_("Simply call us on %s and we will gladly walk you through the process to begin your testing and training with %s.")), '<strong>' . PHONE . '</strong>', APP_NAME)?>
+	</p>
+	<p>
+		<?=sprintf(htmlspecialchars(_("Alternatively, complete the form on the %sContact%s page and we will contact you.")), '<a href="/contact">', '</a>')?>
+	</p>
 
 
 </div>

+ 64 - 37
views/settings.php

@@ -1,28 +1,29 @@
 <?php
 
 $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
+if(is_null($user->locale)) $user->locale = LOCALE;
 
 ?>
 <div class="container mt-3 py-4">
-	<h2>Settings</h2>
+	<h2><?=htmlspecialchars(_("Settings"))?></h2>
 
 	<form method="post">
 		<div class="row">
 			<div class="col-lg-8 offset-lg-2">
 
 				<div class="card card-body mb-3">
-					<h3>Personal</h3>
+					<h3><?=htmlspecialchars(_("Personal"))?></h3>
 
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label" for="title">Title</label>
+						<label class="col-sm-4 col-form-label" for="title"><?=htmlspecialchars(_("Title"))?></label>
 						<div class="col-sm">
 							<select class="form-control" name="title" id="title" required>
-								<option value="">Select title</option>
+								<option value=""><?=htmlspecialchars(_("Select title"))?></option>
 								<?php
-								foreach(User::TITLES as $title) {
-									$selected = ($user->title == $title) ? "selected" : "";
+								foreach(User::titles() as $value => $display) {
+									$selected = ($user->title == $value) ? "selected" : "";
 									?>
-									<option value="<?=htmlspecialchars($title)?>" <?=$selected?>><?=htmlspecialchars($title)?></option>
+									<option value="<?=htmlspecialchars($value)?>" <?=$selected?>><?=htmlspecialchars($display)?></option>
 									<?php
 								}
 								?>
@@ -30,62 +31,88 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 						</div>
 					</div>
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label"  for="first-name">First Name</label>
+						<label class="col-sm-4 col-form-label"  for="first-name"><?=htmlspecialchars(_("First Name"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="text" name="first_name" id="first-name" placeholder="Enter first name" value="<?=htmlspecialchars($user->first_name)?>" required />
+							<input class="form-control" type="text" name="first_name" id="first-name" placeholder="<?=htmlspecialchars(_("Enter first name"))?>" value="<?=htmlspecialchars($user->first_name)?>" required />
 						</div>
 					</div>
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label"  for="last-name">Last Name</label>
+						<label class="col-sm-4 col-form-label"  for="last-name"><?=htmlspecialchars(_("Last Name"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="text" name="last_name" id="last-name" placeholder="Enter last name" value="<?=htmlspecialchars($user->last_name)?>" required />
+							<input class="form-control" type="text" name="last_name" id="last-name" placeholder="<?=htmlspecialchars(_("Enter last name"))?>" value="<?=htmlspecialchars($user->last_name)?>" required />
 						</div>
 					</div>
 				</div>
 
 				<div class="card card-body mb-3">
-					<h3>Contact</h3>
+					<h3><?=htmlspecialchars(_("Contact"))?></h3>
 
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label"  for="email">Email Address</label>
+						<label class="col-sm-4 col-form-label"  for="email"><?=htmlspecialchars(_("Email Address"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="email" name="email" id="email" placeholder="Enter email address" value="<?=htmlspecialchars($user->email)?>" required />
+							<input class="form-control" type="email" name="email" id="email" placeholder="<?=htmlspecialchars(_("Enter email address"))?>" value="<?=htmlspecialchars($user->email)?>" required />
 						</div>
 					</div>
 					<div class="row mb-1">
 						<div class="col-sm offset-sm-4 align-self-center">
-							<label><input type="checkbox" name="newsletter_content" id="newsletter-consent" value="1" <?=$newsletter_consent_checked?> /> Opt-in to newsletters about <?=htmlspecialchars(APP_NAME)?></label>
+							<label><input type="checkbox" name="newsletter_content" id="newsletter-consent" value="1" <?=$newsletter_consent_checked?> /> <?=sprintf(htmlspecialchars(_("Opt-in to newsletters about %s")), APP_NAME)?></label>
 						</div>
 					</div>
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label"  for="phone">Mobile Number</label>
+						<label class="col-sm-4 col-form-label"  for="phone"><?=htmlspecialchars(_("Mobile Number"))?></label>
+						<div class="col-sm">
+							<input class="form-control" type="phone" name="phone" id="phone" placeholder="<?=htmlspecialchars(_("Enter mobile number"))?>" value="<?=htmlspecialchars($user->phone)?>" required />
+						</div>
+					</div>
+				</div>
+
+				<div class="card card-body mb-3">
+					<h3><?=htmlspecialchars(_("Language"))?></h3>
+
+					<div class="row mb-1">
+						<label class="col-sm-4 col-form-label" for="locale"><?=htmlspecialchars(_("Language"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="phone" name="phone" id="phone" placeholder="Enter mobile number" value="<?=htmlspecialchars($user->phone)?>" required />
+							<select class="form-control" name="locale" id="locale">
+							<?php
+							foreach(Core::locales() as $value => $display) {
+								$selected = ($user->locale == $value) ? "selected" : "";
+								?>
+								<option value="<?=htmlspecialchars($value)?>" <?=$selected?>><?=htmlspecialchars($display)?></option>
+								<?php
+							}
+							?>
+							</select>
 						</div>
 					</div>
 				</div>
 
 				<div class="card card-body mb-3">
-					<h3>Security</h3>
+					<h3><?=htmlspecialchars(_("Security"))?></h3>
 
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label"  for="password">Password (if changing)</label>
+						<label class="col-sm-4 col-form-label" for="password"><?=htmlspecialchars(_("Password (if changing)"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="password" name="password" id="password" placeholder="Enter password" />
-							<small class="text-muted form-text">At least <span data-length-requirement>6 characters</span>. Must contain at least one <span data-lowercase-requirement>lowercase</span>, <span data-uppercase-requirement>uppercase</span>, <span data-number-requirement>number</span> and <span data-special-requirement>special</span> character.</small>
+							<input class="form-control" type="password" name="password" id="password" autocomplete="new-password" placeholder="<?=htmlspecialchars(_("Enter password"))?>" />
+							<small class="text-muted form-text"><?=sprintf(htmlspecialchars(_("At least %s6 characters%s. Must contain at least one %slowercase%s, %suppercase%s, %snumber%s and %sspecial%s character.")),
+								'<span data-length-requirement>', '</span>',
+								'<span data-lowercase-requirement>', '</span>',
+								'<span data-uppercase-requirement>', '</span>',
+								'<span data-number-requirement>', '</span>',
+								'<span data-special-requirement>', '</span>'
+							)?></small>
 						</div>
 					</div>
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label"  for="password-confirm">Confirm Password</label>
+						<label class="col-sm-4 col-form-label"  for="password-confirm"><?=htmlspecialchars(_("Confirm Password"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="password" name="password_confirm" id="password-confirm" placeholder="Confirm password" />
+							<input class="form-control" type="password" name="password_confirm" id="password-confirm" placeholder="<?=htmlspecialchars(_("Confirm password"))?>" />
 						</div>
 					</div>
 				</div>
 				<div class="card card-body mb-3">
-					<h3>Payment</h3>
+					<h3><?=htmlspecialchars(_("Payment"))?></h3>
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label" for="preferred-payment-method">Preferred Payment Method</label>
+						<label class="col-sm-4 col-form-label" for="preferred-payment-method"><?=htmlspecialchars(_("Preferred Payment Method"))?></label>
 						<div class="col-sm">
 							<select class="form-control" name="preferred_payment_method" id="preferred-payment-method">
 								<?php
@@ -100,27 +127,27 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 						</div>
 					</div>
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label"  for="bank-name">Bank Name</label>
+						<label class="col-sm-4 col-form-label"  for="bank-name"><?=htmlspecialchars(_("Bank Name"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="text" name="bank_name" id="bank-name" placeholder="Enter bank name" value="<?=htmlspecialchars($user->bank_name)?>" />
+							<input class="form-control" type="text" name="bank_name" id="bank-name" placeholder="<?=htmlspecialchars(_("Enter bank name"))?>" value="<?=htmlspecialchars($user->bank_name)?>" />
 						</div>
 					</div>
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label"  for="bank-sort-code">Bank Sort Code</label>
+						<label class="col-sm-4 col-form-label"  for="bank-sort-code"><?=htmlspecialchars(_("Bank Sort Code"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="text" name="bank_sort_code" id="bank-sort-code" placeholder="Enter bank sort code" value="<?=htmlspecialchars($user->bank_sort_code)?>" />
+							<input class="form-control" type="text" name="bank_sort_code" id="bank-sort-code" placeholder="<?=htmlspecialchars(_("Enter bank sort code"))?>" value="<?=htmlspecialchars($user->bank_sort_code)?>" />
 						</div>
 					</div>
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label"  for="bank-account-number">Bank Account Number</label>
+						<label class="col-sm-4 col-form-label"  for="bank-account-number"><?=htmlspecialchars(_("Bank Account Number"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="text" name="bank_account_number" id="bank-account-number" placeholder="Enter bank account number" value="<?=htmlspecialchars($user->bank_account_number)?>" />
+							<input class="form-control" type="text" name="bank_account_number" id="bank-account-number" placeholder="<?=htmlspecialchars(_("Enter bank account number"))?>" value="<?=htmlspecialchars($user->bank_account_number)?>" />
 						</div>
 					</div>
 					<div class="row mb-1">
-						<label class="col-sm-4 col-form-label" for="paypal-email">PayPal Email Address</label>
+						<label class="col-sm-4 col-form-label" for="paypal-email"><?=htmlspecialchars(_("PayPal Email Address"))?></label>
 						<div class="col-sm">
-							<input class="form-control" type="email" name="paypal_email" id="paypal-email" placeholder="Enter PayPal email address" value="<?=htmlspecialchars($user->paypal_email)?>" />
+							<input class="form-control" type="email" name="paypal_email" id="paypal-email" placeholder="<?=htmlspecialchars(_("Enter PayPal email address"))?>" value="<?=htmlspecialchars($user->paypal_email)?>" />
 						</div>
 					</div>
 				</div>
@@ -130,19 +157,19 @@ $newsletter_consent_checked = ($user->newsletter_consent) ? "checked" : "";
 						<?php
 						if(Core::$user->isTester()) {
 							?>
-							<a href="/account/deactivate">Deactivate Account...</a><br />
+							<a href="/account/deactivate"><?=htmlspecialchars(_("Deactivate Account..."))?></a><br />
 							<?php
 						}
 						if(Core::$user->isDeactivated()) {
 							?>
-							<a href="/account/reactivate">Reactivate Account</a><br />
+							<a href="/account/reactivate"><?=htmlspecialchars(_("Reactivate Account"))?></a><br />
 							<?php
 						}
 						?>
-						<a class="text-danger" href="/account/delete">Delete Account...</a><br />
+						<a class="text-danger" href="/account/delete"><?=htmlspecialchars(_("Delete Account..."))?></a><br />
 					</div>
 					<div class="col text-right">
-						<button class="btn btn-primary" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>">Save</button>
+						<button class="btn btn-primary" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>"><?=htmlspecialchars(_("Save"))?></button>
 					</div>
 				</div>
 			</div>

+ 16 - 16
views/submit_id.php

@@ -1,45 +1,45 @@
 <div class="container mt-3 py-4">
-	<h2>Submit ID</h2>
+	<h2><?=htmlspecialchars(_("Submit ID"))?></h2>
 
 	<div class="row">
 		<div class="col-md order-md-2">
-			<h3>Important Info</h3>
+			<h3><?=htmlspecialchars(_("Important Info"))?></h3>
 
 			<ul>
 				<li>
-					Acceptable forms of ID include:
+					<?=htmlspecialchars(_("Acceptable forms of ID include:"))?>
 					<ul>
-						<li>Current EU/EEA passport.</li>
-						<li>Current driver's licence.</li>
+						<li><?=htmlspecialchars(_("Current EU/EEA passport."))?></li>
+						<li><?=htmlspecialchars(_("Current driver's licence."))?></li>
 					</ul>
 				</li>
-				<li>A photo of you must be shown.</li>
-				<li>Expired documents will not be accepted.</li>
-				<li>Submitted images must be clear and not obscured in any way.</li>
-				<li>Only JPEG format accepted.</li>
+				<li><?=htmlspecialchars(_("A photo of you must be shown."))?></li>
+				<li><?=htmlspecialchars(_("Expired documents will not be accepted."))?></li>
+				<li><?=htmlspecialchars(_("Submitted images must be clear and not obscured in any way."))?></li>
+				<li><?=htmlspecialchars(_("Only JPEG format accepted."))?></li>
 			</ul>
 		</div>
 		<div class="col-md order-md-1">
 
-			<h3>Submission Form</h3>
+			<h3><?=htmlspecialchars(_("Submission Form"))?></h3>
 
 			<form method="post" enctype="multipart/form-data">
 
 				<div class="form-group">
-					<label for="id-document">ID Document</label>
+					<label for="id-document"><?=htmlspecialchars(_("ID Document"))?></label>
 					<input class="form-control-file" type="file" name="id_document" id="id-document" accept="image/*" />
-					<small class="form-text text-muted">Passport, driver's licence, etc.</small>
+					<small class="form-text text-muted"><?=htmlspecialchars(_("Passport, driver's licence, etc."))?></small>
 				</div>
 
 				<div class="form-group">
-					<label for="photo">Photo</label>
+					<label for="photo"><?=htmlspecialchars(_("Photo"))?></label>
 					<input class="form-control-file" type="file" name="photo" id="photo" accept="image/*" />
-					<small class="form-text text-muted">Photo of yourself, selfie, etc.</small>
+					<small class="form-text text-muted"><?=htmlspecialchars(_("Photo of yourself, selfie, etc."))?></small>
 				</div>
 
-				<span class="text-danger">Please note that it may take a while for photos to upload. Please do not refresh the page when it is uploading.</span><br />
+				<span class="text-danger"><?=htmlspecialchars(_("Please note that it may take a while for photos to upload. Please do not refresh the page when it is uploading."))?></span><br />
 
-				<button class="btn btn-primary mt-3" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>">Submit</button>
+				<button class="btn btn-primary mt-3" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>"><?=htmlspecialchars(_("Submit"))?></button>
 			</form>
 		</div>
 	</div>

+ 10 - 8
views/terms_decline.php

@@ -1,22 +1,24 @@
 <div class="container mt-3 py-4">
 
-	<h2>Decline Terms and Conditions</h2>
+	<h2><?=htmlspecialchars(_("Decline Terms & Conditions"))?></h2>
 
-	<p>We are sorry that you have chosen not to accept our <a href="/terms-and-conditions">Terms and Conditions</a>.</p>
+	<p>
+		<?=sprintf(htmlspecialchars(_("We are sorry that you have chosen not to accept our %sTerms and Conditions%s.")), '<a href="/terms-and-conditions">', '</a>')?>
+	</p>
 
-	<p>Please select an action below:</p>
+	<p><?=htmlspecialchars(_("Please select an action below:"))?></p>
 
 	<div class="list-group">
 		<a class="list-group-item list-group-item-action" href="/account/deactivate">
-			<strong>Deactivate Account</strong><br />
-			Mark your account as deactivated. You will not be assigned any tests. You will be able to login to your account to reactivate your account and/or accept the Terms and Conditions if you choose to do so at a later date. You will be taken to a confirmation page before your account is deactivated.
+			<strong><?=htmlspecialchars(_("Deactivate Account"))?></strong><br />
+			<?=htmlspecialchars(_("Mark your account as deactivated. You will not be assigned any tests. You will be able to login to your account to reactivate your account and/or accept the Terms and Conditions if you choose to do so at a later date. You will be taken to a confirmation page before your account is deactivated."))?>
 		</a>
 		<a class="list-group-item list-group-item-action text-danger" href="/account/delete">
-			<strong>Delete Account</strong><br />
-			Delete all personal identifiable information associated with your account. If you choose to use our services at a later date, you will be required to re-register. You will be taken to a confirmation page before your account is deleted.
+			<strong><?=htmlspecialchars(_("Delete Account"))?></strong><br />
+			<?=htmlspecialchars(_("Delete all personal identifiable information associated with your account. If you choose to use our services at a later date, you will be required to re-register. You will be taken to a confirmation page before your account is deleted."))?>
 		</a>
 		<a class="list-group-item list-group-item-action text-success" href="/account/accept-terms">
-			<strong>Accept Terms and Conditions</strong>
+			<strong><?=htmlspecialchars(_("Accept Terms and Conditions"))?></strong>
 		</a>
 	</div>
 

+ 8 - 6
views/test_form.php

@@ -16,7 +16,7 @@ else if($test->status == Test::STATUS_PENDING_VERIFICATION) {
 	?>
 	<div class="alert alert-info">
 		<i class="fal fa-fw fa-info-circle"></i>
-		Answer as clearly and accurately as you can otherwise you may be contacted after the test for clarification and/or verification purposes.
+		<?=htmlspecialchars(_("Answer as clearly and accurately as you can otherwise you may be contacted after the test for clarification and/or verification purposes."))?>
 	</div>
 
 	<form method="post" id="test-form">
@@ -33,10 +33,10 @@ else if($test->status == Test::STATUS_PENDING_VERIFICATION) {
 	?>
 		<div class="bg-light text-center p-3 mt-3">
 			<input type="hidden" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>" />
-			<button class="btn btn-block btn-primary" type="submit" id="test-submit-button">Submit Test Results</button>
+			<button class="btn btn-block btn-primary" type="submit" id="test-submit-button"><?=htmlspecialchars(_("Submit Test Results"))?></button>
 			<small class="form-text text-muted d-none" id="test-no-internet-text">
-				<span class="text-danger">No Internet Connectivity</span><br />
-				Please check your Internet connectivity and try again.
+				<span class="text-danger"><?=htmlspecialchars(_("No Internet Connectivity"))?></span><br />
+				<?=htmlspecialchars(_("Please check your Internet connectivity and try again."))?>
 			</small>
 			<small id="test-submit-status">
 
@@ -47,8 +47,10 @@ else if($test->status == Test::STATUS_PENDING_VERIFICATION) {
 }
 else {
 	?>
-	<h2>Test Completed</h2>
-	<div class="alert alert-success">This test is now completed. <a href="/account">Click here</a> to return to the Account page.</div>
+	<h2><?=htmlspecialchars(_("Test Completed"))?></h2>
+	<div class="alert alert-success">
+		<?=sprintf(htmlspecialchars(_("This test is now completed. %sClick here%s to return to the Account page.")), '<a href="/account">', '</a>')?>
+	</div>
 	<?php
 }
 ?>

+ 13 - 14
views/test_list_assigned.php

@@ -2,14 +2,14 @@
 
 	<div class="row">
 		<div class="col">
-			<h2>Tests</h2>
+			<h2><?=htmlspecialchars(_("Tests"))?></h2>
 		</div>
 		<div class="col-auto">
 		<?php
 
 		if(Core::$user->can_claim) {
 			?>
-			<a class="btn btn-primary" href="/account/tests/available">Find Tests</a>
+			<a class="btn btn-primary" href="/account/tests/available"><?=htmlspecialchars(_("Find Tests"))?></a>
 			<?php
 		}
 
@@ -17,12 +17,12 @@
 			?>
 			<div class="dropdown d-inline">
 				<a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="actions-button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
-					Actions
+					<?=htmlspecialchars(_("Actions"))?>
 				</a>
 
 				<div class="dropdown-menu" aria-labelledby="actions-button">
-					<a class="dropdown-item" href="/account/tests/kml">Export KML</a>
-					<a class="dropdown-item" href="/account/tests/postal-codes">Export Postcodes</a>
+					<a class="dropdown-item" href="/account/tests/kml"><?=htmlspecialchars(_("Export KML"))?></a>
+					<a class="dropdown-item" href="/account/tests/postal-codes"><?=htmlspecialchars(_("Export Postcodes"))?></a>
 				</div>
 			</div>
 			<?php
@@ -37,7 +37,7 @@
 	if(empty($tests)) {
 		?>
 		<div class="alert alert-info">
-			No tests have been assigned to you at this time.
+			<?=htmlspecialchars(_("No tests have been assigned to you at this time."))?>
 		</div>
 		<?php
 	}
@@ -76,7 +76,7 @@
 					<div class="col-lg-8">
 						<div class="row">
 							<div class="col-sm align-self-center">
-								<strong>Due: <?=$date_due?></strong><br />
+								<strong><?=htmlspecialchars(_("Due:"))?> <?=$date_due?></strong><br />
 								<em><?=htmlspecialchars($template->name)?></em>
 							</div>
 							<div class="col-sm text-sm-center align-self-center">
@@ -88,23 +88,23 @@
 							<?php
 							if($is_assigned) {
 								?>
-								<a class="btn btn-outline-success" href="/account/tests/<?=$test->id?>/accept">Accept</a>
-								<a class="btn btn-outline-danger" href="/account/tests/<?=$test->id?>/decline">Decline</a>
+								<a class="btn btn-outline-success" href="/account/tests/<?=$test->id?>/accept"><?=htmlspecialchars(_("Accept"))?></a>
+								<a class="btn btn-outline-danger" href="/account/tests/<?=$test->id?>/decline"><?=htmlspecialchars(_("Decline"))?></a>
 								<?php
 							}
 							else if($is_confirmed) {
 								?>
-								<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>">Begin</a>
+								<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>"><?=htmlspecialchars(_("Begin"))?></a>
 								<?php
 							}
 							else if($is_started) {
 								?>
-								<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>">Continue</a>
+								<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>"><?=htmlspecialchars(_("Continue"))?></a>
 								<?php
 							}
 							else if($is_unverified) {
 								?>
-								<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>">Amend</a>
+								<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>"><?=htmlspecialchars(_("Amend"))?></a>
 								<?php
 							}
 							?>
@@ -120,6 +120,5 @@
 		<?php
 	}
 
-
 	?>
-</div>
+</div>

+ 14 - 16
views/test_list_completed.php

@@ -1,13 +1,13 @@
 <div class="container mt-3 py-4">
 
-	<h2>Completed Tests</h2>
+	<h2><?=htmlspecialchars(_("Completed Tests"))?></h2>
 
 	<?php
 
 	if(empty($tests)) {
 		?>
 		<div class="alert alert-info">
-			You have not completed any tests yet.
+			<?=htmlspecialchars(_("You have not completed any tests yet."))?>
 		</div>
 		<?php
 	}
@@ -24,7 +24,7 @@
 			?>
 			<div class="alert alert-warning">
 				<i class="fal fa-fw fa-exclamation-triangle"></i>
-				You have multiple addresses. <a href="/account/addresses">Click here</a> to manage your addresses and set one as the invoice address to enable the invoice link.
+				<?=sprintf(htmlspecialchars(_("You have multiple addresses. %sClick here%s to manage your addresses and set one as the invoice address to enable the invoice link.")), '<a href="/account/addresses">', '</a>')?>
 			</div>
 			<?php
 		}
@@ -32,7 +32,7 @@
 			?>
 			<div class="alert alert-warning">
 				<i class="fal fa-fw fa-exclamation-triangle"></i>
-				You have no valid payment method. <a href="/account/settings">Click here</a> and verify your payment method settings are correct to enable the invoice link.
+				<?=sprintf(htmlspecialchars(_("You have no valid payment method. %sClick here%s and verify your payment method settings are correct to enable the invoice link.")), '<a href="/account/settings">', '</a>')?>
 			</div>
 			<?php
 		}
@@ -47,7 +47,7 @@
 			$location = $test->getLocation();
 			$project = $test->getProject();
 
-			$attire = $date_start = $time_start = $duration = "N/A";
+			$attire = $date_start = $time_start = $duration = _("N/A");
 			$attire_class = $date_start_class = $time_start_class = $duration_class = $fee_class = "text-muted";
 
 			date_default_timezone_set("UTC");
@@ -62,7 +62,7 @@
 			if($test->dts_start && $test->dts_end) {
 				$end_dt = new DateTime($test->dts_end);
 				$diff = $start_dt->diff($end_dt, true);
-				$duration = $diff->format("%i min. %S sec.");
+				$duration = $diff->format(_("%i min. %S sec."));
 				$duration_class = "";
 			}
 
@@ -72,16 +72,16 @@
 			$status_text = $test->getStatusText();
 
 			$status_class = "secondary";
-			$status_text = "Pending";
+			$status_text = _("Pending");
 
 			if($test->status == Test::STATUS_CANCELLED) {
 				$status_class = "danger";
-				$status_text = "Rejected";
+				$status_text = _("Rejected");
 				$fee = "N/A";
 			}
 			if($test->status == Test::STATUS_COMPLETED) {
 				$status_class = "success";
-				$status_text = "Accepted";
+				$status_text = _("Accepted");
 				$fee = $test->fee ? $test->fee : $project->default_tester_fee;
 				$fee = "£" . $fee;
 				$fee_class = "";
@@ -93,12 +93,12 @@
 						<div class="col-xl">
 							<div class="row">
 								<div class="col order-1 order-sm-1">
-									<strong>ID: <?=$test->id?></strong><br />
+									<strong><?=htmlspecialchars(_("ID:"))?> <?=$test->id?></strong><br />
 									<?php
 									if($test->status == Test::STATUS_COMPLETED && $can_invoice) {
 										?>
 										<a href="#" data-toggle="modal" data-target="#modal-test-invoice" data-invoice data-id="<?=$test->id?>">
-											<i class="fal fa-fw fa-external-link"></i> Invoice
+											<i class="fal fa-fw fa-external-link"></i> <?=htmlspecialchars(_("Invoice"))?>
 										</a>
 										<?php
 									}
@@ -124,12 +124,12 @@
 								</div>
 								<div class="col-sm <?=$fee_class?> align-self-xl-center">
 									<hr class="d-block d-sm-none" />
-									Fee: <?=$fee?>
+									<?=htmlspecialchars(_("Fee:"))?> <?=$fee?>
 								</div>
 								<div class="col-sm <?=$attire_class?> align-self-xl-center">
 									<hr class="d-block d-sm-none" />
 									<?=htmlspecialchars($attire)?><br />
-									<a href="/account/tests/<?=$test->id?>/selfie">View selfie.</a>
+									<a href="/account/tests/<?=$test->id?>/selfie"><?=htmlspecialchars(_("View selfie."))?></a>
 								</div>
 							</div>
 						</div>
@@ -146,7 +146,5 @@
 		</div>
 		<?php
 	}
-
-
 	?>
-</div>
+</div>

+ 2 - 2
views/test_verify_form.php

@@ -292,11 +292,11 @@ function render_card_list_group($details) {
 						</div>
 
 						<div class="row mb-1">
-							<div class="col-sm-4">Retest</div>
+							<div class="col-sm-4">Set As Retest</div>
 							<div class="col-sm">
 								<div class="form-check">
 									<input class="form-check-input" type="checkbox" name="retest" id="retest" value="1" <?=Form::checked($test->retest)?> />
-									<label class="form-check-label" for="retest">Retest</label>
+									<label class="form-check-label" for="retest">Set As Retest</label>
 								</div>
 							</div>
 						</div>

+ 3 - 3
views/tests.php

@@ -1,13 +1,13 @@
 <div class="container mt-3 py-4">
 
-	<h2>Tests</h2>
+	<h2><?=htmlspecialchars(_("Tests"))?></h2>
 
 	<?php
 
 	if(empty($tests)) {
 		?>
 		<div class="alert alert-info">
-			You have no assigned tests at this time.
+			<?=htmlspecialchars(_("You have no assigned tests at this time."))?>
 		</div>
 		<?php
 	}
@@ -25,7 +25,7 @@
 						<?=htmlspecialchars($location->getDisplayAddress())?>
 					</div>
 					<div class="col-auto align-self-center">
-						<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>" title="Begin" data-toggle="tooltip"><i class="fal fa-play"></i></a>
+						<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>" title="<?=htmlspecialchars(_("Begin"))?>" data-toggle="tooltip"><i class="fal fa-play"></i></a>
 					</div>
 				</div>
 			</div>

+ 13 - 10
views/tests_available.php

@@ -4,16 +4,18 @@
 
 	<div class="row">
 		<div class="col">
-			<h2>Find Tests</h2>
+			<h2><?=htmlspecialchars(_("Find Tests"))?></h2>
 		</div>
 		<div class="col-auto">
-			<a id="claim-tests-button" class="btn btn-primary disabled" href="#" data-toggle="modal" data-target="#modal-test-claim">Claim <span id="claim-number">0</span> ...</a>
+			<a id="claim-tests-button" class="btn btn-primary disabled" href="#" data-toggle="modal" data-target="#modal-test-claim">
+				<?=sprintf(htmlspecialchars(_("Claim %s0%s ...")), '<span id="claim-number">', '</span>')?>
+			</a>
 		</div>
 	</div>
 
 	<div class="card mb-3">
 		<div class="card-body">
-			On this page you can search for tests that are currently available. Please use the "Select" buttons or click on the map markers to select and deselect a test. After you have made your selections, please click the "Claim" button on the top-right of this page to assign yourself the tests.
+			<?=htmlspecialchars(_("On this page you can search for tests that are currently available. Please use the \"Select\" buttons or click on the map markers to select and deselect a test. After you have made your selections, please click the \"Claim\" button on the top-right of this page to assign yourself the tests."))?>
 		</div>
 	</div>
 
@@ -34,23 +36,25 @@
 							<div><?=htmlspecialchars($location->name)?></div>
 							<div><small><?=htmlspecialchars($location->getDisplayAddress())?></small></div>
 							<div>
-								<small><strong>Type:</strong> <?=htmlspecialchars($template->name)?></small>
+								<small><strong><?=htmlspecialchars(_("Type:"))?></strong> <?=htmlspecialchars($template->name)?></small>
 								<?php
 								if($project->isNighttime()) {
 									?>
 									<span class="badge badge-dark">
 										<i class="fas fa-fw fa-moon"></i>
-										Nighttime
+										<?=htmlspecialchars(_("Nighttime"))?>
 									</span>
 									<?php
 								}
 								?>
 							</div>
 							<div>
-								<small><strong><?=htmlspecialchars($distance_formatted)?> mi</strong> from your <?=htmlspecialchars($address->name)?> address.</small>
+								<small>
+									<?=sprintf(htmlspecialchars(_("%s%s mi%s from your %s address")), '<strong>', '</strong>', htmlspecialchars($address->name)?>
+								</small>
 							</div>
 						</div>
-						<button class="btn btn-primary align-self-start" data-test-id="<?=$test->id?>">Select</button>
+						<button class="btn btn-primary align-self-start" data-test-id="<?=$test->id?>"><?=htmlspecialchars(_("Select"))?></button>
 					</div>
 				</div>
 				<?php
@@ -63,7 +67,7 @@
 			<div class="input-group mb-3">
 				<div class="input-group-prepend">
 					<span class="input-group-text">
-						Location
+						<?=htmlspecialchars(_("Location"))?>
 					</span>
 				</div>
 				<input class="form-control" type="text" data-autocomplete="map" />
@@ -73,5 +77,4 @@
 			</div>
 		</div>
 	</div>
-
-</div>
+</div>

+ 5 - 6
views/user_edit_form.php

@@ -75,10 +75,10 @@ var userId = <?=$user->id?>;
 						<select class="form-control" name="title" id="title" required>
 							<option value="">Select title</option>
 							<?php
-							foreach(User::TITLES as $title) {
-								$selected = ($user->title == $title) ? "selected" : "";
+							foreach(User::titles() as $value => $display) {
+								$selected = ($user->title == $value) ? "selected" : "";
 								?>
-								<option value="<?=htmlspecialchars($title)?>" <?=$selected?>><?=htmlspecialchars($title)?></option>
+								<option value="<?=htmlspecialchars($value)?>" <?=$selected?>><?=htmlspecialchars($display)?></option>
 								<?php
 							}
 							?>
@@ -103,9 +103,8 @@ var userId = <?=$user->id?>;
 						<select class="form-control" name="gender" id="gender" required>
 							<option value="">Select gender</option>
 							<?php
-							foreach(User::GENDERS as $gender) {
-								$display = $gender;
-								$value = substr($gender, 0, 1);
+							foreach(User::genders() as $value => $display) {
+								$value = substr($value, 0, 1);
 								$selected = ($user->gender == $value) ? "selected" : "";
 								?>
 								<option value="<?=htmlspecialchars($value)?>" <?=$selected?>><?=htmlspecialchars($display)?></option>