diff --git a/themes/xmpp-providers/static/js/scripts.js b/themes/xmpp-providers/static/js/scripts.js index 9243cde..1dc9470 100644 --- a/themes/xmpp-providers/static/js/scripts.js +++ b/themes/xmpp-providers/static/js/scripts.js @@ -9,7 +9,7 @@ const api_levels = [ const providers_data_form_properties_v1 = [ { name: "website", - type: "dictionary-language-website", + type: "dictionary-language-web-page", title: "Website", dataDescription: "Provider website (per language).", @@ -19,7 +19,7 @@ const providers_data_form_properties_v1 = [ type: "integer", title: "Bus Factor", dataDescription: - "Bus factor of the XMPP service (i.e., the minimum number of team members that the service could not survive losing) or `-1` for n/a.", + "Bus factor of the XMPP service (i.e., the minimum number of team members that the service could not survive losing) or -1 for n/a.", }, { name: "company", @@ -29,17 +29,17 @@ const providers_data_form_properties_v1 = [ }, { name: "passwordReset", - type: "dictionary-language-website", + type: "dictionary-language-web-page", title: "Password Reset", dataDescription: - "Password reset website (per language). Website should contain infos about automatic password reset (e.g., via email) / web page describing how to manually reset password (e.g., by contacting the provider).", + "Password reset web page (per language) used for an automatic password reset (e.g., via email) or describing how to manually reset a password (e.g., by contacting the provider).", }, { name: "maximumHttpFileUploadTotalSize", type: "integer", title: "Maximum HTTP File Upload Total Size", dataDescription: - "Maximum size of all shared files in total (number in megabytes (MB), 0 for no limit or -1 for less than 1 MB).", + "Maximum size of all shared files in total per user (number in megabytes (MB), 0 for no limit or -1 for less than 1 MB).", }, { name: "maximumHttpFileUploadStorageTime", @@ -70,22 +70,22 @@ const providers_data_form_properties_v1 = [ }, { name: "legalNotice", - type: "dictionary-language-website", + type: "dictionary-language-web-page", title: "Legal Notice", dataDescription: - "Legal notice website (per language).", + "Legal notice web page (per language).", }, { name: "serverLocations", type: "list-language-string", title: "Server Locations", - dataDescription: "List of server/backup locations.", + dataDescription: "Server/Backup locations.", }, { name: "since", type: "string-date", title: "Since", - dataDescription: "Date since the XMPP service is available or listed.", + dataDescription: "Date since the XMPP service is available.", }, ]; @@ -402,7 +402,7 @@ function _on_generate_json_file_clicked() { } for (const property of properties_list) { - if (property.type === "dictionary-language-website") { + if (property.type === "dictionary-language-web-page") { const container = document.getElementById(`container-${property.name}`); const entry_rows = container.querySelectorAll( `.row:not(#add-entry-row-${property.name})` @@ -616,7 +616,7 @@ function initialize_provider_data_form() { outer_div.append(button_row); } - if (property.type === "dictionary-language-website") { + if (property.type === "dictionary-language-web-page") { _add_language_entry(property.name); // "Add Entry" button