From af5a2f577cbcd0eac9b65ea994a460607b943f58 Mon Sep 17 00:00:00 2001 From: Josaphat Imani Date: Wed, 21 Feb 2024 22:22:40 +0200 Subject: [PATCH] Added translation for messages in JS files --- language/az.php | 38 +++++++++++ language/de.php | 38 +++++++++++ language/en.php | 38 +++++++++++ language/es.php | 38 +++++++++++ language/et.php | 38 +++++++++++ language/fa.php | 38 +++++++++++ language/fr.php | 93 +++++++++++++++++++-------- language/hu.php | 38 +++++++++++ language/id.php | 38 +++++++++++ language/it.php | 38 +++++++++++ language/ja.php | 38 +++++++++++ language/nl.php | 38 +++++++++++ language/pt-BR.php | 38 +++++++++++ language/ro.php | 38 +++++++++++ language/ru.php | 38 +++++++++++ language/zh-Hans.php | 38 +++++++++++ modules/2fa/site.js | 4 +- modules/advanced_search/site.js | 8 +-- modules/contacts/site.js | 8 +-- modules/core/site.js | 30 +++++---- modules/desktop_notifications/site.js | 2 +- modules/nux/site.js | 2 +- modules/pgp/site.js | 16 ++--- modules/profiles/setup.php | 2 +- modules/sievefilters/site.js | 16 ++--- modules/smtp/site.js | 23 ++++--- 26 files changed, 692 insertions(+), 82 deletions(-) diff --git a/language/az.php b/language/az.php index 1be35d4143..ac9a026444 100755 --- a/language/az.php +++ b/language/az.php @@ -589,6 +589,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/de.php b/language/de.php index afbd3bf954..b0d8765bed 100755 --- a/language/de.php +++ b/language/de.php @@ -586,6 +586,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/en.php b/language/en.php index a62e8bbaed..de1cc1cfdf 100755 --- a/language/en.php +++ b/language/en.php @@ -586,6 +586,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/es.php b/language/es.php index 8c3925ccab..c4beaaa4f0 100755 --- a/language/es.php +++ b/language/es.php @@ -586,6 +586,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/et.php b/language/et.php index 247c8e7ec6..e84f456ab4 100755 --- a/language/et.php +++ b/language/et.php @@ -594,6 +594,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/fa.php b/language/fa.php index 8ce0422865..bd62ffee1b 100755 --- a/language/fa.php +++ b/language/fa.php @@ -638,6 +638,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/fr.php b/language/fr.php index 00f7283ca5..a0a313b30b 100755 --- a/language/fr.php +++ b/language/fr.php @@ -493,36 +493,35 @@ 'Spanish' => 'Espagnol', 'Japanese' => 'Japonais', 'Dutch' => 'Néerlandais', - 'Connected, but failed to authenticate to the SMTP server' => false, - 'First page after login' => false, - 'Github Settings' => false, + 'Connected, but failed to authenticate to the SMTP server' => 'Connecté, mais n\'a pas réussi à s\'authentifier auprès du serveur SMTP', + 'First page after login' => 'Première page après connexion', + 'Github Settings' => 'Paramètres GitHub', 'Github-All' => false, - 'Hide folder list icons' => false, - 'Hungarian' => false, - 'Manage Folders' => false, - 'Prefer text over HTML when reading messages' => false, - 'Running in debug mode. See https://cypht.org/install.html Section 6 for more detail.' => false, - 'Show icons in message lists' => false, - 'Show message part icons when reading a message' => false, - 'Show simple message part structure when reading a message' => false, - 'Unsaved changes' => false, - 'homephone' => false, - 'pager' => false, - 'Brazilian Portuguese' => false, - 'Debug', - 'STARTTLS or unencrypted', - 'Inline Message Style' => false, - 'Inline' => false, - 'Right' => false, - 'Messages per page for IMAP folder views' => false, + 'Hide folder list icons' => 'Masquer les icônes de la liste des dossiers', + 'Hungarian' => 'Hongroise', + 'Manage Folders' => 'Gérer les dossiers', + 'Prefer text over HTML when reading messages' => 'Préférez le texte au HTML lors de la lecture des messages', + 'Running in debug mode. See https://cypht.org/install.html Section 6 for more detail.' => 'Exécuté en mode débogage. Voir https://cypht.org/install.html Section 6 pour plus de détails.', + 'Show icons in message lists' => 'Afficher les icônes dans les listes de messages', + 'Show message part icons when reading a message' => 'Afficher les icônes des parties du message lors de la lecture d\'un message', + 'Show simple message part structure when reading a message' => 'Afficher la structure simple des parties du message lors de la lecture d\'un message', + 'Unsaved changes' => 'Modifications non enregistrées', + 'homephone' => 'téléphone fixe', + 'pager' => 'téléavertisseur', + 'Brazilian Portuguese' => 'Portugais brésilien', + 'Debug' => 'Déboguer', + 'STARTTLS or unencrypted' => 'STARTTLS ou non crypté', + 'Inline Message Style' => 'Style de message en ligne', + 'Inline' => 'En ligne', + 'Right' => 'Droite', + 'Messages per page for IMAP folder views' => 'Messages par page pour les vues de dossiers IMAP', 'Arrival Date' => 'Date d\'arrivée', - 'Add a feed' => false, - 'Apply' => false, - 'Azerbaijani' => false, - 'CardDav Addressbooks' => false, - 'Company' => false, - 'Debug' => false, - 'Home Address' => false, + 'Add a feed' => 'Ajouter un flux', + 'Apply' => 'Appliquer', + 'Azerbaijani' => 'Azerbaïdjanaise', + 'CardDav Addressbooks' => 'Carnets d\'adresses CardDav', + 'Company' => 'Entreprise', + 'Home Address' => 'Adresse du domicile', 'If set, a copy of outbound mail sent with a profile tied to this IMAP account, will be saved in this folder' => false, 'If set, deleted messages for this account will be moved to this folder' => false, 'LDAP Addressbooks' => false, @@ -586,6 +585,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/hu.php b/language/hu.php index e3406598bc..6a77906ccd 100755 --- a/language/hu.php +++ b/language/hu.php @@ -586,6 +586,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/id.php b/language/id.php index 088ab5d85b..e0da7aaa57 100755 --- a/language/id.php +++ b/language/id.php @@ -593,6 +593,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/it.php b/language/it.php index f4fa424ee5..d905cbe34b 100755 --- a/language/it.php +++ b/language/it.php @@ -586,6 +586,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/ja.php b/language/ja.php index a1d3be83fb..7c31eeda14 100755 --- a/language/ja.php +++ b/language/ja.php @@ -586,6 +586,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/nl.php b/language/nl.php index 0d9b70fbd1..c3828183e7 100755 --- a/language/nl.php +++ b/language/nl.php @@ -586,6 +586,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/pt-BR.php b/language/pt-BR.php index bab7d2844d..4975eea3d5 100755 --- a/language/pt-BR.php +++ b/language/pt-BR.php @@ -585,6 +585,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/ro.php b/language/ro.php index 7baa011f61..ba6a5df9a4 100755 --- a/language/ro.php +++ b/language/ro.php @@ -585,6 +585,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/ru.php b/language/ru.php index 7dc9f3f54b..0653e0f8c9 100755 --- a/language/ru.php +++ b/language/ru.php @@ -587,6 +587,44 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); ?> diff --git a/language/zh-Hans.php b/language/zh-Hans.php index 149ed6f917..b95f0641cf 100644 --- a/language/zh-Hans.php +++ b/language/zh-Hans.php @@ -584,4 +584,42 @@ 'Collected Recipients' => false, 'Personal Addresses' => false, 'Contact Group' => false, + 'You need to verify your 2 factor authentication code before processing' => false, + 'You need to enter the verification code' => false, + 'You must enter at least one search term' => false, + 'You must select at least one source' => false, + 'You must have at least one target' => false, + 'You must enter at least one time range' => false, + "This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!" => false, + 'Server Error' => false, + 'Close' => false, + 'Unread in Everything' => false, + 'Unread in Email' => false, + 'Unread in Feeds' => false, + 'Restore current value' => false, + 'Restore default value' => false, + 'New Message' => false, + 'Your All-inkl Login' => false, + 'Could not unlock key with supplied passphrase' => false, + 'Could not access private key' => false, + 'Unable to import private key' => false, + 'Private key removed' => false, + 'Encrypting and signing message...' => false, + 'Signing message...' => false, + 'Decrypting message...' => false, + 'Encrypting message...' => false, + 'Do you want to unblock sender?' => false, + 'You must provide at least one action' => false, + 'You must provide at least one condition' => false, + 'Filter name is required' => false, + 'You must provide a name for your script' => false, + 'Empty script' => false, + 'Please create a profile for saving sent messages option' => false, + 'Attachment storage unavailable, please contact your site administrator' => false, + 'Your subject is empty!' => false, + 'Your body is empty!' => false, + 'Your subject and body are empty!' => false, + 'Send anyway' => false, + 'Send anyway and don\'t warn in the future' => false, + 'Are you sure you want to send this message?' => false, ); diff --git a/modules/2fa/site.js b/modules/2fa/site.js index ec8b68ec70..3f7cd2a6f9 100644 --- a/modules/2fa/site.js +++ b/modules/2fa/site.js @@ -79,7 +79,7 @@ $(function () { if (checked && !verified) { $(this).prop("checked", false); - tFaToast("ERRYou need to verify your 2 factor authentication code before processing"); + tFaToast(err_msg('You need to verify your 2 factor authentication code before processing')); return; } }); @@ -138,7 +138,7 @@ $(function () { var code = getInputCode(); if (!code) { - tFaToast("ERRYou need to enter the verification code"); + tFaToast(err_msg("You need to enter the verification code")); var tm = setTimeout(function () { Hm_Notices.hide(true); clearTimeout(tm); diff --git a/modules/advanced_search/site.js b/modules/advanced_search/site.js index eb467682b5..ff81c390bd 100644 --- a/modules/advanced_search/site.js +++ b/modules/advanced_search/site.js @@ -291,22 +291,22 @@ var process_advanced_search = function() { Hm_Notices.hide(true); var terms = get_adv_terms(); if (terms.length == 0) { - Hm_Notices.show(['ERRYou must enter at least one search term']); + Hm_Notices.show([err_msg('You must enter at least one search term')]); return; } var sources = get_adv_sources(); if (sources.length == 0) { - Hm_Notices.show(['ERRYou must select at least one source']); + Hm_Notices.show([err_msg('You must select at least one source')]); return; } var targets = get_adv_targets(); if (targets.length == 0) { - Hm_Notices.show(['ERRYou must have at least one target']); + Hm_Notices.show([err_msg('You must have at least one target')]); return; } var times = get_adv_times(); if (times.length == 0) { - Hm_Notices.show(['ERRYou must enter at least one time range']); + Hm_Notices.show([err_msg('You must enter at least one time range')]); return; } var other = get_adv_other(); diff --git a/modules/contacts/site.js b/modules/contacts/site.js index b9a12b7976..563508b140 100644 --- a/modules/contacts/site.js +++ b/modules/contacts/site.js @@ -49,9 +49,9 @@ var add_contact_from_popup = function(event) { var name = contact.replace(emailRegex, ""); var saveContactContent = `
- - - + + +
Name :${name}
Email :${email}
Source :Local
${hm_trans('Name')} :${name}
${hm_trans('Email')} :${email}
${hm_trans('Source')} :Local
` Hm_Ajax.request( @@ -262,7 +262,7 @@ if (hm_page_name() == 'contacts') { const allowed_characters = ['+','-','(',')']; for (let chain_counter = 0; chain_counter < contact_phone.length; chain_counter++) { if(!(regex_number.test(contact_phone[chain_counter])) && !(allowed_characters.indexOf(contact_phone[chain_counter]) > -1)){ - Hm_Notices.show(["This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!"]); + Hm_Notices.show([hm_trans("This phone number appears to contain invalid character (s).\nIf you are sure ignore this warning and continue!")]); $(this).off(); } } diff --git a/modules/core/site.js b/modules/core/site.js index 9baa14348f..33be932ed5 100644 --- a/modules/core/site.js +++ b/modules/core/site.js @@ -268,7 +268,7 @@ var Hm_Ajax_Request = function() { return { fail: function(xhr, not_callable) { if (not_callable === true || (xhr.status && xhr.status == 500)) { - Hm_Notices.show(['ERRServer Error']); + Hm_Notices.show([err_msg('Server Error')]); } else { $('.offline').show(); @@ -333,7 +333,7 @@ function Hm_Modal(options) { @@ -873,23 +873,23 @@ function Message_List() { var tbody = Hm_Utils.tbody(); if (hm_list_path() == 'unread') { count = rows.length; - document.title = count+' Unread'; + document.title = count+' '+hm_trans('Unread'); } else if (hm_list_path() == 'flagged') { count = rows.length; - document.title = count+' Flagged'; + document.title = count+' '+hm_trans('Flagged'); } else if (hm_list_path() == 'combined_inbox') { count = $('tr .unseen', tbody).length; - document.title = count+' Unread in Everything'; + document.title = count+' '+hm_trans('Unread in Everything'); } else if (hm_list_path() == 'email') { count = $('tr .unseen', tbody).length; - document.title = count+' Unread in Email'; + document.title = count+' '+hm_trans('Unread in Email'); } else if (hm_list_path() == 'feeds') { count = $('tr .unseen', tbody).length; - document.title = count+' Unread in Feeds'; + document.title = count+' '+hm_trans('Unread in Feeds'); } }; @@ -1758,14 +1758,14 @@ var reset_default_value_checkbox = function() { let checkbox = this.parentElement.parentElement.firstChild; if (checkbox.disabled == false) { this.style.transform = "scaleX(1)"; - this.parentElement.setAttribute("restore_aria_label","Restore current value"); + this.parentElement.setAttribute("restore_aria_label",hm_trans("Restore current value")); checkbox.setAttribute("current_value", checkbox.checked); checkbox.checked = !checkbox.checked; checkbox.disabled = true; } else { this.style.transform = "scaleX(-1)"; - this.parentElement.setAttribute("restore_aria_label","Restore default value") + this.parentElement.setAttribute("restore_aria_label",hm_trans("Restore default value")) checkbox.checked = checkbox.getAttribute("current_value") == "true" ? true : false; checkbox.disabled = false; } @@ -1780,7 +1780,7 @@ var reset_default_value_select = function() { if (this.style.transform == "scaleX(1)") { this.style.transform = "scaleX(-1)"; - this.parentElement.setAttribute("restore_aria_label","Restore default value") + this.parentElement.setAttribute("restore_aria_label",hm_trans("Restore default value")) field.selectedIndex = field.getAttribute("current_value"); field.style.backgroundColor = "#fff"; field.style.pointerEvents = "auto"; @@ -1788,7 +1788,7 @@ var reset_default_value_select = function() { } else { this.style.transform = "scaleX(1)"; - this.parentElement.setAttribute("restore_aria_label","Restore current value"); + this.parentElement.setAttribute("restore_aria_label",hm_trans("Restore current value")); field.setAttribute("current_value", field.selectedIndex); if (field.getAttribute("name") == "language") { for(let compter = 0; field.length > compter; compter ++){ @@ -1812,7 +1812,7 @@ var reset_default_value_input = function() { if (this.style.transform == "scaleX(1)") { this.style.transform = "scaleX(-1)"; - this.parentElement.setAttribute("restore_aria_label","Restore default value") + this.parentElement.setAttribute("restore_aria_label",hm_trans("Restore default value")) field.value = field.getAttribute("current_value"); field.style.backgroundColor = "#fff"; field.style.pointerEvents = "auto"; @@ -1820,7 +1820,7 @@ var reset_default_value_input = function() { } else { this.style.transform = "scaleX(1)"; - this.parentElement.setAttribute("restore_aria_label","Restore current value"); + this.parentElement.setAttribute("restore_aria_label",hm_trans("Restore current value")); field.setAttribute("current_value", field.value); field.value = 20; if(defaultValue) { @@ -1839,6 +1839,10 @@ var decrease_servers = function(section) { element.innerHTML = parts.join(' '); }; +var err_msg = function(msg) { + return "ERR"+hm_trans(msg); +}; + /* create a default message list object */ var Hm_Message_List = new Message_List(); diff --git a/modules/desktop_notifications/site.js b/modules/desktop_notifications/site.js index c5b9adeae1..ecddcd4ab4 100644 --- a/modules/desktop_notifications/site.js +++ b/modules/desktop_notifications/site.js @@ -25,7 +25,7 @@ $(function() { if (!content) { return; } - Push.create("New Message", { + Push.create(hm_trans("New Message"), { body: content, timeout: 10000, icon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAIBJREFUWIXtlkEOgCAMBEdfpj/Hl+FB8GBiWoqEg7sJt7YzTXoAlL9nAfJMgXUmXAJVYAeOCeyjsO9sQOI6ypEvFdZrRomY4FEiJtgqiIp45zY3fAWu9d0Devu6N4mCTYHw9TrBboFWES+4WcASaQWHBZ4iUXAGsv4DEpCABBTlBOkR5VdJRFCfAAAAAElFTkSuQmCC', diff --git a/modules/nux/site.js b/modules/nux/site.js index fbe06799e1..f8441d8f2f 100644 --- a/modules/nux/site.js +++ b/modules/nux/site.js @@ -127,7 +127,7 @@ $(function() { $('.nux_next_button').on("click", nux_service_select); $('#service_select').on("change", function() { if ($(this).val() == 'all-inkl') { - add_extra_fields(this, 'all_inkl_login', 'Login', 'Your All-inkl Login'); + add_extra_fields(this, 'all_inkl_login', 'Login', hm_trans('Your All-inkl Login')); } else { $('.nux_extra_fields').remove(); } diff --git a/modules/pgp/site.js b/modules/pgp/site.js index 031e571c76..5eb03a9049 100644 --- a/modules/pgp/site.js +++ b/modules/pgp/site.js @@ -31,7 +31,7 @@ var Hm_Pgp = { var decrypted = await key.decrypt(pass); } catch (e) { - Hm_Pgp.error_msg = 'Could not unlock key with supplied passphrase'; + Hm_Pgp.error_msg = hm_trans('Could not unlock key with supplied passphrase'); Hm_Pgp.show_result(); return; } @@ -69,7 +69,7 @@ var Hm_Pgp = { var decrypted = await key.decrypt(pass); } catch (e) { - Hm_Pgp.error_msg = 'Could not unlock key with supplied passphrase'; + Hm_Pgp.error_msg = hm_trans('Could not unlock key with supplied passphrase'); Hm_Pgp.show_result(); return; } @@ -87,7 +87,7 @@ var Hm_Pgp = { decrypt_text: async function(pass) { var index = $('.pgp_private_keys').val(); if (!index) { - Hm_Pgp.error_msg = 'Could not access private key'; + Hm_Pgp.error_msg = hm_trans('Could not access private key'); Hm_Pgp.show_result(); return; } @@ -98,7 +98,7 @@ var Hm_Pgp = { var decrypted = await key.decrypt(pass); } catch (e) { - Hm_Pgp.error_msg = 'Could not unlock key with supplied passphrase'; + Hm_Pgp.error_msg = hm_trans('Could not unlock key with supplied passphrase'); Hm_Pgp.show_result(); return; } @@ -209,7 +209,7 @@ var Hm_Pgp = { update_private_keys: function(key) { if (!Hm_Pgp.validate_private_key(key)) { - $('.sys_messages').html('Unable to import private key'); + $('.sys_messages').html(''+hm_trans('Unable to import private key')+'')); Hm_Utils.show_sys_messages(); return; } @@ -244,7 +244,7 @@ var Hm_Pgp = { read_private_key: function(evt) { if (!evt.target.files.length) { - $('.sys_messages').html('Unable to import private key'); + $('.sys_messages').html(''+hm_trans('Unable to import private key')+''); Hm_Utils.show_sys_messages(); return; } @@ -281,7 +281,7 @@ var Hm_Pgp = { } } Hm_Utils.save_to_local_storage('pgp_keys', JSON.stringify(newkeys)); - $('.sys_messages').html('Private key removed'); + $('.sys_messages').html(hm_trans('Private key removed')); Hm_Utils.show_sys_messages(); Hm_Pgp.list_private_keys(); } @@ -307,7 +307,7 @@ var Hm_Pgp = { else { msg = 'Encrypting message...'; } - $('.sys_messages').html(msg); + $('.sys_messages').html(hm_trans(msg)); $('.sys_messages').show(); } } diff --git a/modules/profiles/setup.php b/modules/profiles/setup.php index bb60a06e10..fb5ea5d4bb 100644 --- a/modules/profiles/setup.php +++ b/modules/profiles/setup.php @@ -28,7 +28,7 @@ ), 'allowed_post' => array( 'profile_name' => FILTER_DEFAULT, - 'profile_id' => FILTER_VALIDATE_INT, + 'profile_id' => FILTER_DEFAULT, 'profile_replyto' => FILTER_DEFAULT, 'profile_smtp' => FILTER_DEFAULT, 'profile_imap' => FILTER_DEFAULT, diff --git a/modules/sievefilters/site.js b/modules/sievefilters/site.js index 44215681f8..691879b3eb 100644 --- a/modules/sievefilters/site.js +++ b/modules/sievefilters/site.js @@ -171,7 +171,7 @@ $(function () { $(document).on('change', '#block_action', function(e) { if ($(this).val() == 'reject_with_message') { - $('
').insertAfter($(this)); + $('
').insertAfter($(this)); } else { $('#reject_message').remove(); } @@ -184,7 +184,7 @@ $(function () { .find('.select_default_reject_message') .remove(); } else { - $('').insertAfter($(this)); + $('').insertAfter($(this)); } }); $(document).on('click', '.submit_default_behavior', function(e) { @@ -213,7 +213,7 @@ $(function () { $(document).on('click', '.unblock_button', function(e) { e.preventDefault(); - if (!confirm('Do you want to unblock sender?')) { + if (!confirm(hm_trans('Do you want to unblock sender?'))) { return; } let sender = $(this).parent().parent().children().html(); @@ -394,7 +394,7 @@ $(function () { let idx = 0; if (conditions.length === 0) { - $('.sys_messages').html('You must provide at least one condition'); + $('.sys_messages').html(''+hm_trans('You must provide at least one condition')+''); Hm_Utils.show_sys_messages(); return false; } @@ -435,7 +435,7 @@ $(function () { }).get(); if (actions_type.length === 0) { - $('.sys_messages').html('You must provide at least one action'); + $('.sys_messages').html(''+hm_trans('You must provide at least one action')+''); Hm_Utils.show_sys_messages(); return false; } @@ -463,7 +463,7 @@ $(function () { }); if ($('.modal_sieve_filter_name').val() == "") { - $('.sys_messages').html('Filter name is required'); + $('.sys_messages').html(''+hm_trans('Filter name is required')+''); Hm_Utils.show_sys_messages(); return false; } @@ -501,12 +501,12 @@ $(function () { function save_script(imap_account) { if ($('.modal_sieve_script_name').val() === "") { - $('.sys_messages').html('You must provide a name for your script'); + $('.sys_messages').html(''+hm_trans('You must provide a name for your script')+''); Hm_Utils.show_sys_messages(); return false; } if ($('.modal_sieve_script_textarea').val() === "") { - $('.sys_messages').html('Empty script'); + $('.sys_messages').html(''+hm_trans('Empty script')+''); Hm_Utils.show_sys_messages(); return false; } diff --git a/modules/smtp/site.js b/modules/smtp/site.js index ad30c33bc5..a90e81404f 100644 --- a/modules/smtp/site.js +++ b/modules/smtp/site.js @@ -2,7 +2,7 @@ var get_smtp_profile = function(profile_value) { if (typeof profile_value === "undefined" || profile_value == "0" || profile_value == "") { - Hm_Notices.show(['ERRPlease create a profile for saving sent messages option'], true); + Hm_Notices.show([err_msg('Please create a profile for saving sent messages option')], true); } else { Hm_Ajax.request( @@ -15,7 +15,7 @@ var get_smtp_profile = function(profile_value) { }; var check_attachment_dir_access = function() { - Hm_Notices.show(['ERRAttachment storage unavailable, please contact your site administrator']); + Hm_Notices.show([err_msg('Attachment storage unavailable, please contact your site administrator')]); }; var smtp_test_action = function(event) { @@ -363,13 +363,11 @@ var toggle_bubble_dropdown = function (element) { var contact_id = element.getAttribute('data-id'); var contact_type = element.getAttribute('data-type'); var contact_source = element.getAttribute('data-source'); - var editIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAcQAAAHEBHD+AdwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAEESURBVDiNldO/LuxRFMXxz5KJRqFSKCU6IUIp0XoGkXgBDUFHoldQ6XQ6iUqlcm8iOh5AoUGp9C83dysQMn4zmVnJKU72/q61T7KPqtLPwRL+4BAjqSpJJjHrWw9VdaZNSVaxginMYznYwRguf/TeVdVpAzyHexTWcQFXPYy9imO0Pu97uMbmAAbaR+2QvFhV/36Uzqtqt284yR5U1Zpu6b3AHQ2SrPQCNxokCTYwhFY32FdDm2bw18eynCS5wf8muNMTFvCECUzjuQlOspVktGmCJ7zgDFtV9dyUjHEM/zKoqv0OQKO67kGvBo9JRvqBkgz6+D+3LWzjKMlwHx5vOKiq13cd46KPLEvGfQAAAABJRU5ErkJggg=='; - var copyIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAdAAAAHQBMYXlgQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAADUSURBVDiN7ZI9SgNBAIW/F0JECwubQAr7gIUgVjZ2Ymed2lzB2tIjeAEPIFh4ASsbTxGIlXaCwmeRXZxdzGpi64OB4c37KyYqJZIcAjfAgOV4BU7VGWrjACfAuM23NJfAuUq/aN4BdoE5sJFkv9X6rM6q+xssvP3KvAfcAU8ds8dJLtTbkqwXHAHX6tUyd5Iz4BhoBPTq947mRk6b6H2nWgX/AX8LcK2AJENgCjzA10f6fa3OkxyoL+WCD2DzB+9WpaM2A0QlyQi4B7Y7At6BifpYkp8XA1pTMGl6mgAAAABJRU5ErkJggg=='; dropdownContent = document.createElement('div'); dropdownContent.classList.add('bubble_dropdown-content'); - let html = '