-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/index.js b/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/index.js
new file mode 100644
index 000000000000..20dfb06bfca2
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/index.js
@@ -0,0 +1,15 @@
+import angular from 'angular';
+
+import ngTranslateAsyncLoader from '@ovh-ux/ng-translate-async-loader';
+import uiRouter from '@uirouter/angularjs';
+import angularTranslate from 'angular-translate';
+
+import serviceDelete from './move-service-delete.component';
+
+const moduleName = 'ovhManagerTelecomPackMoveSubservicesToDelete';
+
+angular
+ .module(moduleName, [ngTranslateAsyncLoader, uiRouter, angularTranslate])
+ .component('packMoveServiceDelete', serviceDelete);
+
+export default moduleName;
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/move-service-delete.component.js b/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/move-service-delete.component.js
new file mode 100644
index 000000000000..40a0b5b4c37a
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/move-service-delete.component.js
@@ -0,0 +1,10 @@
+import controller from './move-service-delete.controller';
+import template from './move-service-delete.html';
+
+export default {
+ controller,
+ template,
+ bindings: {
+ subServicesToDelete: '<',
+ },
+};
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/move-service-delete.controller.js b/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/move-service-delete.controller.js
new file mode 100644
index 000000000000..6be68c2c83a7
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/move-service-delete.controller.js
@@ -0,0 +1,46 @@
+import chunk from 'lodash/chunk';
+import every from 'lodash/every';
+import filter from 'lodash/filter';
+import map from 'lodash/map';
+import set from 'lodash/set';
+
+export default class MoveServiceDeleteCtrl {
+ /* @ngInject */
+ constructor($scope) {
+ this.$scope = $scope;
+ }
+
+ $onInit() {
+ this.subServicesToDelete.forEach((subService) => {
+ set(
+ subService,
+ 'services',
+ map(subService.services, (service, index, originalArray) => ({
+ name: service,
+ selected: originalArray.length === subService.numberToDelete,
+ })),
+ );
+ });
+
+ this.chunkedSubServices = chunk(this.subServicesToDelete, 2);
+ }
+
+ // eslint-disable-next-line class-methods-use-this
+ selectedSubServiceToDeleteReached(subService) {
+ const count = filter(subService.services, {
+ selected: true,
+ }).length;
+
+ return count === subService.numberToDelete;
+ }
+
+ isValidSelection() {
+ return every(this.subServicesToDelete, (subService) =>
+ this.selectedSubServiceToDeleteReached(subService),
+ );
+ }
+
+ next() {
+ this.$scope.$emit('subservicesDelete', this.subServicesToDelete);
+ }
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/move-service-delete.html b/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/move-service-delete.html
new file mode 100644
index 000000000000..6c3df33b50ab
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/service-delete/move-service-delete.html
@@ -0,0 +1,52 @@
+
+
+
+
+
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/index.js b/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/index.js
new file mode 100644
index 000000000000..423cb5c7533e
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/index.js
@@ -0,0 +1,15 @@
+import angular from 'angular';
+
+import ngTranslateAsyncLoader from '@ovh-ux/ng-translate-async-loader';
+import uiRouter from '@uirouter/angularjs';
+import angularTranslate from 'angular-translate';
+
+import shipping from './move-shipping.component';
+
+const moduleName = 'ovhManagerTelecomPackMoveShipping';
+
+angular
+ .module(moduleName, [ngTranslateAsyncLoader, uiRouter, angularTranslate])
+ .component('packMoveShipping', shipping);
+
+export default moduleName;
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/move-shipping.component.js b/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/move-shipping.component.js
new file mode 100644
index 000000000000..13a060d19679
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/move-shipping.component.js
@@ -0,0 +1,10 @@
+import controller from './move-shipping.controller';
+import template from './move-shipping.html';
+
+export default {
+ controller,
+ template,
+ bindings: {
+ packName: '<',
+ },
+};
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/move-shipping.controller.js b/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/move-shipping.controller.js
new file mode 100644
index 000000000000..b37cd1760bd6
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/move-shipping.controller.js
@@ -0,0 +1,76 @@
+import get from 'lodash/get';
+import head from 'lodash/head';
+import map from 'lodash/map';
+
+export default class MoveShippingCtrl {
+ /* @ngInject */
+ constructor($scope, $translate, OvhContact, OvhApiPackXdsl, TucToast) {
+ this.$scope = $scope;
+ this.$translate = $translate;
+ this.OvhContact = OvhContact;
+ this.OvhApiPackXdsl = OvhApiPackXdsl;
+ this.TucToast = TucToast;
+ }
+
+ $onInit() {
+ this.ovhContactOptions = {
+ options: {
+ allowCreation: false,
+ allowEdition: false,
+ },
+ };
+ this.loading = {
+ init: false,
+ };
+ this.model = {
+ shippingMode: null,
+ selectedRelay: null,
+ };
+ this.shipping = {
+ address: null,
+ mode: null,
+ relay: null,
+ };
+
+ this.loading.init = true;
+
+ return this.OvhApiPackXdsl.v6()
+ .shippingAddresses({
+ packName: this.packName,
+ context: 'migration',
+ })
+ .$promise.then((shippingAddresses) => {
+ this.ovhContactOptions.customList = map(
+ shippingAddresses,
+ (shippingAddress) =>
+ new this.OvhContact({
+ address: {
+ line1: shippingAddress.address,
+ city: shippingAddress.cityName,
+ country: shippingAddress.countryCode,
+ zip: shippingAddress.zipCode,
+ },
+ firstName: shippingAddress.firstName,
+ lastName: shippingAddress.lastName,
+ id: shippingAddress.shippingId,
+ }),
+ );
+
+ this.shipping.address = head(this.ovhContactOptions.customList);
+ })
+ .catch((error) => {
+ this.TucToast.error(
+ `${this.$translate.instant(
+ 'pack_move_shipping_addresses_error',
+ )} ${get(error, 'data.message', '')}`,
+ );
+ })
+ .finally(() => {
+ this.loading.init = false;
+ });
+ }
+
+ next() {
+ this.$scope.$emit('shippingSelected', this.shipping);
+ }
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/move-shipping.html b/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/move-shipping.html
new file mode 100644
index 000000000000..82738188aa1a
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/shipping/move-shipping.html
@@ -0,0 +1,62 @@
+
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_de_DE.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_de_DE.json
index c74fd8b2ab1c..be9b474d4d5b 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_de_DE.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_de_DE.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Inactive",
"pack_move_eligibility_synchronisation_upload": "Upload :",
"pack_move_eligibility_synchronisation_mbps": "Mbit/s",
- "pack_move_eligibility_unbundling_total": "Vollständige Entbündelung",
+ "pack_move_eligibility_unbundling_full": "Vollständige Entbündelung",
"pack_move_eligibility_unbundling_createNeighbour": "Création de voisinage",
"pack_move_eligibility_unbundling_creation": "Création de ligne",
"pack_move_eligibility_unbundling_partial": "Teilweise Entbündelung",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Veuillez nous communiquer le nom de la personne susceptible d’accueillir le technicien le jour du rendez-vous.",
"pack_move_mandatory_field": "Les champs marqués d’un astérisque sont obligatoires.",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_en_GB.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_en_GB.json
index 211d4951cd8b..2f2ea2312c72 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_en_GB.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_en_GB.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Inactive",
"pack_move_eligibility_synchronisation_upload": "Upload :",
"pack_move_eligibility_synchronisation_mbps": "Mbps",
- "pack_move_eligibility_unbundling_total": "Unbundling total",
+ "pack_move_eligibility_unbundling_full": "Unbundling total",
"pack_move_eligibility_unbundling_createNeighbour": "Création de voisinage",
"pack_move_eligibility_unbundling_creation": "Création de ligne",
"pack_move_eligibility_unbundling_partial": "Partial unbundling",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Veuillez nous communiquer le nom de la personne susceptible d’accueillir le technicien le jour du rendez-vous.",
"pack_move_mandatory_field": "Les champs marqués d’un astérisque sont obligatoires.",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_es_ES.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_es_ES.json
index c4da689acf9a..7fe140789369 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_es_ES.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_es_ES.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Inactiva",
"pack_move_eligibility_synchronisation_upload": "Subida:",
"pack_move_eligibility_synchronisation_mbps": "Mbit/s",
- "pack_move_eligibility_unbundling_total": "\"Degrupación\" total",
+ "pack_move_eligibility_unbundling_full": "\"Degrupación\" total",
"pack_move_eligibility_unbundling_createNeighbour": "Creación de vecindad",
"pack_move_eligibility_unbundling_creation": "Creación de línea",
"pack_move_eligibility_unbundling_partial": "\"Degrupación\" parcial",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Por favor, indíquenos el nombre de la persona que va a recibir al técnico el día de la cita.",
"pack_move_mandatory_field": "Los campos marcados con asterisco son obligatorios.",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_es_US.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_es_US.json
index ab25f9ca2359..d681608ab412 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_es_US.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_es_US.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Inactive",
"pack_move_eligibility_synchronisation_upload": "Upload :",
"pack_move_eligibility_synchronisation_mbps": "Mbps",
- "pack_move_eligibility_unbundling_total": "Dégroupage total",
+ "pack_move_eligibility_unbundling_full": "Dégroupage total",
"pack_move_eligibility_unbundling_createNeighbour": "Création de voisinage",
"pack_move_eligibility_unbundling_creation": "Création de ligne",
"pack_move_eligibility_unbundling_partial": "Dégroupage partiel",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Veuillez nous communiquer le nom de la personne susceptible d’accueillir le technicien le jour du rendez-vous.",
"pack_move_mandatory_field": "Les champs marqués d’un astérisque sont obligatoires.",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fi_FI.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fi_FI.json
index c1b858766f05..d29f5302429c 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fi_FI.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fi_FI.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Ei aktiivinen",
"pack_move_eligibility_synchronisation_upload": "Upload:",
"pack_move_eligibility_synchronisation_mbps": "Mbps",
- "pack_move_eligibility_unbundling_total": "Täydellinen eriyttäminen",
+ "pack_move_eligibility_unbundling_full": "Täydellinen eriyttäminen",
"pack_move_eligibility_unbundling_createNeighbour": "Lähiympäristön luominen",
"pack_move_eligibility_unbundling_creation": "Linjan luominen",
"pack_move_eligibility_unbundling_partial": "Osittainen eriyttäminen",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Ilmoita henkilön nimi, joka tulee varmimmin vastaanottamaan teknikon tapaamispäivänä.",
"pack_move_mandatory_field": "Tähdellä merkityt kentät ovat pakollisia",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fr_CA.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fr_CA.json
index 45358a1933b8..4c521d2983ea 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fr_CA.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fr_CA.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Inactive",
"pack_move_eligibility_synchronisation_upload": "Upload :",
"pack_move_eligibility_synchronisation_mbps": "Mbps",
- "pack_move_eligibility_unbundling_total": "Dégroupage total",
+ "pack_move_eligibility_unbundling_full": "Dégroupage total",
"pack_move_eligibility_unbundling_createNeighbour": "Création de voisinage",
"pack_move_eligibility_unbundling_creation": "Création de ligne",
"pack_move_eligibility_unbundling_partial": "Dégroupage partiel",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Veuillez nous communiquer le nom de la personne susceptible d’accueillir le technicien le jour du rendez-vous.",
"pack_move_mandatory_field": "Les champs marqués d’un astérisque sont obligatoires.",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fr_FR.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fr_FR.json
index 45358a1933b8..71f40d457f0c 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fr_FR.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_fr_FR.json
@@ -9,7 +9,7 @@
"pack_move_line_synchronisation": "En {{type}}, la synchronisation théorique estimée est de :",
"pack_move_eligibility_title": "Eligibilité",
"pack_move_line_keep_number": "Conserver mes numéros",
- "pack_move_meeting_slots": "Rendez-vous France Telecom",
+ "pack_move_meeting_slots": "Prise de rendez-vous",
"pack_move_eligibility_phone_form_error": "Le numéro entré doit être valide et ne doit pas contenir de tirets ou d'espaces",
"pack_move_eligibility_subtitle": "Vous êtes éligible au type de dégroupage suivant :",
"pack_move_eligibility_synchronisation_estimated_rate_title": "Débit synchronisation estimé :",
@@ -21,12 +21,15 @@
"pack_move_eligibility_synchronisation_line_inactive": "Inactive",
"pack_move_eligibility_synchronisation_upload": "Upload :",
"pack_move_eligibility_synchronisation_mbps": "Mbps",
- "pack_move_eligibility_unbundling_total": "Dégroupage total",
+ "pack_move_eligibility_unbundling_full": "Dégroupage total",
"pack_move_eligibility_unbundling_createNeighbour": "Création de voisinage",
"pack_move_eligibility_unbundling_creation": "Création de ligne",
"pack_move_eligibility_unbundling_partial": "Dégroupage partiel",
"pack_move_eligibility_line_status_active": "Ligne active",
"pack_move_eligibility_line_status_inactive": "Ligne inactive",
+ "pack_move_eligibility_line_status_create": "Création d'une nouvelle ligne",
+ "pack_move_eligibility_line_unknown_status": "État de la ligne inconnu",
+ "pack_move_eligibility_line_no_offers": "Aucune éligibilité n'a été trouvée pour votre ligne.",
"pack_move_eligibility_provider": "Fournisseur: {{provider}}",
"pack_move_keepLine": "Je souhaite conserver le numéro :",
"pack_move_portLine": "Je souhaite conserver mon numéro :",
@@ -45,11 +48,13 @@
"pack_move_unbundling_total": "Dégroupage total",
"pack_move_unbundling_partial": "Dégroupage partiel",
"pack_move_line_address_door": "Porte:",
- "pack_move_line_address_floor": "Etage:",
+ "pack_move_line_address_floor": "Étage:",
"pack_move_line_address_stairs": "Palier:",
"pack_move_line_address_building": "Bâtiment:",
"pack_move_line_address_residence": "Residence:",
"pack_move_rio": "RIO",
+ "pack_move_eligibility_move_out_date": "Date de déménagement souhaitée",
+ "pack_move_eligibility_move_out_date_description": "La date doit être comprise entre aujourd'hui et 30 jours. La date par défaut sera celle dans 30 jours.",
"pack_move_eligibility_address_more": "Plus de précisions",
"pack_move_eligibility_number": "Numéro de téléphone",
"pack_move_eligibility_zipcode": "Code postal",
@@ -66,16 +71,178 @@
"pack_move_eligibility_street_error": "La rue {{partial}} est introuvable",
"pack_move_eligibility_creation_price_label": "frais de mise en service",
"pack_move_eligibility_zipcode_error": "Impossible de retrouver une ville correspondant au code postal {{zipcode}}",
- "pack_move_fake_meeting": "Aucun des rendez-vous ci-dessous ne me convient, je veux être contacté par France Telecom pour convenir d'un autre créneau horaire.",
+ "pack_move_fake_meeting": "Aucun des rendez-vous ci-dessous ne me convient, je veux être contacté pour convenir par un technicien d'un autre créneau horaire.",
"pack_move_no_fake_meeting": "Je choisis un horaire de rendez-vous.",
- "pack_move_programmed_meeting_select": "Sélectionnez un créneau pour votre rendez-vous",
+ "pack_move_programmed_meeting_select": "Veuillez choisir le créneau pour l'installation de votre ligne.",
"pack_move_programmed_meeting": "Un rendez-vous est programmé le
{{day}} entre
{{start}} et
{{end}} .",
- "pack_move_contact_name": "Nom du contact à communiquer à France Telecom",
+ "pack_move_contact_name": "Nom du contact à communiquer au technicien",
"pack_move_pending_validation": "Validation en cours",
"pack_move_error_validation": "Erreur durant la validation",
"pack_move_success_validation": "Validation confirmée",
- "pack_move_no_erdv_info": "France Telecom vous contactera dans les plus brefs délais pour convenir de la date d’intervention sur site.",
+ "pack_move_no_erdv_info": "Un technicien vous contactera dans les plus brefs délais pour convenir de la date d’intervention sur site.",
"pack_move_contact_name_info": "Veuillez nous communiquer le nom de la personne susceptible d’accueillir le technicien le jour du rendez-vous.",
"pack_move_mandatory_field": "Les champs marqués d’un astérisque sont obligatoires.",
- "pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+ "pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro",
+ "pack_move_go_back": "Retour vers le détail du pack",
+ "pack_move_eligibility_error_test": "Une erreur non gérée est survenue :",
+ "pack_move_eligibility_address": "Adresse",
+ "pack_move_eligibility_choose_line": "Choisir cette ligne",
+ "pack_move_eligibility_address_owner": "Nom du titulaire",
+ "pack_move_eligibility_address_available_lines": "Nous avons trouvé les lignes inactives suivantes : ",
+ "pack_move_eligibility_address_line_number": "Numéro",
+ "pack_move_eligibility_address_select_line": "C'est ma ligne !",
+ "pack_move_eligibility_address_actions": "Actions",
+ "pack_move_eligibility_address_create_line": "Je n'ai pas trouvé ma ligne.",
+ "pack_move_eligibility_address_display_search": "Afficher les champs de recherche",
+ "pack_move_choose_offer": "Choisir une offre",
+ "pack_move_choose_offer_error": "Une erreur est survenue durant la récupération des offres : {{ error }}.",
+ "pack_move_choose_offers_no_offers": "Aucune offre n'est disponible pour la ligne sélectionnée.",
+ "pack_move_current_offer": "Offre actuelle : {{ offerName }}",
+ "pack_move_monthly_subscription": "Abonnement mensuel",
+ "pack_move_modem_rental": "Location modem",
+ "pack_move_installation_costs": "Frais d'installation",
+ "pack_move_commitment": "Engagement",
+ "pack_move_services_to_delete": "Services à supprimer",
+ "pack_move_services_to_delete_explain": "Certains services attachés à votre offre actuelle devront être supprimés afin que le changement soit effectif.",
+ "pack_move_offer_services_to_delete_explain": "Le choix des services à supprimer vous sera proposé à l'étape suivante.",
+ "pack_move_options": "Options",
+ "pack_move_commitment_month": "{{ number }} mois",
+ "pack_move_commitment_none": "Aucun",
+ "pack_move_option_unavailable": "Indisponible",
+ "pack_move_accounts_activated": "{{ number }} comptes activés",
+ "pack_move_account_activated": "{{ number }} compte activé",
+ "pack_move_choose_offer_action": "Choisir cette offre",
+ "pack_move_no_install_fees": "Compris dans l'abonnement",
+ "pack_move_first_year_promo": "pendant 12 mois puis :",
+ "pack_move_offers_line_title": "Lignes téléphoniques",
+ "pack_move_lines_included": "{{ number }} lignes incluses",
+ "pack_move_line_included": "{{ number }} ligne incluse",
+ "pack_move_lines_activated": "{{ number }} lignes activées",
+ "pack_move_line_activated": "{{ number }} ligne activée",
+ "pack_move_add_lines_upto": "Ajoutez jusqu'à {{ max }} lignes",
+ "pack_move_line_additional_text": "/ ligne",
+ "pack_move_exchange_title": "Exchange",
+ "pack_move_exchange_accounts_included": "{{ number }} comptes mails inclus",
+ "pack_move_exchange_account_included": "{{ number }} compte mail inclus",
+ "pack_move_add_exchange_account_upto": "Ajoutez jusqu'à {{ max }} comptes mails",
+ "pack_move_account_additional_text": "/ compte",
+ "pack_move_hubic_title": "hubiC",
+ "pack_move_hubic_accounts_included": "{{ number }} comptes inclus",
+ "pack_move_hubic_account_included": "{{ number }} compte inclus",
+ "pack_move_ecofax_title": "Lignes EcoFax",
+ "pack_move_ecofax_lines_included": "{{ number }} lines EcoFax incluses",
+ "pack_move_ecofax_line_included": "{{ number }} ligne EcoFax incluse",
+ "pack_move_domain_title": "Nom de domaine",
+ "pack_move_domains_included": "{{ number }} noms de domaine inclus",
+ "pack_move_domain_included": "{{ number }} nom de domaine inclus",
+ "pack_move_add_domains_upto": "Ajoutez jusqu'à {{ max }} domaines",
+ "pack_move_domain_additional_text": "/ domaine",
+ "pack_move_gtr_title": "GTR (si éligible)",
+ "pack_move_gtr_available": "GTR OVH disponible",
+ "pack_move_gtr_add": "Ajouter la GTR OVH",
+ "pack_move_offer_choice": "Choix de l'offre",
+ "pack_move_offer_choice_error_loading": "Oups ! Nous ne parvenons pas à charger les offres disponibles pour votre pack.",
+ "pack_move_offer_choice_no_offers": "Aucun changement d'offre n'est disponible avec votre offre actuelle.",
+ "pack_move_offer_choice_offer": "Offre {{ description }}",
+ "pack_move_offer_choice_offer_monthly_price": "{{ price }} HT / mois",
+ "pack_move_offer_choice_offer_more_infos": "En savoir plus sur l'offre {{ description }}",
+ "pack_move_confirm_resume_title": "Résumé du déménagement :",
+ "pack_move_confirm_move_to": "Vous avez sélectionné l'offre \"{{ toOffer }}\".",
+ "pack_move_confirm_header_entitled": "Intitulé",
+ "pack_move_confirm_header_price": "Prix unitaire",
+ "pack_move_confirm_header_quantity": "Quantité",
+ "pack_move_confirm_header_total": "Prix HT / mois",
+ "pack_move_confirm_current_offer": "Offre {{ description }}",
+ "pack_move_confirm_resume_voip_line": "Ligne(s) téléphonique(s) supplémentaire(s)",
+ "pack_move_confirm_resume_voip_ecofax": "Ligne(s) EcoFax supplémentaire(s)",
+ "pack_move_confirm_resume_exchange_account": "Compte(s) email(s) supplémentaire(s)",
+ "pack_move_confirm_resume_dom1": "Nom(s) de domaine supplémentaire(s)",
+ "pack_move_confirm_resume_gtr_ovh": "Option GTR OVH (si éligible)",
+ "pack_move_confirm_resume_total": "Soit un total de :",
+ "pack_move_confirm_resume_domain": "Nom de domaine",
+ "pack_move_confirm_resume_exchangeAccount": "Compte Exchange",
+ "pack_move_confirm_resume_exchangeIndividual": "Compte Exchange Individuel",
+ "pack_move_confirm_resume_exchangeLite": "Compte Exchange Lite",
+ "pack_move_confirm_resume_exchangeOrganization": "Compte Exchange Organization",
+ "pack_move_confirm_resume_hostedEmail": "Compte hostedEmail",
+ "pack_move_confirm_resume_hubic": "Compte hubiC",
+ "pack_move_confirm_resume_modem": "Modem",
+ "pack_move_confirm_resume_overTheBoxHardware": "Matériel Over The Box",
+ "pack_move_confirm_resume_overTheBoxService": "Over The Box",
+ "pack_move_confirm_resume_siteBuilderFull": "SiteBuilder Full",
+ "pack_move_confirm_resume_siteBuilderStart": "SiteBuilder Start",
+ "pack_move_confirm_resume_voipAlias": "Numéro de téléphone",
+ "pack_move_confirm_resume_voipBillingAccount": "Compte de facturation téléphonie",
+ "pack_move_confirm_resume_voipEcoFax": "Ligne EcoFax",
+ "pack_move_confirm_resume_voipLine": "Ligne téléphonique",
+ "pack_move_confirm_resume_xdslAccess": "Accès Internet",
+ "pack_move_confirm_resume_emailPro": "Compte emailPro",
+ "pack_move_confirm_contracts_accept_title": "Contrats",
+ "pack_move_confirm_contracts_accept_button": "Valider le déménagement",
+ "pack_move_confirm_cancel_button": "Annuler le déménagement",
+ "pack_move_confirm_contracts_accept_explain": "En cliquant sur \"Valider le déménagement\", vous reconnaissez avoir pris connaissance et acceptez les contrats suivants :",
+ "pack_move_confirm_no_commitment": "Ce changement d’offre n’est sujet à aucun réengagement.",
+ "pack_move_confirm_commitment": "Un réengagement de {{ month }} mois débutera à la date de facturation.",
+ "pack_move_confirm_new_offer_price": "Votre nouvel abonnement mensuel s'élève à :
{{ price }} HT / mois , applicable dès livraison de votre nouvel accès. Vous en serez informé par e-mail.",
+ "pack_move_confirm_shipping": "Vous avez sélectionné le mode de livraison de votre nouveau modem par transporteur (+
{{ transportPrice }} € HT ). Votre première mensualité sera donc de
{{ price }} HT .",
+ "pack_move_confirm_service_to_delete_title": "Services qui seront supprimés",
+ "pack_move_confirm_service_to_delete_total": "Au total {{ count }} services seront supprimés durant le changement d'offre.",
+ "pack_move_confirm_service_to_delete_table_service_type": "Type de service",
+ "pack_move_confirm_service_to_delete_table_service_count": "Nombre de services à supprimer",
+ "pack_move_confirm_service_to_delete_table_service_names": "Noms des services à supprimer",
+ "pack_move_shipping_title": "Choisissez l’adresse et le mode de livraison de votre modem",
+ "pack_move_shipping_explain": "Le changement d'offre que vous avez sélectionné nécessite l'envoi d'un nouveau modem. Veuillez choisir l'adresse et le mode de livraison de votre modem.",
+ "pack_move_shipping_explain2": "La procédure de renvoi de votre modem actuel va vous être donnée par e-mail.",
+ "pack_move_shipping_confirm": "Confirmer ce mode de livraison",
+ "pack_move_shipping_addresses_error": "Oups ! Une erreur est survenue lors du chargement de vos adresses de livraisons.",
+ "pack_move_doing": "Changement d'offre en cours",
+ "pack_move_success_title": "Félicitations ! Votre changement d'offre a bien été pris en compte.",
+ "pack_move_error": "Oups ! Une erreur est survenue lors du changement d'offre.",
+ "pack_move_already_pending": "Un changement d'offre est déjà en cours.",
+ "pack_move_service_delete_explain": "Veuillez sélectionner les services qui doivent être supprimés lors du changement d'offre. Il se peut que certains services soient sélectionnés automatiquement. Ces services seront obligatoirement supprimés lors du changement d'offre.",
+ "pack_move_service_delete_count_multiple": "{{ count }} services à supprimer",
+ "pack_move_service_delete_count_single": "{{ count }} service à supprimer",
+ "pack_move_service_delete_confirm": "Confirmer la suppression de services",
+ "pack_move_shipping_contact": "Contact de livraison",
+ "pack_move_shipping_mode": "Mode de livraison",
+ "pack_move_building_details_select_engagment": "Veuillez choisir votre engagement",
+ "pack_move_building_details_engagment_month": "mois",
+ "pack_move_building_details_select_building": "Veuillez indiquer votre bâtiment",
+ "pack_move_building_details_select_a_building": "Sélectionner un bâtiment",
+ "pack_move_building_details_select_stair": "Veuillez indiquer votre escalier",
+ "pack_move_building_details_select_a_stair": "Sélectionner un escalier",
+ "pack_move_building_details_select_floor": "Veuillez indiquer votre étage",
+ "pack_move_building_details_select_a_floor": "Sélectionner un étage",
+ "pack_move_building_details_building": "Bâtiment",
+ "pack_move_building_details_stair": "Escalier",
+ "pack_move_building_details_floor": "Étage",
+ "pack_move_confirm": "Confirmer la sélection",
+ "pack_move_building_details_none": "Aucun",
+ "pack_move_building_details_unknown": "Inconnu",
+ "pack_move_building_details_title": "Référence des bâtiments pour les offres FTTH",
+ "pack_move_pto_title": "Boîtier Fibre PTO (Point de Terminaison Optique)",
+ "pack_move_pto_description": "Disposez-vous déjà d'un boitier fibre à l'adresse d'installation ? (prise optique murale)",
+ "pack_move_pto_yes": "J'ai un boîtier avec la réfèrence suivante :",
+ "pack_move_pto_yes_description": "Nous procéderons à l'écrasement de la prise optique (PTO) existante.",
+ "pack_move_pto_no": "Non je ne dispose pas d'un boîter PTO",
+ "pack_move_pto_no_description": "Un technicien procèdera à l'installation d'une prise optique (PTO) lors de son intervention.",
+ "pack_move_pto_reference": "Saisissez votre référence PTO",
+ "pack_move_pto_where": "Où trouver votre numéro de référence du boîtier PTO ?",
+ "pack_move_pto_where_description": "Cette référence est inscrite sur le boîtier PTO et est composée de chiffres et de lettres sous la forme OO-XXXX-XXXX",
+ "pack_move_pto_yes_not_known": "J'ai un boîtier mais je ne connais pas son numéro",
+ "pack_move_pto_yes_not_known_description": "Avez-vous bien vérifié que vous ne disposez pas de la réfèrence de la prise optique (PTO) ? Cela peut avoir avoir une incidence sur le délai de votre raccordement.",
+ "pack_move_meeting_error": "Oups ! Une erreur est survenue lors la récupération des dates de rendez-vous disponibles.",
+ "pack_move_meeting_description": "L'offre que vous avez sélectionnée nécessite l'intervention d'un technicien.",
+ "pack_move_unbundling_title": "Sélection du type d'offre",
+ "pack_move_resume_first_year_promo": "Réduction sur la première année",
+ "pack_move_contract_action": "La ligne {{typeOffer}}
{{ lineNumber }} va être activée.",
+ "pack_move_contract_action_create": "Une nouvelle ligne va être créée à l'adresse :",
+ "pack_move_contract_meeting_contact": "Je serai contacté par un technicien pour convenir d'un rendez-vous.",
+ "pack_move_contract_meeting": "Un rendez-vous est programmé le {{ day }} entre {{ start }} et {{ end }}.",
+ "pack_move_contract_rules": "Je comprends que le déménagement de mon accès engendre un réengagement de 12 mois qui débutera à l'activation de mon nouvel accès. Mon accès actuel sera cloturé à la fin du mois de mise en service de mon nouvel accès.",
+ "pack_move_contract_porta_rules": "Je comprends que le déménagement de mon accès engendre un réengagement de 12 mois qui débutera à l'activation de mon nouvel accès.",
+ "pack_move_resume_move_out_date": "Vous avez demandé le déménagement de votre ligne pour le {{ moveOutDate }}.",
+ "pack_move_resume_contact_owner": "Informations de contact",
+ "pack_move_resume_contact_phone": "Numéro de téléphone sur lequel vous pourrez être contacté si nécessaire",
+ "pack_move_resume_phone_form_error": "Le numéro saisi doit être valide."
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_it_IT.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_it_IT.json
index 1e34531b3846..21090185fa58 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_it_IT.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_it_IT.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Inattivo",
"pack_move_eligibility_synchronisation_upload": "Upload:",
"pack_move_eligibility_synchronisation_mbps": "Mbps",
- "pack_move_eligibility_unbundling_total": "Separazione totale",
+ "pack_move_eligibility_unbundling_full": "Separazione totale",
"pack_move_eligibility_unbundling_createNeighbour": "Creazione da numero pilota",
"pack_move_eligibility_unbundling_creation": "Creazione della linea",
"pack_move_eligibility_unbundling_partial": "Separazione parziale",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Comunica il nome della persona che accoglierà il tecnico il giorno dell'appuntamento.",
"pack_move_mandatory_field": "I campi indicati con un asterisco sono obbligatori.",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_lt_LT.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_lt_LT.json
index 581ca68560b0..6abe223c53aa 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_lt_LT.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_lt_LT.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Neaktyvi",
"pack_move_eligibility_synchronisation_upload": "Upload:",
"pack_move_eligibility_synchronisation_mbps": "Mbps",
- "pack_move_eligibility_unbundling_total": "Visiškas pergrupavimas",
+ "pack_move_eligibility_unbundling_full": "Visiškas pergrupavimas",
"pack_move_eligibility_unbundling_createNeighbour": "Tinklo kūrimas",
"pack_move_eligibility_unbundling_creation": "Linijos kūrimas",
"pack_move_eligibility_unbundling_partial": "Dalinis pergrupavimas",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Prašome pateikti asmens vardą, kuris pasitiks technikus.",
"pack_move_mandatory_field": "Žvaigždute pažymėti laukai yra privalomi.",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_pl_PL.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_pl_PL.json
index 453218652733..364330ed3439 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_pl_PL.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_pl_PL.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Inactive",
"pack_move_eligibility_synchronisation_upload": "Upload :",
"pack_move_eligibility_synchronisation_mbps": "Mbps",
- "pack_move_eligibility_unbundling_total": "Pełne rozdzielenie",
+ "pack_move_eligibility_unbundling_full": "Pełne rozdzielenie",
"pack_move_eligibility_unbundling_createNeighbour": "Création de voisinage",
"pack_move_eligibility_unbundling_creation": "Création de ligne",
"pack_move_eligibility_unbundling_partial": "Częściowe rozdzielenie",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Veuillez nous communiquer le nom de la personne susceptible d’accueillir le technicien le jour du rendez-vous.",
"pack_move_mandatory_field": "Les champs marqués d’un astérisque sont obligatoires.",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_pt_PT.json b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_pt_PT.json
index 6ec543aabc10..79e183287874 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_pt_PT.json
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/translations/Messages_pt_PT.json
@@ -21,7 +21,7 @@
"pack_move_eligibility_synchronisation_line_inactive": "Inactive",
"pack_move_eligibility_synchronisation_upload": "Upload :",
"pack_move_eligibility_synchronisation_mbps": "Mbps",
- "pack_move_eligibility_unbundling_total": "\"Degrupagem\" total",
+ "pack_move_eligibility_unbundling_full": "\"Degrupagem\" total",
"pack_move_eligibility_unbundling_createNeighbour": "Création de voisinage",
"pack_move_eligibility_unbundling_creation": "Création de ligne",
"pack_move_eligibility_unbundling_partial": "\"Degrupagem\" parcial",
@@ -78,4 +78,4 @@
"pack_move_contact_name_info": "Veuillez nous communiquer le nom de la personne susceptible d’accueillir le technicien le jour du rendez-vous.",
"pack_move_mandatory_field": "Les champs marqués d’un astérisque sont obligatoires.",
"pack_move_slamming_error": "Oups ! Nous n'avons pas pu vérifier la portabilité de votre numéro"
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/index.js b/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/index.js
new file mode 100644
index 000000000000..64b1e9c74cc1
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/index.js
@@ -0,0 +1,15 @@
+import angular from 'angular';
+
+import ngTranslateAsyncLoader from '@ovh-ux/ng-translate-async-loader';
+import uiRouter from '@uirouter/angularjs';
+import angularTranslate from 'angular-translate';
+
+import unbundling from './move-unbundling.component';
+
+const moduleName = 'ovhManagerTelecomPackMoveUnbundling';
+
+angular
+ .module(moduleName, [ngTranslateAsyncLoader, uiRouter, angularTranslate])
+ .component('packMoveUnbundling', unbundling);
+
+export default moduleName;
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/move-unbundling.component.js b/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/move-unbundling.component.js
new file mode 100644
index 000000000000..51f950d9d79f
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/move-unbundling.component.js
@@ -0,0 +1,14 @@
+import controller from './move-unbundling.controller';
+import template from './move-unbundling.html';
+
+export default {
+ controller,
+ template,
+ bindings: {
+ offerName: '<',
+ offersEligible: '<',
+ address: '<',
+ copperInfo: '<',
+ prices: '<',
+ },
+};
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/move-unbundling.controller.js b/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/move-unbundling.controller.js
new file mode 100644
index 000000000000..a004305a7550
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/move-unbundling.controller.js
@@ -0,0 +1,22 @@
+export default class MoveUnbundlingCtrl {
+ /* @ngInject */
+ constructor($scope) {
+ this.$scope = $scope;
+ }
+
+ $onInit() {
+ this.offer = {
+ selected: {
+ productCode: null,
+ },
+ };
+ }
+
+ selectOffer(productCode) {
+ this.offer.selected.productCode = productCode;
+ }
+
+ next() {
+ this.$scope.$emit('selectOfferUnbundling', this.offer);
+ }
+}
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/move-unbundling.html b/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/move-unbundling.html
new file mode 100644
index 000000000000..68b163b2b4c8
--- /dev/null
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/move/unbundling/move-unbundling.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+ {{offer.product.type}} {{$ctrl.offerName}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{offer.eligibility.estimatedDownloadRate
+ | number:2}}
+ {{"pack_move_eligibility_synchronisation_mbps"|
+ translate }}
+
+
+
+
+
+ {{offer.eligibility.estimatedUploadRate
+ | number:2}}
+ {{"pack_move_eligibility_synchronisation_mbps"
+ | translate }}
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+ +
+
+
+
+ (
+
+ )
+
+
+
+
+
+
+
+
+
diff --git a/packages/manager/apps/telecom/src/app/telecom/pack/pack.bundle.js b/packages/manager/apps/telecom/src/app/telecom/pack/pack.bundle.js
index ad3e6eaea88a..97a71686cc11 100644
--- a/packages/manager/apps/telecom/src/app/telecom/pack/pack.bundle.js
+++ b/packages/manager/apps/telecom/src/app/telecom/pack/pack.bundle.js
@@ -14,16 +14,8 @@ import './migration/service-delete/telecom-pack-migration-service-delete.control
import './migration/shipping/telecom-pack-migration-shipping.controller';
import './migration/telecom-pack-migration.controller';
import './migration/telecom-pack-migration';
-import './move/address/current/pack-move-address-current.component';
-import './move/address/future/pack-move-address-future.component';
-import './move/contract/pack-move-contract.controller';
-import './move/eligibility/address/pack-move-eligibility-address.component';
-import './move/eligibility/address/pack-move-eligibility-address.constants';
-import './move/eligibility/address/pack-move-eligibility-address.controller';
-import './move/eligibility/lineNumber/pack-move-eligibility-lineNumber.controller';
-import './move/offer/pack-move-offer.component';
import './move/pack-move.controller';
-import './move/pack-move';
+import './move';
import './pack.constant';
import './pack.controller';
import './pack.routing';
diff --git a/packages/manager/apps/telecom/src/app/telecom/telephony/alias/configuration/feature/conference/telecom-telephony-alias-configuration-conference.controller.js b/packages/manager/apps/telecom/src/app/telecom/telephony/alias/configuration/feature/conference/telecom-telephony-alias-configuration-conference.controller.js
index 58497ca30b75..cf8779d86898 100644
--- a/packages/manager/apps/telecom/src/app/telecom/telephony/alias/configuration/feature/conference/telecom-telephony-alias-configuration-conference.controller.js
+++ b/packages/manager/apps/telecom/src/app/telecom/telephony/alias/configuration/feature/conference/telecom-telephony-alias-configuration-conference.controller.js
@@ -2,6 +2,8 @@ import get from 'lodash/get';
import isEmpty from 'lodash/isEmpty';
import omit from 'lodash/omit';
+import { Environment } from '@ovh-ux/manager-config';
+
angular.module('managerApp').controller(
'TelecomTelephonyAliasConfigurationConferenceCtrl',
class TelecomTelephonyAliasConfigurationContactCenterSolutionCtrl {
@@ -28,11 +30,7 @@ angular.module('managerApp').controller(
}
$onInit() {
- [this.currentLanguage] = get(
- localStorage,
- 'univers-selected-language',
- 'fr',
- ).split('_');
+ this.currentLanguage = Environment.getUserLanguage();
this.conferenceCopy = null;
this.generatingUrls = false;
this.hasWebAccessUrls = false;
diff --git a/packages/manager/apps/telecom/src/app/telecom/telephony/alias/configuration/feature/contactCenterSolution/timeCondition/telecom-telephony-alias-configuration-time-condition-easy-hunting.controller.js b/packages/manager/apps/telecom/src/app/telecom/telephony/alias/configuration/feature/contactCenterSolution/timeCondition/telecom-telephony-alias-configuration-time-condition-easy-hunting.controller.js
index 847d6ab4f4aa..a327e2477d25 100644
--- a/packages/manager/apps/telecom/src/app/telecom/telephony/alias/configuration/feature/contactCenterSolution/timeCondition/telecom-telephony-alias-configuration-time-condition-easy-hunting.controller.js
+++ b/packages/manager/apps/telecom/src/app/telecom/telephony/alias/configuration/feature/contactCenterSolution/timeCondition/telecom-telephony-alias-configuration-time-condition-easy-hunting.controller.js
@@ -206,7 +206,7 @@ angular.module('managerApp').controller(
.catch((error) => {
this.number.feature.timeCondition.stopEdition(true).startEdition();
this.TucToast.error(
- `${this.$trnaslate.instant(
+ `${this.$translate.instant(
'telephony_alias_config_contactCenterSolution_timeCondition_update_error',
)} ${get(error, 'data.message', error.message)}`,
);
diff --git a/packages/manager/apps/telecom/src/app/telecom/telephony/billingAccount/guides/telecom-telephony-guides.controller.js b/packages/manager/apps/telecom/src/app/telecom/telephony/billingAccount/guides/telecom-telephony-guides.controller.js
index 8bc9f5d853b0..b6aa00d50106 100644
--- a/packages/manager/apps/telecom/src/app/telecom/telephony/billingAccount/guides/telecom-telephony-guides.controller.js
+++ b/packages/manager/apps/telecom/src/app/telecom/telephony/billingAccount/guides/telecom-telephony-guides.controller.js
@@ -1,6 +1,8 @@
import flatten from 'lodash/flatten';
import map from 'lodash/map';
+import { Environment } from '@ovh-ux/manager-config';
+
angular.module('managerApp').controller(
'TelecomTelephonyGuidesCtrl',
class TelecomTelephonyGuidesCtrl {
@@ -17,17 +19,7 @@ angular.module('managerApp').controller(
this.count = null;
this.guides = this.constant.TELEPHONY_GUIDES;
- if (localStorage['univers-selected-language']) {
- this.language = localStorage['univers-selected-language'].replace(
- /-.*$|_.*$/,
- '',
- );
- } else if (navigator.language || navigator.userLanguage) {
- this.language = (navigator.language || navigator.userLanguage).replace(
- /-.*$|_.*$/,
- '',
- );
- }
+ this.language = Environment.getUserLanguage();
this.countGuides();
}
diff --git a/packages/manager/apps/telecom/src/components/notification/translations/Messages_de_DE.json b/packages/manager/apps/telecom/src/components/notification/translations/Messages_de_DE.json
index deab4bd26fb0..c7136588cae7 100644
--- a/packages/manager/apps/telecom/src/components/notification/translations/Messages_de_DE.json
+++ b/packages/manager/apps/telecom/src/components/notification/translations/Messages_de_DE.json
@@ -6,7 +6,7 @@
"components_notification_noNotification": "Il n'y a aucune alerte enregistrée.",
"components_notification_frequency": "Fréquence d'envoi",
"components_notification_contact": "Contact à notifier en cas d'alertes",
- "components_notification_account": "Compte:",
+ "components_notification_account": "Account",
"components_notification_confirm": "Êtes-vous sûr(e) de vouloir supprimer la notification sur le service {{service}} pour {{contact}} ?",
"components_notification_add": "Einen Alarm hinzufügen",
"components_notification_mail": "E-Mail-Adresse",
@@ -14,5 +14,6 @@
"components_notification_once": "Une fois",
"components_notification_5m": "Toutes les 5 minutes",
"components_notification_1h": "Stündlich",
- "components_notification_6h": "Alle 6 Stunden"
-}
\ No newline at end of file
+ "components_notification_6h": "Alle 6 Stunden",
+ "components_notification_sms_detail_warning": "Achtung: Auf dem Account {{smsAccount}} ist kein Guthaben mehr, um neue SMS zu versenden."
+}
diff --git a/packages/manager/apps/telecom/src/components/notification/translations/Messages_pl_PL.json b/packages/manager/apps/telecom/src/components/notification/translations/Messages_pl_PL.json
index 87d3ad0b285f..07f6dc1f6e99 100644
--- a/packages/manager/apps/telecom/src/components/notification/translations/Messages_pl_PL.json
+++ b/packages/manager/apps/telecom/src/components/notification/translations/Messages_pl_PL.json
@@ -6,7 +6,7 @@
"components_notification_noNotification": "Brak zarejestrowanych alertów.",
"components_notification_frequency": "Częstotliwość wysyłania",
"components_notification_contact": "Kontakt do powiadamiania w przypadku alertów",
- "components_notification_account": "Konto:",
+ "components_notification_account": "Konto",
"components_notification_confirm": "Czy chcesz usunąć powiadomienie dotyczące usługi {{service}} dla {{contact}}?",
"components_notification_add": "Dodaj alert",
"components_notification_mail": "E-mail",
@@ -14,5 +14,6 @@
"components_notification_once": "Jeden raz",
"components_notification_5m": "Co 5 minut",
"components_notification_1h": "Co godzinę",
- "components_notification_6h": "Co 6 godzin"
-}
\ No newline at end of file
+ "components_notification_6h": "Co 6 godzin",
+ "components_notification_sms_detail_warning": "Uwaga, wszystkie środki na koncie {{smsAccount} zostały wyczerpane, brak możliwości wysyłania nowych SMS-ów."
+}
diff --git a/packages/manager/apps/telecom/src/components/telecom/telephony/scheduler/telephony-scheduler.directive.js b/packages/manager/apps/telecom/src/components/telecom/telephony/scheduler/telephony-scheduler.directive.js
index 97b73fb8c48c..4659b380abea 100644
--- a/packages/manager/apps/telecom/src/components/telecom/telephony/scheduler/telephony-scheduler.directive.js
+++ b/packages/manager/apps/telecom/src/components/telecom/telephony/scheduler/telephony-scheduler.directive.js
@@ -1,7 +1,8 @@
import defaultsDeep from 'lodash/defaultsDeep';
-import head from 'lodash/head';
import set from 'lodash/set';
+import { Environment } from '@ovh-ux/manager-config';
+
angular.module('managerApp').run(($translate, asyncLoader) => {
asyncLoader.addTranslations(
import(`./translations/Messages_${$translate.use()}.json`)
@@ -139,10 +140,7 @@ angular
const defaultOptions = {
header: false,
- locale:
- localStorage && localStorage.getItem('univers-selected-language')
- ? head(localStorage.getItem('univers-selected-language').split('_'))
- : 'fr',
+ locale: Environment.getUserLanguage(),
firstDay: 1,
editable: false, // todo manage drag and drop
selectable: true,
diff --git a/packages/manager/apps/telecom/src/components/telecom/telephony/timeCondition/calendar/telephony-time-condition-calendar.directive.js b/packages/manager/apps/telecom/src/components/telecom/telephony/timeCondition/calendar/telephony-time-condition-calendar.directive.js
index 621bd04aa531..23d2c869084a 100644
--- a/packages/manager/apps/telecom/src/components/telecom/telephony/timeCondition/calendar/telephony-time-condition-calendar.directive.js
+++ b/packages/manager/apps/telecom/src/components/telecom/telephony/timeCondition/calendar/telephony-time-condition-calendar.directive.js
@@ -2,11 +2,12 @@ import defaultsDeep from 'lodash/defaultsDeep';
import filter from 'lodash/filter';
import find from 'lodash/find';
import get from 'lodash/get';
-import head from 'lodash/head';
import map from 'lodash/map';
import set from 'lodash/set';
import some from 'lodash/some';
+import { Environment } from '@ovh-ux/manager-config';
+
angular
.module('managerApp')
.directive(
@@ -123,14 +124,7 @@ angular
'options',
defaultsDeep(controller.options || {}, {
height: 'auto',
- locale:
- localStorage && localStorage.getItem('univers-selected-language')
- ? head(
- localStorage
- .getItem('univers-selected-language')
- .split('_'),
- )
- : 'fr',
+ locale: Environment.getUserLanguage(),
editable: true,
allDaySlot: false,
allDayDefault: false,
diff --git a/packages/manager/apps/veeam-cloud-connect/package.json b/packages/manager/apps/veeam-cloud-connect/package.json
index 13f7d6e308bf..4ad9bce4fa29 100644
--- a/packages/manager/apps/veeam-cloud-connect/package.json
+++ b/packages/manager/apps/veeam-cloud-connect/package.json
@@ -23,7 +23,7 @@
},
"dependencies": {
"@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-veeam-cloud-connect": "^1.0.0 || ^2.0.0",
"@ovh-ux/ng-ovh-api-wrappers": "^4.0.7",
"@ovh-ux/ng-ovh-cloud-universe-components": "^2.0.0",
@@ -51,7 +51,7 @@
"flatpickr": "^4.6.3",
"jquery": "^2.1.3",
"oclazyload": "^1.1.0",
- "ovh-api-services": "^9.47.0",
+ "ovh-api-services": "^9.50.0",
"popper.js": "^1.16.1",
"ui-select": "^0.19.8"
},
diff --git a/packages/manager/apps/veeam-cloud-connect/src/index.js b/packages/manager/apps/veeam-cloud-connect/src/index.js
index ac5bb0f1f792..739887a1a306 100644
--- a/packages/manager/apps/veeam-cloud-connect/src/index.js
+++ b/packages/manager/apps/veeam-cloud-connect/src/index.js
@@ -11,8 +11,8 @@ Environment.setRegion(__WEBPACK_REGION__);
angular
.module('veeamCloudConnectApp', [ovhManagerCore, ovhManagerVeeamCloudConnect])
.config(
- /* @ngInject */ (TranslateServiceProvider) => {
- const defaultLanguage = TranslateServiceProvider.getUserLocale(true);
+ /* @ngInject */ () => {
+ const defaultLanguage = Environment.getUserLanguage();
moment.locale(defaultLanguage);
},
);
diff --git a/packages/manager/apps/veeam-enterprise/package.json b/packages/manager/apps/veeam-enterprise/package.json
index e4f3a42cd219..a083ae169b52 100644
--- a/packages/manager/apps/veeam-enterprise/package.json
+++ b/packages/manager/apps/veeam-enterprise/package.json
@@ -20,7 +20,7 @@
},
"dependencies": {
"@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-veeam-enterprise": "^0.3.0 || ^1.0.0",
"@ovh-ux/ng-ovh-api-wrappers": "^4.0.7",
"@ovh-ux/ng-ovh-cloud-universe-components": "^2.0.0",
@@ -50,7 +50,7 @@
"d3": "~3.5.13",
"flatpickr": "^4.6.3",
"jquery": "^2.1.3",
- "ovh-api-services": "^9.47.0",
+ "ovh-api-services": "^9.50.0",
"ovh-ui-kit-bs": "^4.1.8",
"popper.js": "^1.16.1",
"ui-select": "^0.19.8"
diff --git a/packages/manager/apps/veeam-enterprise/src/config.js b/packages/manager/apps/veeam-enterprise/src/config.js
index c49caad6e0ae..5933394f6b55 100644
--- a/packages/manager/apps/veeam-enterprise/src/config.js
+++ b/packages/manager/apps/veeam-enterprise/src/config.js
@@ -1,7 +1,7 @@
-export const momentConfiguration = /* @ngInject */ (
- TranslateServiceProvider,
-) => {
- const defaultLanguage = TranslateServiceProvider.getUserLocale(true);
+import { Environment } from '@ovh-ux/manager-config';
+
+export const momentConfiguration = /* @ngInject */ () => {
+ const defaultLanguage = Environment.getUserLanguage();
moment.locale(defaultLanguage);
};
diff --git a/packages/manager/apps/vps/package.json b/packages/manager/apps/vps/package.json
index 62867c51cb35..5de133a0cfef 100644
--- a/packages/manager/apps/vps/package.json
+++ b/packages/manager/apps/vps/package.json
@@ -23,7 +23,7 @@
},
"dependencies": {
"@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-filters": "^0.1.0 || ^1.0.0",
"@ovh-ux/manager-models": "^1.0.0",
"@ovh-ux/manager-product-offers": "^2.0.0 || ^3.0.0",
@@ -67,7 +67,7 @@
"jsurl": "0.1.5",
"moment": "^2.24.0",
"oclazyload": "^1.1.0",
- "ovh-api-services": "^9.47.0",
+ "ovh-api-services": "^9.50.0",
"ovh-ui-kit-bs": "^4.1.8",
"popper.js": "^1.16.1",
"ui-select": "^0.19.8"
diff --git a/packages/manager/apps/vps/src/config.js b/packages/manager/apps/vps/src/config.js
index c49caad6e0ae..5933394f6b55 100644
--- a/packages/manager/apps/vps/src/config.js
+++ b/packages/manager/apps/vps/src/config.js
@@ -1,7 +1,7 @@
-export const momentConfiguration = /* @ngInject */ (
- TranslateServiceProvider,
-) => {
- const defaultLanguage = TranslateServiceProvider.getUserLocale(true);
+import { Environment } from '@ovh-ux/manager-config';
+
+export const momentConfiguration = /* @ngInject */ () => {
+ const defaultLanguage = Environment.getUserLanguage();
moment.locale(defaultLanguage);
};
diff --git a/packages/manager/apps/vrack/package.json b/packages/manager/apps/vrack/package.json
index 101b1c1b73ce..6d33bce41493 100644
--- a/packages/manager/apps/vrack/package.json
+++ b/packages/manager/apps/vrack/package.json
@@ -21,7 +21,7 @@
"dependencies": {
"@ovh-ux/manager-cloud-styles": "^0.4.0 || ^1.0.0",
"@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-vrack": "^0.7.0 || ^1.0.0",
"@ovh-ux/ng-ovh-api-wrappers": "^4.0.7",
"@ovh-ux/ng-ovh-cloud-universe-components": "^2.0.0",
@@ -51,7 +51,7 @@
"lodash": "^4.17.15",
"messenger": "HubSpot/messenger#~1.4.1",
"oclazyload": "^1.1.0",
- "ovh-api-services": "^9.47.0",
+ "ovh-api-services": "^9.50.0",
"ovh-manager-webfont": "^1.2.0",
"popper.js": "^1.16.1",
"ui-select": "^0.19.8"
diff --git a/packages/manager/apps/web/client/app/configuration/configuration.controller.js b/packages/manager/apps/web/client/app/configuration/configuration.controller.js
index 0e5da658ff2a..51416789a543 100644
--- a/packages/manager/apps/web/client/app/configuration/configuration.controller.js
+++ b/packages/manager/apps/web/client/app/configuration/configuration.controller.js
@@ -14,11 +14,12 @@ angular.module('App').controller(
this.constants,
`urls.${this.subsidiary}.support`,
);
- this.allGuides = get(
+
+ const guideURL = get(
this.constants,
`urls.${this.subsidiary}.guides.all`,
- this.constants.urls.FR.guides.all,
);
+ this.allGuides = guideURL || this.constants.urls.FR.guides.all;
}
},
);
diff --git a/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/domain-enable-web-hosting.html b/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/domain-enable-web-hosting.html
index 6d1df808b398..13d5c6bd3905 100644
--- a/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/domain-enable-web-hosting.html
+++ b/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/domain-enable-web-hosting.html
@@ -83,11 +83,13 @@
valid="$ctrl.contractsValidated"
submit-text="{{:: 'domain_configuration_enable_web_hosting_activate' | translate }}"
on-cancel="$ctrl.goBack()"
+ prevent-next
>
diff --git a/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/enable.component.js b/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/enable.component.js
index 71579ee11bf8..1cf29d07916d 100644
--- a/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/enable.component.js
+++ b/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/enable.component.js
@@ -4,7 +4,6 @@ import template from './domain-enable-web-hosting.html';
export default {
bindings: {
addOption: '<',
- defaultPaymentMethod: '<',
domainName: '<',
getCheckout: '<',
goBack: '<',
diff --git a/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/routing.js b/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/routing.js
index bc571eed277c..0aab5e88838d 100644
--- a/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/routing.js
+++ b/packages/manager/apps/web/client/app/domain/general-informations/webhosting-enable/routing.js
@@ -3,8 +3,6 @@ const commonResolves = {
WucOrderCartService.createNewCart(user.ovhSubsidiary).then((cart) =>
WucOrderCartService.assignCart(cart.cartId).then(() => cart),
),
- defaultPaymentMethod: /* @ngInject */ (ovhPaymentMethod) =>
- ovhPaymentMethod.getDefaultPaymentMethod(),
addOption: /* @ngInject */ (cart, domainName, WebhostingEnableService) => (
item,
offer,
@@ -20,13 +18,9 @@ const commonResolves = {
getCheckout: /* @ngInject */ (cart, WucOrderCartService) => () =>
WucOrderCartService.getCheckoutInformations(cart.cartId),
- order: /* @ngInject */ (
- cart,
- defaultPaymentMethod,
- WucOrderCartService,
- ) => () =>
+ order: /* @ngInject */ (cart, WucOrderCartService) => () =>
WucOrderCartService.checkoutCart(cart.cartId, {
- autoPayWithPreferredPaymentMethod: !!defaultPaymentMethod,
+ autoPayWithPreferredPaymentMethod: true,
waiveRetractationPeriod: true,
}),
goBack: /* @ngInject */ (goToDashboard) => goToDashboard,
diff --git a/packages/manager/apps/web/client/app/domain/translations/Messages_it_IT.json b/packages/manager/apps/web/client/app/domain/translations/Messages_it_IT.json
index cd041f96400d..d49d4d296253 100644
--- a/packages/manager/apps/web/client/app/domain/translations/Messages_it_IT.json
+++ b/packages/manager/apps/web/client/app/domain/translations/Messages_it_IT.json
@@ -824,5 +824,5 @@
"domain_tab_options_delete_error": "Si è verificato un errore durante la disattivazione dell'opzione.",
"domain_tab_options_delete_cancel": "Annulla",
"web_domain_zone_activation_success": "Attivazione eseguita correttamente La soluzione scelta sarà attiva entro pochi minuti.",
- "web_domain_zone_activation_order_success": "Il tuo
ordine è stato generato correttamente. Una volta convalidato, il servizio verrà attivato."
+ "web_domain_zone_activation_order_success": "Il tuo
ordine è stato generato correttamente. Una volta convalidato, il servizio verrà attivato."
}
diff --git a/packages/manager/apps/web/client/app/domain/zone/activate/activate.component.js b/packages/manager/apps/web/client/app/domain/zone/activate/activate.component.js
index 6994c1aba0ec..0f061d2c5ab0 100644
--- a/packages/manager/apps/web/client/app/domain/zone/activate/activate.component.js
+++ b/packages/manager/apps/web/client/app/domain/zone/activate/activate.component.js
@@ -3,7 +3,6 @@ import template from './activate.html';
export default {
bindings: {
- autoPayWithPreferredPaymentMethod: '<',
goBack: '<',
serviceName: '<',
serviceOption: '<',
diff --git a/packages/manager/apps/web/client/app/domain/zone/activate/activate.controller.js b/packages/manager/apps/web/client/app/domain/zone/activate/activate.controller.js
index 32f2f95c26bb..f9154da3d69a 100644
--- a/packages/manager/apps/web/client/app/domain/zone/activate/activate.controller.js
+++ b/packages/manager/apps/web/client/app/domain/zone/activate/activate.controller.js
@@ -1,9 +1,7 @@
import filter from 'lodash/filter';
import get from 'lodash/get';
-import {
- pricingConstants,
-} from '@ovh-ux/manager-product-offers';
+import { pricingConstants } from '@ovh-ux/manager-product-offers';
export default class DomainDnsZoneActivateController {
/* @ngInject */
@@ -62,13 +60,15 @@ export default class DomainDnsZoneActivateController {
'app.domain.product.zoneactivate',
),
)
- .finally(() => (this.checkoutLoading = false));
+ .finally(() => {
+ this.checkoutLoading = false;
+ });
}
}
checkout() {
this.checkoutOrderCart(
- this.autoPayWithPreferredPaymentMethod,
+ !!this.defaultPaymentMethod,
this.cartId,
this.price.value === 0,
);
@@ -77,7 +77,7 @@ export default class DomainDnsZoneActivateController {
checkoutOrderCart(autoPayWithPreferredPaymentMethod, cartId, isOptionFree) {
this.checkoutLoading = true;
this.DomainDnsZoneActivateService.checkoutOrderCart(
- autoPayWithPreferredPaymentMethod,
+ isOptionFree || autoPayWithPreferredPaymentMethod,
cartId,
)
.then((order) => {
@@ -117,7 +117,7 @@ export default class DomainDnsZoneActivateController {
this.serviceOption,
price,
).then((finalCart) => {
- return { ...finalCart, cartId: cart.cartId }
+ return { ...finalCart, cartId: cart.cartId };
}),
);
}
diff --git a/packages/manager/apps/web/client/app/domain/zone/activate/activate.routing.js b/packages/manager/apps/web/client/app/domain/zone/activate/activate.routing.js
index c8cb2c31f4ab..7617ae57ece5 100644
--- a/packages/manager/apps/web/client/app/domain/zone/activate/activate.routing.js
+++ b/packages/manager/apps/web/client/app/domain/zone/activate/activate.routing.js
@@ -1,7 +1,4 @@
const commonResolves = {
- autoPayWithPreferredPaymentMethod: /* @ngInject */ (ovhPaymentMethod) =>
- ovhPaymentMethod.hasDefaultPaymentMethod(),
-
serviceName: /* @ngInject */ ($transition$) =>
$transition$.params().productId,
diff --git a/packages/manager/apps/web/client/app/email-domain/email/redirection/create/email-domain-email-redirection-create.controller.js b/packages/manager/apps/web/client/app/email-domain/email/redirection/create/email-domain-email-redirection-create.controller.js
index ee860954848d..4556c31ba1c2 100644
--- a/packages/manager/apps/web/client/app/email-domain/email/redirection/create/email-domain-email-redirection-create.controller.js
+++ b/packages/manager/apps/web/client/app/email-domain/email/redirection/create/email-domain-email-redirection-create.controller.js
@@ -50,7 +50,7 @@ angular.module('App').controller(
redirectionToCheck(input) {
input.$setValidity(
'redirectionTo',
- validator.isEmail(this.model.redirectionTo),
+ validator.isEmail(this.model.redirectionTo || input.$viewValue),
);
}
diff --git a/packages/manager/apps/web/client/app/hosting/cdn/order/hosting-cdn-order.routing.js b/packages/manager/apps/web/client/app/hosting/cdn/order/hosting-cdn-order.routing.js
index ad6505780359..c4164314760f 100644
--- a/packages/manager/apps/web/client/app/hosting/cdn/order/hosting-cdn-order.routing.js
+++ b/packages/manager/apps/web/client/app/hosting/cdn/order/hosting-cdn-order.routing.js
@@ -32,7 +32,7 @@ export default /* @ngInject */ ($stateProvider) => {
) => async (autoPayWithPreferredPaymentMethod, cartId) => {
try {
const order = await HostingCdnOrderService.checkoutOrderCart(
- autoPayWithPreferredPaymentMethod,
+ isOptionFree || autoPayWithPreferredPaymentMethod,
cartId,
);
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_de_DE.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_de_DE.json
index 551133329125..086504d4df10 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_de_DE.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_de_DE.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5 ",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6 ",
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_en_GB.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_en_GB.json
index a89b1a0f50e1..cb17f9f46b1d 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_en_GB.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_en_GB.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_es_ES.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_es_ES.json
index 42e6b1b81782..119f708a5052 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_es_ES.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_es_ES.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_es_US.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_es_US.json
index 8652cc6fa0be..55e439032db6 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_es_US.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_es_US.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
@@ -500,4 +501,4 @@
"privateDatabase_tabs_list_extensions_enable_error": "Se ha producido un error al activar la extensión.",
"privateDatabase_tabs_list_extensions_disable_success": "La extensión se ha desactivado correctamente.",
"privateDatabase_tabs_list_extensions_disable_error": "Se ha producido un error al desactivar la extensión."
-}
\ No newline at end of file
+}
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_fi_FI.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_fi_FI.json
index a89b1a0f50e1..cb17f9f46b1d 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_fi_FI.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_fi_FI.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_fr_CA.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_fr_CA.json
index 13bf23c0f775..c7b1e305bf94 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_fr_CA.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_fr_CA.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_fr_FR.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_fr_FR.json
index 13bf23c0f775..c7b1e305bf94 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_fr_FR.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_fr_FR.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_it_IT.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_it_IT.json
index 092417f31d41..37cae1b6c446 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_it_IT.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_it_IT.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_lt_LT.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_lt_LT.json
index a89b1a0f50e1..cb17f9f46b1d 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_lt_LT.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_lt_LT.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_pl_PL.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_pl_PL.json
index fc61982d24dc..02b3b1c28c89 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_pl_PL.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_pl_PL.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
diff --git a/packages/manager/apps/web/client/app/private-database/translations/Messages_pt_PT.json b/packages/manager/apps/web/client/app/private-database/translations/Messages_pt_PT.json
index d3beda3c0435..2dc5aca072b1 100644
--- a/packages/manager/apps/web/client/app/private-database/translations/Messages_pt_PT.json
+++ b/packages/manager/apps/web/client/app/private-database/translations/Messages_pt_PT.json
@@ -16,6 +16,7 @@
"privateDatabase_dashboard_version_mysql_55": "MySQL 5.5",
"privateDatabase_dashboard_version_mysql_56": "MySQL 5.6",
"privateDatabase_dashboard_version_mysql_57": "MySQL 5.7",
+ "privateDatabase_dashboard_version_mysql_80": "MySQL 8.0",
"privateDatabase_dashboard_version_postgresql_94": "PostgreSQL 9.4",
"privateDatabase_dashboard_version_postgresql_95": "PostgreSQL 9.5",
"privateDatabase_dashboard_version_postgresql_96": "PostgreSQL 9.6",
diff --git a/packages/manager/apps/web/package.json b/packages/manager/apps/web/package.json
index d4be3c6500f9..37f6becc3745 100644
--- a/packages/manager/apps/web/package.json
+++ b/packages/manager/apps/web/package.json
@@ -23,7 +23,7 @@
"@ovh-ux/manager-banner": "^1.1.3",
"@ovh-ux/manager-catalog-price": "^1.0.0",
"@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-emailpro": "^1.0.0 || ^2.0.0",
"@ovh-ux/manager-error-page": "^1.0.0 || ^2.0.0",
"@ovh-ux/manager-exchange": "^1.0.0 || ^2.0.0",
@@ -112,7 +112,7 @@
"ng-slide-down": "TheRusskiy/ng-slide-down#^1.0.0",
"oclazyload": "^1.1.0",
"office-ui-fabric-core": "^11.0.0",
- "ovh-api-services": "^9.47.0",
+ "ovh-api-services": "^9.50.0",
"ovh-manager-webfont": "^1.2.0",
"ovh-ui-kit-bs": "^4.1.8",
"popper.js": "^1.16.1",
@@ -132,4 +132,4 @@
"webpack": "^4.41.2",
"webpack-merge": "^4.2.2"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/account-sidebar/package.json b/packages/manager/modules/account-sidebar/package.json
index 731c90a3a1ad..bf91a66d47ae 100644
--- a/packages/manager/modules/account-sidebar/package.json
+++ b/packages/manager/modules/account-sidebar/package.json
@@ -10,9 +10,7 @@
},
"license": "BSD-3-Clause",
"author": "OVH SAS",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/account-sidebar.js",
+ "main": "./dist/esm/index.js",
"files": [
"dist"
],
@@ -31,7 +29,7 @@
"lodash": "^4.17.15"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-at-internet": "^5.1.0",
"@ovh-ux/ng-ovh-api-wrappers": "^3.0.0",
"@ovh-ux/ng-ovh-order-tracking": "^1.0.0",
@@ -45,4 +43,4 @@
"bootstrap4": "twbs/bootstrap#v4.0.0",
"ovh-api-services": "^9.39.1"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/account-sidebar/rollup.config.js b/packages/manager/modules/account-sidebar/rollup.config.js
index 23e539001b2a..df82cdb7624f 100644
--- a/packages/manager/modules/account-sidebar/rollup.config.js
+++ b/packages/manager/modules/account-sidebar/rollup.config.js
@@ -15,19 +15,4 @@ const config = rollupConfig(
},
);
-const outputs = [config.es({})];
-
-if (process.env.BUILD === 'production') {
- outputs.push(config.cjs({}));
- outputs.push(
- config.umd({
- output: {
- globals: {
- angular: 'angular',
- },
- },
- }),
- );
-}
-
-export default outputs;
+export default [config.es()];
diff --git a/packages/manager/modules/banner/package.json b/packages/manager/modules/banner/package.json
index c4db90f4e0c1..e4e9ea76b414 100644
--- a/packages/manager/modules/banner/package.json
+++ b/packages/manager/modules/banner/package.json
@@ -19,9 +19,7 @@
"directory": "packages/manager/modules/banner"
},
"license": "BSD-3-Clause",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/banner.js",
+ "main": "./dist/esm/index.js",
"files": [
"dist"
],
@@ -42,7 +40,7 @@
},
"peerDependencies": {
"@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-at-internet": "^5.0.0",
"angular": "^1.7.8",
"angular-translate": "^2.18.1",
diff --git a/packages/manager/modules/banner/rollup.config.js b/packages/manager/modules/banner/rollup.config.js
index 24796e15798c..df82cdb7624f 100644
--- a/packages/manager/modules/banner/rollup.config.js
+++ b/packages/manager/modules/banner/rollup.config.js
@@ -15,19 +15,4 @@ const config = rollupConfig(
},
);
-const outputs = [config.es()];
-
-if (process.env.BUILD === 'production') {
- outputs.push(config.cjs());
- outputs.push(
- config.umd({
- output: {
- globals: {
- angular: 'angular',
- },
- },
- }),
- );
-}
-
-export default outputs;
+export default [config.es()];
diff --git a/packages/manager/modules/beta-preference/package.json b/packages/manager/modules/beta-preference/package.json
index a3f2f611c2f4..37810e29bccc 100644
--- a/packages/manager/modules/beta-preference/package.json
+++ b/packages/manager/modules/beta-preference/package.json
@@ -12,7 +12,7 @@
"author": "OVH SAS",
"main": "./src/index.js",
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-ovh-user-pref": "^2.0.0",
"angular": "^1.7.5",
"angular-translate": "^2.18.1"
diff --git a/packages/manager/modules/carrier-sip/package.json b/packages/manager/modules/carrier-sip/package.json
index 9523fdbf89df..1a8b6aa1bd90 100644
--- a/packages/manager/modules/carrier-sip/package.json
+++ b/packages/manager/modules/carrier-sip/package.json
@@ -17,7 +17,7 @@
"moment": "^2.24.0"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-ovh-telecom-universe-components": "^5.0.0 || ^6.0.0",
"@ovh-ux/ui-kit": "^4.1.12",
"angular": "^1.7.8",
@@ -25,4 +25,4 @@
"ovh-api-services": "^9.39.1",
"ovh-ui-kit-bs": "^4.1.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/catalog-price/package.json b/packages/manager/modules/catalog-price/package.json
index 2c9376ab0d06..c71b2fb16ed2 100644
--- a/packages/manager/modules/catalog-price/package.json
+++ b/packages/manager/modules/catalog-price/package.json
@@ -15,10 +15,11 @@
"lodash": "^4.17.15"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-translate-async-loader": "^2.1.0",
"angular": "^1.7.9",
"angular-translate": "^2.18.2",
"bootstrap": "^4.3.1"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/catalog-price/src/catalog-price.controller.js b/packages/manager/modules/catalog-price/src/catalog-price.controller.js
index dbd29e29be02..9c6823496578 100644
--- a/packages/manager/modules/catalog-price/src/catalog-price.controller.js
+++ b/packages/manager/modules/catalog-price/src/catalog-price.controller.js
@@ -1,6 +1,8 @@
import get from 'lodash/get';
import isUndefined from 'lodash/isUndefined';
+import { Environment } from '@ovh-ux/manager-config';
+
import {
ASIA_FORMAT,
FRENCH_FORMAT,
@@ -11,10 +13,9 @@ import {
export default class {
/* @ngInject */
- constructor($attrs, TranslateService) {
+ constructor($attrs) {
this.$attrs = $attrs;
this.isUndefined = isUndefined;
- this.TranslateService = TranslateService;
}
$onInit() {
@@ -48,7 +49,7 @@ export default class {
* @returns {string} the formatted and regionalized prices, appended with currency unit.
*/
getPriceText(priceInCents) {
- const locale = this.TranslateService.getUserLocale().replace('_', '-');
+ const locale = Environment.getUserLocale().replace('_', '-');
let price = priceInCents / 100000000;
price = this.performRounding
diff --git a/packages/manager/modules/cloud-styles/package.json b/packages/manager/modules/cloud-styles/package.json
index 5d2ae7d91040..51b5e01473c2 100644
--- a/packages/manager/modules/cloud-styles/package.json
+++ b/packages/manager/modules/cloud-styles/package.json
@@ -13,9 +13,7 @@
"directory": "packages/manager/modules/cloud-styles"
},
"license": "BSD-3-Clause",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/cloud-styles.js",
+ "main": "./dist/esm/index.js",
"scripts": {
"build": "rollup -c --environment BUILD:production",
"dev": "rollup -c --environment BUILD:development",
@@ -33,4 +31,4 @@
"ovh-common-style": "^3.2.2",
"ovh-ui-kit-bs": "^4.1.8"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/cloud-styles/rollup.config.js b/packages/manager/modules/cloud-styles/rollup.config.js
index 9d066082d1c1..df82cdb7624f 100644
--- a/packages/manager/modules/cloud-styles/rollup.config.js
+++ b/packages/manager/modules/cloud-styles/rollup.config.js
@@ -15,11 +15,4 @@ const config = rollupConfig(
},
);
-const outputs = [config.es()];
-
-if (process.env.BUILD === 'production') {
- outputs.push(config.cjs());
- outputs.push(config.umd());
-}
-
-export default outputs;
+export default [config.es()];
diff --git a/packages/manager/modules/cloud-universe-components/package.json b/packages/manager/modules/cloud-universe-components/package.json
index 9a9be0e7769b..36f952a9aab1 100644
--- a/packages/manager/modules/cloud-universe-components/package.json
+++ b/packages/manager/modules/cloud-universe-components/package.json
@@ -20,9 +20,7 @@
},
"license": "BSD-3-Clause",
"author": "OVH SAS",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/ng-ovh-cloud-universe-components.js",
+ "main": "./dist/esm/index.js",
"files": [
"dist"
],
@@ -57,4 +55,4 @@
"d3": "~3.5.13",
"ovh-api-services": "^9.39.1"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/cloud-universe-components/rollup.config.js b/packages/manager/modules/cloud-universe-components/rollup.config.js
index 32f2522019cc..cca856cafcc2 100644
--- a/packages/manager/modules/cloud-universe-components/rollup.config.js
+++ b/packages/manager/modules/cloud-universe-components/rollup.config.js
@@ -15,14 +15,4 @@ const config = rollupConfig(
},
);
-export default [
- config.cjs(),
- config.umd({
- output: {
- globals: {
- angular: 'angular',
- d3: 'd3',
- },
- },
- }),
-];
+export default [config.es()];
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/component.js b/packages/manager/modules/cloud-universe-components/src/cui/guide-component/component.js
deleted file mode 100644
index 687a394e74ce..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/component.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import controller from './controller';
-import template from './template.html';
-
-export default {
- controller,
- bindings: {
- guides: '<',
- },
- transclude: true,
- template,
-};
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/controller.js b/packages/manager/modules/cloud-universe-components/src/cui/guide-component/controller.js
deleted file mode 100644
index 3b2afb634831..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/controller.js
+++ /dev/null
@@ -1,32 +0,0 @@
-export default class GuideComponentController {
- /**
- * Check the use case of a simple guide or a simple list of guides
- */
- static hasSimpleGuide(guide) {
- if (guide.constructor === Object && guide.list.constructor === Array) {
- const firstGuide = guide.list[0];
- return (
- guide.title !== undefined &&
- firstGuide.name !== undefined &&
- firstGuide.url !== undefined
- );
- }
- return false;
- }
-
- /**
- * Check the use case of a multiple list guide classified into sections
- */
- static hasMultipleGuide(guides) {
- if (
- guides.constructor === Object &&
- guides.sections.constructor === Array
- ) {
- const firstSection = guides.sections[0];
- return (
- firstSection.title !== undefined && firstSection.list !== undefined
- );
- }
- return false;
- }
-}
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/index.js b/packages/manager/modules/cloud-universe-components/src/cui/guide-component/index.js
deleted file mode 100644
index f9b8d6ebf489..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import angular from 'angular';
-
-import cuiDropdownMenu from '../dropdown-menu';
-
-import component from './component';
-
-import './index.less';
-
-const moduleName = 'cuiGuideComponents';
-
-angular
- .module(moduleName, [cuiDropdownMenu])
- .component('cuiGuideComponent', component);
-
-export default moduleName;
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/index.less b/packages/manager/modules/cloud-universe-components/src/cui/guide-component/index.less
deleted file mode 100644
index faca714f7850..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/index.less
+++ /dev/null
@@ -1,114 +0,0 @@
-@import '~@ovh-ux/ui-kit/dist/less/_tokens';
-
-@cui-guide-item-background-color: #e0f6fd;
-@cui-guide-item-border-color: #d5dae0;
-@cui-guide-item-color: #3f5167;
-@cui-guide-item-title-color: #122844;
-@cui-guide-footer-background-color: #f2f2f2;
-
-cui-guide-component {
- .cui-guide {
- font-family: 'Source Sans Pro', sans-serif;
-
- /* override cui-dropdown size */
- .cui-dropdown-menu__content {
- width: 430px;
-
- &_bottom {
- margin-top: 15px;
-
- &::before,
- &::after {
- right: 33px;
- }
- }
- }
-
- &__button {
- font-size: 18px;
- font-weight: 600;
-
- &:hover &-title {
- text-decoration: underline;
- }
- }
-
- &__container {
- max-height: 70vh;
- overflow-y: auto;
- }
-
- &__list {
- list-style: none;
- margin: 0 auto;
- padding: 0;
- }
-
- &__item {
- color: @cui-guide-item-color;
-
- &-title {
- padding: 5px 10px;
- color: @cui-guide-item-title-color;
- font-weight: 600;
- font-size: 18px;
- margin: 2.1875rem 0 0.8125rem;
- }
-
- &-link {
- padding: 5px 10px;
- height: 100%;
- width: 100%;
- font-size: 16px;
- display: inline-block;
- color: @cui-guide-item-color;
-
- .fa-external-link {
- visibility: hidden;
- }
-
- &:hover {
- background-color: @cui-guide-item-background-color;
- opacity: 0.9;
- text-decoration: none;
-
- .fa-external-link {
- visibility: visible;
- }
- }
- }
-
- &_border {
- border-top: solid 1px @cui-guide-item-border-color;
-
- &:last-child {
- border-bottom: solid 1px @cui-guide-item-border-color;
- }
- }
- }
-
- &__footer {
- text-align: center;
- display: table;
- width: 100%;
- height: 30px;
- background-color: @cui-guide-footer-background-color;
-
- &-link {
- vertical-align: middle;
- display: table-cell;
- color: @cui-guide-item-color;
- font-size: 14px;
-
- /* stylelint-disable-next-line no-descending-specificity */
- .fa-external-link {
- visibility: hidden;
- }
-
- &:hover .fa-external-link {
- visibility: visible;
- }
- }
- }
- }
-}
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/template.html b/packages/manager/modules/cloud-universe-components/src/cui/guide-component/template.html
deleted file mode 100644
index 59107287eedd..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/guide-component/template.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-
-
- Guide
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/index.js b/packages/manager/modules/cloud-universe-components/src/cui/index.js
index 85c4732299cb..aabebc5471fe 100644
--- a/packages/manager/modules/cloud-universe-components/src/cui/index.js
+++ b/packages/manager/modules/cloud-universe-components/src/cui/index.js
@@ -3,7 +3,6 @@ import angular from 'angular';
import advancedOptions from './advanced-options';
import accordian from './accordion';
import dropdownMenu from './dropdown-menu';
-import guideComponent from './guide-component';
import message from './message';
import modal from './modal';
import page from './page';
@@ -17,7 +16,6 @@ angular.module(moduleName, [
advancedOptions,
accordian,
dropdownMenu,
- guideComponent,
message,
modal,
page,
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/page/header/component.js b/packages/manager/modules/cloud-universe-components/src/cui/page/header/component.js
deleted file mode 100644
index cdcefa11e501..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/page/header/component.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import template from './template.html';
-
-export default {
- template,
- transclude: true,
- bindings: {
- titleText: '<',
- subtitleText: '<',
- guides: '<',
- },
-};
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/page/header/template.html b/packages/manager/modules/cloud-universe-components/src/cui/page/header/template.html
deleted file mode 100644
index 6ab731a6e071..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/page/header/template.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/page/header/title/component.js b/packages/manager/modules/cloud-universe-components/src/cui/page/header/title/component.js
deleted file mode 100644
index 64a0657c2cda..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/page/header/title/component.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import template from './template.html';
-
-export default {
- template,
- bindings: {
- text: '<',
- subtitleText: '<',
- guides: '<',
- },
-};
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/page/header/title/template.html b/packages/manager/modules/cloud-universe-components/src/cui/page/header/title/template.html
deleted file mode 100644
index d60438459ccb..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/page/header/title/template.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/page/index.js b/packages/manager/modules/cloud-universe-components/src/cui/page/index.js
index 995fd6a261e8..9576c4514315 100644
--- a/packages/manager/modules/cloud-universe-components/src/cui/page/index.js
+++ b/packages/manager/modules/cloud-universe-components/src/cui/page/index.js
@@ -1,19 +1,13 @@
import angular from 'angular';
-import guideComponent from '../guide-component';
-
import contentComponent from './content/component';
-import headerComponent from './header/component';
-import headerTitleComponent from './header/title/component';
import './index.less';
const moduleName = 'cuiPage';
angular
- .module(moduleName, [guideComponent])
- .component('cuiPageContentTitle', contentComponent)
- .component('cuiPageHeader', headerComponent)
- .component('cuiPageHeaderTitle', headerTitleComponent);
+ .module(moduleName, [])
+ .component('cuiPageContentTitle', contentComponent);
export default moduleName;
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/page/index.less b/packages/manager/modules/cloud-universe-components/src/cui/page/index.less
index 935d0edecef6..a8aba46fd45f 100644
--- a/packages/manager/modules/cloud-universe-components/src/cui/page/index.less
+++ b/packages/manager/modules/cloud-universe-components/src/cui/page/index.less
@@ -17,18 +17,6 @@
}
}
- &__header {
- padding: @spacing-top @spacing-side_l;
- font-family: 'Source Sans Pro', sans-serif;
- font-weight: 300;
- background-color: @p-000;
- font-size: @default-font-size;
-
- @media (max-width: 1280px) {
- padding: @spacing-top @spacing-side_s;
- }
- }
-
&__content {
display: block;
padding: @spacing-top @spacing-side_l;
@@ -64,20 +52,3 @@
}
}
}
-
-.cui-page-header {
- &__title {
- margin: 0;
- color: #113f6d;
- font-size: 2.25rem;
- font-weight: 300;
- }
-
- &__subtitle {
- margin-top: 0;
- margin-bottom: 0;
- color: #999;
- font-size: inherit;
- font-weight: 300;
- }
-}
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/tabs/component.js b/packages/manager/modules/cloud-universe-components/src/cui/tabs/component.js
deleted file mode 100755
index 213c2a2cbae4..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/tabs/component.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import controller from './controller';
-import template from './template.html';
-
-export default {
- template,
- controller,
- transclude: true,
-};
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/tabs/controller.js b/packages/manager/modules/cloud-universe-components/src/cui/tabs/controller.js
deleted file mode 100644
index 8b879864734a..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/tabs/controller.js
+++ /dev/null
@@ -1,15 +0,0 @@
-export default class cucCuiTabsController {
- /* @ngInject */
- constructor(CuiTabsService) {
- this.CuiTabsService = CuiTabsService;
- }
-
- $onInit() {
- this.tabs = [];
- }
-
- addTab(tab) {
- this.CuiTabsService.registerTab(tab);
- this.tabs = this.CuiTabsService.getRegisteredTabs();
- }
-}
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/tabs/index.js b/packages/manager/modules/cloud-universe-components/src/cui/tabs/index.js
index 031d77bbb9d7..8497065f4e7b 100644
--- a/packages/manager/modules/cloud-universe-components/src/cui/tabs/index.js
+++ b/packages/manager/modules/cloud-universe-components/src/cui/tabs/index.js
@@ -1,19 +1,10 @@
import angular from 'angular';
import '@uirouter/angularjs';
-import '@ovh-ux/ui-kit';
-import component from './component';
-import tabDirective from './tab/directive';
import service from './service';
-import './index.less';
-
const moduleName = 'cuiTabs';
-angular
- .module(moduleName, ['oui', 'ui.router'])
- .component('cuiTabs', component)
- .directive('cuiTab', tabDirective)
- .service('CuiTabsService', service);
+angular.module(moduleName, ['ui.router']).service('CuiTabsService', service);
export default moduleName;
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/tabs/index.less b/packages/manager/modules/cloud-universe-components/src/cui/tabs/index.less
deleted file mode 100755
index 99f626bb10ef..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/tabs/index.less
+++ /dev/null
@@ -1,73 +0,0 @@
-cui-tabs {
- .cui-tabs {
- list-style: none;
- display: flex;
- flex-wrap: wrap;
- margin: 16px 0 -32px 0;
- padding: 0;
-
- &__tab {
- position: relative;
- padding: 0;
- font-weight: 400;
- transition: all 1000ms ease-in;
-
- a {
- display: block;
- padding: 8px 24px;
- color: #333;
- text-decoration: none;
- }
-
- &::after {
- position: absolute;
- content: '';
- display: block;
- height: 3px;
- background-color: #edc200;
- width: 0;
- left: 50%;
- bottom: 0;
- }
-
- &_active {
- a {
- color: #113f6d;
- font-weight: 700;
- }
-
- &::after {
- width: 100%;
- left: 0;
- }
- }
-
- &_animate {
- &::after {
- width: 100%;
- left: 0;
- animation: tab-active-animation 200ms ease-in 1 forwards;
- }
- }
-
- &_disabled {
- pointer-events: none;
- cursor: default;
- text-decoration: none;
- opacity: 0.6;
- }
- }
-
- @keyframes tab-active-animation {
- 0% {
- width: 0;
- left: 50%;
- }
-
- 100% {
- width: 100%;
- left: 0;
- }
- }
- }
-}
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/tabs/tab/controller.js b/packages/manager/modules/cloud-universe-components/src/cui/tabs/tab/controller.js
deleted file mode 100644
index 9200d468822a..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/tabs/tab/controller.js
+++ /dev/null
@@ -1,20 +0,0 @@
-import set from 'lodash/set';
-
-export default class CuiTabController {
- /* @ngInject */
- constructor($timeout) {
- this.active = false;
- this.isActivating = false;
- this.updateActive = (tabAttr) => {
- this.active = tabAttr.active;
- this.isActivating = tabAttr.isActivating;
-
- if (tabAttr.isActivating) {
- $timeout(() => {
- set(tabAttr, 'isActivating', false);
- this.updateActive(tabAttr);
- }, 200);
- }
- };
- }
-}
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/tabs/tab/directive.js b/packages/manager/modules/cloud-universe-components/src/cui/tabs/tab/directive.js
deleted file mode 100644
index 0712688ad770..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/tabs/tab/directive.js
+++ /dev/null
@@ -1,40 +0,0 @@
-import pick from 'lodash/pick';
-import pickBy from 'lodash/pickBy';
-import identity from 'lodash/identity';
-
-import controller from './controller';
-import template from './template.html';
-
-export default () => ({
- replace: true,
- restrict: 'E',
- require: ['^^cuiTabs', 'cuiTab'],
- controller,
- controllerAs: '$ctrl',
- scope: true,
- transclude: true,
- template,
- bindToController: {
- active: '<',
- state: '@',
- stateParams: '<',
- text: '<',
- disabled: '<',
- },
- link: ($scope, $element, $attrs, $ctrls) => {
- const parentCtrl = $ctrls[0];
- const childCtrl = $ctrls[1];
- let tabAttr = pick(childCtrl, ['active', 'state', 'stateParams', 'text']);
-
- // We purge undefined attributes from the object.
- tabAttr = pickBy(tabAttr, identity);
-
- tabAttr.updateActive = (active, isActivating) => {
- tabAttr.active = active;
- tabAttr.isActivating = isActivating;
- childCtrl.updateActive(tabAttr);
- };
-
- parentCtrl.addTab(tabAttr);
- },
-});
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/tabs/tab/template.html b/packages/manager/modules/cloud-universe-components/src/cui/tabs/tab/template.html
deleted file mode 100644
index ff9db708557c..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/tabs/tab/template.html
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/packages/manager/modules/cloud-universe-components/src/cui/tabs/template.html b/packages/manager/modules/cloud-universe-components/src/cui/tabs/template.html
deleted file mode 100644
index 4b5ba12a4471..000000000000
--- a/packages/manager/modules/cloud-universe-components/src/cui/tabs/template.html
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_de_DE.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_de_DE.json
index 710210d035ff..5a63aeee8ffe 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_de_DE.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_de_DE.json
@@ -1,52 +1,52 @@
{
- "cuc_region_SBG1": "Straßburg (SBG1)",
- "cuc_region_BHS1": "Beauharnois (BHS1)",
- "cuc_region_GRA1": "Gravelines (GRA1)",
- "cuc_region_SBG": "Straßburg",
- "cuc_region_SBG_micro": "Straßburg ({{ micro }})",
- "cuc_region_BHS": "Beauharnois",
- "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
- "cuc_region_ERI": "London",
- "cuc_region_ERI_micro": "London ({{ micro }})",
- "cuc_region_GRA": "Gravelines",
- "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
- "cuc_region_LIM": "Limburg",
- "cuc_region_LIM_micro": "Limburg ({{ micro }})",
- "cuc_region_RBX": "Roubaix",
- "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
- "cuc_region_WAW": "Warschau",
- "cuc_region_WAW_micro": "Warschau ({{ micro }})",
- "cuc_region_DE": "Frankfurt",
- "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
- "cuc_region_UK": "London",
- "cuc_region_UK_micro": "London ({{ micro }})",
- "cuc_region_SGP": "Singapur",
- "cuc_region_SGP_micro": "Singapur ({{ micro }})",
- "cuc_region_SYD": "Sydney",
- "cuc_region_SYD_micro": "Sydney ({{ micro }})",
- "cuc_region_US": "USA",
- "cuc_region_US_micro": "USA ({{ micro }})",
- "cuc_region_localize": "Lokalisieren",
- "cuc_region_location_SBG": "Zentraleuropa (Frankreich)",
- "cuc_region_location_WAW": "Zentraleuropa (Polen)",
- "cuc_region_location_BHS": "Nordamerika (Kanada)",
- "cuc_region_location_ERI": "Westeuropa (Großbritannien)",
- "cuc_region_location_GRA": "Westeuropa (Frankreich)",
- "cuc_region_location_LIM": "Zentraleuropa (Deutschland)",
- "cuc_region_location_RBX": "Westeuropa (Frankreich)",
- "cuc_region_location_DE": "Zentraleuropa (Deutschland)",
- "cuc_region_location_UK": "Westeuropa (Großbritannien)",
- "cuc_region_location_SGP": "Südostasien (Singapur)",
- "cuc_region_location_SYD": "Ozeanien (Australien)",
- "cuc_region_location_US": "USA",
- "cuc_region_continent_SBG": "Zentraleuropa",
- "cuc_region_continent_WAW": "Zentraleuropa",
- "cuc_region_continent_BHS": "Nordamerika",
- "cuc_region_continent_GRA": "Westeuropa",
- "cuc_region_continent_RBX": "Westeuropa",
- "cuc_region_continent_DE": "Zentraleuropa",
- "cuc_region_continent_UK": "Westeuropa",
- "cuc_region_continent_SGP": "Südostasien",
- "cuc_region_continent_SYD": "Ozeanien",
- "cuc_region_continent_US": "USA"
-}
\ No newline at end of file
+ "cuc_region_SBG1": "Straßburg (SBG1)",
+ "cuc_region_BHS1": "Beauharnois (BHS1)",
+ "cuc_region_GRA1": "Gravelines (GRA1)",
+ "cuc_region_SBG": "Straßburg",
+ "cuc_region_SBG_micro": "Straßburg ({{ micro }})",
+ "cuc_region_BHS": "Beauharnois",
+ "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
+ "cuc_region_ERI": "London",
+ "cuc_region_ERI_micro": "London ({{ micro }})",
+ "cuc_region_GRA": "Gravelines",
+ "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
+ "cuc_region_LIM": "Limburg",
+ "cuc_region_LIM_micro": "Limburg ({{ micro }})",
+ "cuc_region_RBX": "Roubaix",
+ "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
+ "cuc_region_WAW": "Warschau",
+ "cuc_region_WAW_micro": "Warschau ({{ micro }})",
+ "cuc_region_DE": "Frankfurt",
+ "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
+ "cuc_region_UK": "London",
+ "cuc_region_UK_micro": "London ({{ micro }})",
+ "cuc_region_SGP": "Singapur",
+ "cuc_region_SGP_micro": "Singapur ({{ micro }})",
+ "cuc_region_SYD": "Sydney",
+ "cuc_region_SYD_micro": "Sydney ({{ micro }})",
+ "cuc_region_US": "USA",
+ "cuc_region_US_micro": "USA ({{ micro }})",
+ "cuc_region_localize": "Lokalisieren",
+ "cuc_region_location_SBG": "Mitteleuropa (Frankreich)",
+ "cuc_region_location_WAW": "Mitteleuropa (Polen)",
+ "cuc_region_location_BHS": "Nordamerika (Kanada)",
+ "cuc_region_location_ERI": "Westeuropa (Großbritannien)",
+ "cuc_region_location_GRA": "Westeuropa (Frankreich)",
+ "cuc_region_location_LIM": "Mitteleuropa (Deutschland)",
+ "cuc_region_location_RBX": "Westeuropa (Frankreich)",
+ "cuc_region_location_DE": "Mitteleuropa (Deutschland)",
+ "cuc_region_location_UK": "Westeuropa (Großbritannien)",
+ "cuc_region_location_SGP": "Südostasien (Singapur)",
+ "cuc_region_location_SYD": "Ozeanien (Australien)",
+ "cuc_region_location_US": "USA",
+ "cuc_region_continent_SBG": "Mitteleuropa",
+ "cuc_region_continent_WAW": "Mitteleuropa",
+ "cuc_region_continent_BHS": "Nordamerika",
+ "cuc_region_continent_GRA": "Westeuropa",
+ "cuc_region_continent_RBX": "Westeuropa",
+ "cuc_region_continent_DE": "Mitteleuropa",
+ "cuc_region_continent_UK": "Westeuropa",
+ "cuc_region_continent_SGP": "Südostasien",
+ "cuc_region_continent_SYD": "Ozeanien",
+ "cuc_region_continent_US": "USA"
+}
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_en_GB.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_en_GB.json
index 335594ce580f..90196eca461b 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_en_GB.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_en_GB.json
@@ -1,52 +1,52 @@
{
- "cuc_region_SBG1": "Strasbourg (SBG1)",
- "cuc_region_BHS1": "Beauharnois (BHS1)",
- "cuc_region_GRA1": "Gravelines (GRA1)",
- "cuc_region_SBG": "Strasbourg",
- "cuc_region_SBG_micro": "Strasbourg ({{ micro }})",
- "cuc_region_BHS": "Beauharnois",
- "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
- "cuc_region_ERI": "London",
- "cuc_region_ERI_micro": "London ({{ micro }})",
- "cuc_region_GRA": "Gravelines",
- "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
- "cuc_region_LIM": "Limburg",
- "cuc_region_LIM_micro": "Limburg ({{ micro }})",
- "cuc_region_RBX": "Roubaix",
- "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
- "cuc_region_WAW": "Warsaw",
- "cuc_region_WAW_micro": "Warsaw ({{ micro }})",
- "cuc_region_DE": "Frankfurt",
- "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
- "cuc_region_UK": "London",
- "cuc_region_UK_micro": "London ({{ micro }})",
- "cuc_region_SGP": "Singapore",
- "cuc_region_SGP_micro": "Singapore ({{ micro }})",
- "cuc_region_SYD": "Sydney",
- "cuc_region_SYD_micro": "Sydney ({{ micro }})",
- "cuc_region_US": "United States of America",
- "cuc_region_US_micro": "United States ({{ micro }})",
- "cuc_region_localize": "Locate",
- "cuc_region_location_SBG": "Central Europe (France)",
- "cuc_region_location_WAW": "Central Europe (Poland)",
- "cuc_region_location_BHS": "North America (Canada)",
- "cuc_region_location_ERI": "Western Europe (United Kingdom)",
- "cuc_region_location_GRA": "Western Europe (France)",
- "cuc_region_location_LIM": "Central Europe (Germany)",
- "cuc_region_location_RBX": "Western Europe (France)",
- "cuc_region_location_DE": "Central Europe (Germany)",
- "cuc_region_location_UK": "Western Europe (United Kingdom)",
- "cuc_region_location_SGP": "South-East Asia (Singapore)",
- "cuc_region_location_SYD": "Oceania (Australia)",
- "cuc_region_location_US": "United States of America",
- "cuc_region_continent_SBG": "Central Europe",
- "cuc_region_continent_WAW": "Central Europe",
- "cuc_region_continent_BHS": "North America",
- "cuc_region_continent_GRA": "Western Europe",
- "cuc_region_continent_RBX": "Western Europe",
- "cuc_region_continent_DE": "Central Europe",
- "cuc_region_continent_UK": "Western Europe",
- "cuc_region_continent_SGP": "South-East Asia",
- "cuc_region_continent_SYD": "Oceania",
- "cuc_region_continent_US": "United States of America"
-}
\ No newline at end of file
+ "cuc_region_SBG1": "Strasbourg (SBG1)",
+ "cuc_region_BHS1": "Beauharnois (BHS1)",
+ "cuc_region_GRA1": "Gravelines (GRA1)",
+ "cuc_region_SBG": "Strasbourg",
+ "cuc_region_SBG_micro": "Strasbourg ({{ micro }})",
+ "cuc_region_BHS": "Beauharnois",
+ "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
+ "cuc_region_ERI": "London",
+ "cuc_region_ERI_micro": "London ({{ micro }})",
+ "cuc_region_GRA": "Gravelines",
+ "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
+ "cuc_region_LIM": "Limburg",
+ "cuc_region_LIM_micro": "Limburg ({{ micro }})",
+ "cuc_region_RBX": "Roubaix",
+ "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
+ "cuc_region_WAW": "Warsaw",
+ "cuc_region_WAW_micro": "Warsaw ({{ micro }})",
+ "cuc_region_DE": "Frankfurt",
+ "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
+ "cuc_region_UK": "London",
+ "cuc_region_UK_micro": "London ({{ micro }})",
+ "cuc_region_SGP": "Singapore",
+ "cuc_region_SGP_micro": "Singapore ({{ micro }})",
+ "cuc_region_SYD": "Sydney",
+ "cuc_region_SYD_micro": "Sydney ({{ micro }})",
+ "cuc_region_US": "United States of America",
+ "cuc_region_US_micro": "United States ({{ micro }})",
+ "cuc_region_localize": "Locate",
+ "cuc_region_location_SBG": "Central Europe (France)",
+ "cuc_region_location_WAW": "Central Europe (Poland)",
+ "cuc_region_location_BHS": "North America (Canada)",
+ "cuc_region_location_ERI": "Western Europe (United Kingdom)",
+ "cuc_region_location_GRA": "Western Europe (France)",
+ "cuc_region_location_LIM": "Central Europe (Germany)",
+ "cuc_region_location_RBX": "Western Europe (France)",
+ "cuc_region_location_DE": "Central Europe (Germany)",
+ "cuc_region_location_UK": "Western Europe (United Kingdom)",
+ "cuc_region_location_SGP": "South-East Asia (Singapore)",
+ "cuc_region_location_SYD": "Oceania (Australia)",
+ "cuc_region_location_US": "United States of America",
+ "cuc_region_continent_SBG": "Central Europe",
+ "cuc_region_continent_WAW": "Central Europe",
+ "cuc_region_continent_BHS": "North America",
+ "cuc_region_continent_GRA": "Western Europe",
+ "cuc_region_continent_RBX": "Western Europe",
+ "cuc_region_continent_DE": "Central Europe",
+ "cuc_region_continent_UK": "Western Europe",
+ "cuc_region_continent_SGP": "South-East Asia",
+ "cuc_region_continent_SYD": "Oceania",
+ "cuc_region_continent_US": "United States of America"
+}
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_es_ES.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_es_ES.json
index 36184590676f..ef770abfcb76 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_es_ES.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_es_ES.json
@@ -1,52 +1,52 @@
{
- "cuc_region_SBG1": "Estrasburgo (SBG1)",
- "cuc_region_BHS1": "Beauharnois (BHS1)",
- "cuc_region_GRA1": "Gravelines (GRA1)",
- "cuc_region_SBG": "Estrasburgo",
- "cuc_region_SBG_micro": "Estrasburgo ({{ micro }})",
- "cuc_region_BHS": "Beauharnois",
- "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
- "cuc_region_ERI": "Londres",
- "cuc_region_ERI_micro": "Londres ({{ micro }})",
- "cuc_region_GRA": "Gravelines",
- "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
- "cuc_region_LIM": "Limburgo",
- "cuc_region_LIM_micro": "Limburgo ({{ micro }})",
- "cuc_region_RBX": "Roubaix",
- "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
- "cuc_region_WAW": "Varsovia",
- "cuc_region_WAW_micro": "Varsovia ({{ micro }})",
- "cuc_region_DE": "Fráncfort",
- "cuc_region_DE_micro": "Fráncfort ({{ micro }})",
- "cuc_region_UK": "Londres",
- "cuc_region_UK_micro": "Londres ({{ micro }})",
- "cuc_region_SGP": "Singapur",
- "cuc_region_SGP_micro": "Singapur ({{ micro }})",
- "cuc_region_SYD": "Sídney",
- "cuc_region_SYD_micro": "Sídney ({{ micro }})",
- "cuc_region_US": "Estados Unidos",
- "cuc_region_US_micro": "Estados Unidos ({{ micro }})",
- "cuc_region_localize": "Localizar",
- "cuc_region_location_SBG": "Europa Central (Francia)",
- "cuc_region_location_WAW": "Europa Central (Polonia)",
- "cuc_region_location_BHS": "Norteamérica (Canadá)",
- "cuc_region_location_ERI": "Europa Occidental (Reino Unido)",
- "cuc_region_location_GRA": "Europa Occidental (Francia)",
- "cuc_region_location_LIM": "Europa Central (Alemania)",
- "cuc_region_location_RBX": "Europa Occidental (Francia)",
- "cuc_region_location_DE": "Europa Central (Alemania)",
- "cuc_region_location_UK": "Europa Occidental (Reino Unido)",
- "cuc_region_location_SGP": "Sudeste asiático (Singapur)",
- "cuc_region_location_SYD": "Oceanía (Australia)",
- "cuc_region_location_US": "Estados Unidos",
- "cuc_region_continent_SBG": "Europa Central",
- "cuc_region_continent_WAW": "Europa Central",
- "cuc_region_continent_BHS": "Norteamérica",
- "cuc_region_continent_GRA": "Europa Occidental",
- "cuc_region_continent_RBX": "Europa Occidental",
- "cuc_region_continent_DE": "Europa Central",
- "cuc_region_continent_UK": "Europa Occidental",
- "cuc_region_continent_SGP": "Sudeste Asiático",
- "cuc_region_continent_SYD": "Oceanía",
- "cuc_region_continent_US": "Estados Unidos"
-}
\ No newline at end of file
+ "cuc_region_SBG1": "Estrasburgo (SBG1)",
+ "cuc_region_BHS1": "Beauharnois (BHS1)",
+ "cuc_region_GRA1": "Gravelines (GRA1)",
+ "cuc_region_SBG": "Estrasburgo",
+ "cuc_region_SBG_micro": "Estrasburgo ({{ micro }})",
+ "cuc_region_BHS": "Beauharnois",
+ "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
+ "cuc_region_ERI": "Londres",
+ "cuc_region_ERI_micro": "Londres ({{ micro }})",
+ "cuc_region_GRA": "Gravelines",
+ "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
+ "cuc_region_LIM": "Limburgo",
+ "cuc_region_LIM_micro": "Limburgo ({{ micro }})",
+ "cuc_region_RBX": "Roubaix",
+ "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
+ "cuc_region_WAW": "Varsovia",
+ "cuc_region_WAW_micro": "Varsovia ({{ micro }})",
+ "cuc_region_DE": "Fráncfort",
+ "cuc_region_DE_micro": "Fráncfort ({{ micro }})",
+ "cuc_region_UK": "Londres",
+ "cuc_region_UK_micro": "Londres ({{ micro }})",
+ "cuc_region_SGP": "Singapur",
+ "cuc_region_SGP_micro": "Singapur ({{ micro }})",
+ "cuc_region_SYD": "Sídney",
+ "cuc_region_SYD_micro": "Sídney ({{ micro }})",
+ "cuc_region_US": "Estados Unidos",
+ "cuc_region_US_micro": "Estados Unidos ({{ micro }})",
+ "cuc_region_localize": "Localizar",
+ "cuc_region_location_SBG": "Europa Central (Francia)",
+ "cuc_region_location_WAW": "Europa Central (Polonia)",
+ "cuc_region_location_BHS": "Norteamérica (Canadá)",
+ "cuc_region_location_ERI": "Europa Occidental (Reino Unido)",
+ "cuc_region_location_GRA": "Europa Occidental (Francia)",
+ "cuc_region_location_LIM": "Europa Central (Alemania)",
+ "cuc_region_location_RBX": "Europa Occidental (Francia)",
+ "cuc_region_location_DE": "Europa Central (Alemania)",
+ "cuc_region_location_UK": "Europa Occidental (Reino Unido)",
+ "cuc_region_location_SGP": "Sudeste asiático (Singapur)",
+ "cuc_region_location_SYD": "Oceanía (Australia)",
+ "cuc_region_location_US": "Estados Unidos",
+ "cuc_region_continent_SBG": "Europa Central",
+ "cuc_region_continent_WAW": "Europa Central",
+ "cuc_region_continent_BHS": "Norteamérica",
+ "cuc_region_continent_GRA": "Europa Occidental",
+ "cuc_region_continent_RBX": "Europa Occidental",
+ "cuc_region_continent_DE": "Europa Central",
+ "cuc_region_continent_UK": "Europa Occidental",
+ "cuc_region_continent_SGP": "Sudeste Asiático",
+ "cuc_region_continent_SYD": "Oceanía",
+ "cuc_region_continent_US": "Estados Unidos"
+}
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fi_FI.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fi_FI.json
index 335594ce580f..90196eca461b 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fi_FI.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fi_FI.json
@@ -1,52 +1,52 @@
{
- "cuc_region_SBG1": "Strasbourg (SBG1)",
- "cuc_region_BHS1": "Beauharnois (BHS1)",
- "cuc_region_GRA1": "Gravelines (GRA1)",
- "cuc_region_SBG": "Strasbourg",
- "cuc_region_SBG_micro": "Strasbourg ({{ micro }})",
- "cuc_region_BHS": "Beauharnois",
- "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
- "cuc_region_ERI": "London",
- "cuc_region_ERI_micro": "London ({{ micro }})",
- "cuc_region_GRA": "Gravelines",
- "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
- "cuc_region_LIM": "Limburg",
- "cuc_region_LIM_micro": "Limburg ({{ micro }})",
- "cuc_region_RBX": "Roubaix",
- "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
- "cuc_region_WAW": "Warsaw",
- "cuc_region_WAW_micro": "Warsaw ({{ micro }})",
- "cuc_region_DE": "Frankfurt",
- "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
- "cuc_region_UK": "London",
- "cuc_region_UK_micro": "London ({{ micro }})",
- "cuc_region_SGP": "Singapore",
- "cuc_region_SGP_micro": "Singapore ({{ micro }})",
- "cuc_region_SYD": "Sydney",
- "cuc_region_SYD_micro": "Sydney ({{ micro }})",
- "cuc_region_US": "United States of America",
- "cuc_region_US_micro": "United States ({{ micro }})",
- "cuc_region_localize": "Locate",
- "cuc_region_location_SBG": "Central Europe (France)",
- "cuc_region_location_WAW": "Central Europe (Poland)",
- "cuc_region_location_BHS": "North America (Canada)",
- "cuc_region_location_ERI": "Western Europe (United Kingdom)",
- "cuc_region_location_GRA": "Western Europe (France)",
- "cuc_region_location_LIM": "Central Europe (Germany)",
- "cuc_region_location_RBX": "Western Europe (France)",
- "cuc_region_location_DE": "Central Europe (Germany)",
- "cuc_region_location_UK": "Western Europe (United Kingdom)",
- "cuc_region_location_SGP": "South-East Asia (Singapore)",
- "cuc_region_location_SYD": "Oceania (Australia)",
- "cuc_region_location_US": "United States of America",
- "cuc_region_continent_SBG": "Central Europe",
- "cuc_region_continent_WAW": "Central Europe",
- "cuc_region_continent_BHS": "North America",
- "cuc_region_continent_GRA": "Western Europe",
- "cuc_region_continent_RBX": "Western Europe",
- "cuc_region_continent_DE": "Central Europe",
- "cuc_region_continent_UK": "Western Europe",
- "cuc_region_continent_SGP": "South-East Asia",
- "cuc_region_continent_SYD": "Oceania",
- "cuc_region_continent_US": "United States of America"
-}
\ No newline at end of file
+ "cuc_region_SBG1": "Strasbourg (SBG1)",
+ "cuc_region_BHS1": "Beauharnois (BHS1)",
+ "cuc_region_GRA1": "Gravelines (GRA1)",
+ "cuc_region_SBG": "Strasbourg",
+ "cuc_region_SBG_micro": "Strasbourg ({{ micro }})",
+ "cuc_region_BHS": "Beauharnois",
+ "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
+ "cuc_region_ERI": "London",
+ "cuc_region_ERI_micro": "London ({{ micro }})",
+ "cuc_region_GRA": "Gravelines",
+ "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
+ "cuc_region_LIM": "Limburg",
+ "cuc_region_LIM_micro": "Limburg ({{ micro }})",
+ "cuc_region_RBX": "Roubaix",
+ "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
+ "cuc_region_WAW": "Warsaw",
+ "cuc_region_WAW_micro": "Warsaw ({{ micro }})",
+ "cuc_region_DE": "Frankfurt",
+ "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
+ "cuc_region_UK": "London",
+ "cuc_region_UK_micro": "London ({{ micro }})",
+ "cuc_region_SGP": "Singapore",
+ "cuc_region_SGP_micro": "Singapore ({{ micro }})",
+ "cuc_region_SYD": "Sydney",
+ "cuc_region_SYD_micro": "Sydney ({{ micro }})",
+ "cuc_region_US": "United States of America",
+ "cuc_region_US_micro": "United States ({{ micro }})",
+ "cuc_region_localize": "Locate",
+ "cuc_region_location_SBG": "Central Europe (France)",
+ "cuc_region_location_WAW": "Central Europe (Poland)",
+ "cuc_region_location_BHS": "North America (Canada)",
+ "cuc_region_location_ERI": "Western Europe (United Kingdom)",
+ "cuc_region_location_GRA": "Western Europe (France)",
+ "cuc_region_location_LIM": "Central Europe (Germany)",
+ "cuc_region_location_RBX": "Western Europe (France)",
+ "cuc_region_location_DE": "Central Europe (Germany)",
+ "cuc_region_location_UK": "Western Europe (United Kingdom)",
+ "cuc_region_location_SGP": "South-East Asia (Singapore)",
+ "cuc_region_location_SYD": "Oceania (Australia)",
+ "cuc_region_location_US": "United States of America",
+ "cuc_region_continent_SBG": "Central Europe",
+ "cuc_region_continent_WAW": "Central Europe",
+ "cuc_region_continent_BHS": "North America",
+ "cuc_region_continent_GRA": "Western Europe",
+ "cuc_region_continent_RBX": "Western Europe",
+ "cuc_region_continent_DE": "Central Europe",
+ "cuc_region_continent_UK": "Western Europe",
+ "cuc_region_continent_SGP": "South-East Asia",
+ "cuc_region_continent_SYD": "Oceania",
+ "cuc_region_continent_US": "United States of America"
+}
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fr_CA.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fr_CA.json
index ccebba51a939..0652adc55968 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fr_CA.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fr_CA.json
@@ -1,52 +1,52 @@
{
- "cuc_region_SBG1": "Strasbourg (SBG1)",
- "cuc_region_BHS1": "Beauharnois (BHS1)",
- "cuc_region_GRA1": "Gravelines (GRA1)",
- "cuc_region_SBG": "Strasbourg",
- "cuc_region_SBG_micro": "Strasbourg ({{ micro }})",
- "cuc_region_BHS": "Beauharnois (x4).",
- "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
- "cuc_region_ERI": "Londres (GB)",
- "cuc_region_ERI_micro": "Londres ({{ micro }})",
- "cuc_region_GRA": "Gravelines",
- "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
- "cuc_region_LIM": "Limbourg",
- "cuc_region_LIM_micro": "Limburg ({{ micro }})",
- "cuc_region_RBX": "roubaix",
- "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
- "cuc_region_WAW": "Varsovie",
- "cuc_region_WAW_micro": "Varsovie ({{ micro }})",
- "cuc_region_DE": "Francfort (AL)",
- "cuc_region_DE_micro": "Francfort ({{ micro }})",
- "cuc_region_UK": "Londres (GB)",
- "cuc_region_UK_micro": "Londres ({{ micro }})",
- "cuc_region_SGP": "Singapour",
- "cuc_region_SGP_micro": "Singapour ({{ micro }})",
- "cuc_region_SYD": "Sydney",
- "cuc_region_SYD_micro": "Sydney ({{ micro }})",
- "cuc_region_US": "États-Unis",
- "cuc_region_US_micro": "États-Unis ({{ micro }})",
- "cuc_region_localize": "Localiser",
- "cuc_region_location_SBG": "Europe Centrale (France)",
- "cuc_region_location_WAW": "Europe Centrale (Pologne)",
- "cuc_region_location_BHS": "Amérique du Nord (Canada)",
- "cuc_region_location_ERI": "Europe de l'Ouest (Grande-Bretagne)",
- "cuc_region_location_GRA": "Europe de l'Ouest (France)",
- "cuc_region_location_LIM": "Europe Centrale (Allemagne)",
- "cuc_region_location_RBX": "Europe de l'Ouest (France)",
- "cuc_region_location_DE": "Europe Centrale (Allemagne)",
- "cuc_region_location_UK": "Europe de l'Ouest (Grande-Bretagne)",
- "cuc_region_location_SGP": "Asie du Sud-Est (Singapour)",
- "cuc_region_location_SYD": "Océanie (Australie)",
- "cuc_region_location_US": "États-Unis",
- "cuc_region_continent_SBG": "Europe Centrale",
- "cuc_region_continent_WAW": "Europe Centrale",
- "cuc_region_continent_BHS": "En Amérique du Nord :",
- "cuc_region_continent_GRA": "Europe de l'Ouest",
- "cuc_region_continent_RBX": "Europe de l'Ouest",
- "cuc_region_continent_DE": "Europe Centrale",
- "cuc_region_continent_UK": "Europe de l'Ouest",
- "cuc_region_continent_SGP": "Asie du Sud-Est",
- "cuc_region_continent_SYD": "Océanie",
- "cuc_region_continent_US": "États-Unis"
-}
\ No newline at end of file
+ "cuc_region_SBG1": "Strasbourg (SBG1)",
+ "cuc_region_BHS1": "Beauharnois (BHS1)",
+ "cuc_region_GRA1": "Gravelines (GRA1)",
+ "cuc_region_SBG": "Strasbourg",
+ "cuc_region_SBG_micro": "Strasbourg ({{ micro }})",
+ "cuc_region_BHS": "Beauharnois",
+ "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
+ "cuc_region_ERI": "Londres",
+ "cuc_region_ERI_micro": "Londres ({{ micro }})",
+ "cuc_region_GRA": "Gravelines",
+ "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
+ "cuc_region_LIM": "Limburg",
+ "cuc_region_LIM_micro": "Limburg ({{ micro }})",
+ "cuc_region_RBX": "Roubaix",
+ "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
+ "cuc_region_WAW": "Varsovie",
+ "cuc_region_WAW_micro": "Varsovie ({{ micro }})",
+ "cuc_region_DE": "Francfort",
+ "cuc_region_DE_micro": "Francfort ({{ micro }})",
+ "cuc_region_UK": "Londres",
+ "cuc_region_UK_micro": "Londres ({{ micro }})",
+ "cuc_region_SGP": "Singapour",
+ "cuc_region_SGP_micro": "Singapour ({{ micro }})",
+ "cuc_region_SYD": "Sydney",
+ "cuc_region_SYD_micro": "Sydney ({{ micro }})",
+ "cuc_region_US": "États-Unis",
+ "cuc_region_US_micro": "États-Unis ({{ micro }})",
+ "cuc_region_localize": "Localiser",
+ "cuc_region_location_SBG": "Europe centrale (France)",
+ "cuc_region_location_WAW": "Europe centrale (Pologne)",
+ "cuc_region_location_BHS": "Amérique du Nord (Canada)",
+ "cuc_region_location_ERI": "Europe de l'Ouest (Grande-Bretagne)",
+ "cuc_region_location_GRA": "Europe de l'Ouest (France)",
+ "cuc_region_location_LIM": "Europe centrale (Allemagne)",
+ "cuc_region_location_RBX": "Europe de l'Ouest (France)",
+ "cuc_region_location_DE": "Europe centrale (Allemagne)",
+ "cuc_region_location_UK": "Europe de l'Ouest (Grande-Bretagne)",
+ "cuc_region_location_SGP": "Asie du Sud-Est (Singapour)",
+ "cuc_region_location_SYD": "Océanie (Australie)",
+ "cuc_region_location_US": "États-Unis",
+ "cuc_region_continent_SBG": "Europe centrale",
+ "cuc_region_continent_WAW": "Europe centrale",
+ "cuc_region_continent_BHS": "Amérique du Nord",
+ "cuc_region_continent_GRA": "Europe de l'Ouest",
+ "cuc_region_continent_RBX": "Europe de l'Ouest",
+ "cuc_region_continent_DE": "Europe centrale",
+ "cuc_region_continent_UK": "Europe de l'Ouest",
+ "cuc_region_continent_SGP": "Asie du Sud-Est",
+ "cuc_region_continent_SYD": "Océanie",
+ "cuc_region_continent_US": "États-Unis"
+}
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fr_FR.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fr_FR.json
index 5c2a3e349468..0652adc55968 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fr_FR.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_fr_FR.json
@@ -27,24 +27,24 @@
"cuc_region_US": "États-Unis",
"cuc_region_US_micro": "États-Unis ({{ micro }})",
"cuc_region_localize": "Localiser",
- "cuc_region_location_SBG": "Europe Centrale (France)",
- "cuc_region_location_WAW": "Europe Centrale (Pologne)",
+ "cuc_region_location_SBG": "Europe centrale (France)",
+ "cuc_region_location_WAW": "Europe centrale (Pologne)",
"cuc_region_location_BHS": "Amérique du Nord (Canada)",
"cuc_region_location_ERI": "Europe de l'Ouest (Grande-Bretagne)",
"cuc_region_location_GRA": "Europe de l'Ouest (France)",
- "cuc_region_location_LIM": "Europe Centrale (Allemagne)",
+ "cuc_region_location_LIM": "Europe centrale (Allemagne)",
"cuc_region_location_RBX": "Europe de l'Ouest (France)",
- "cuc_region_location_DE": "Europe Centrale (Allemagne)",
+ "cuc_region_location_DE": "Europe centrale (Allemagne)",
"cuc_region_location_UK": "Europe de l'Ouest (Grande-Bretagne)",
"cuc_region_location_SGP": "Asie du Sud-Est (Singapour)",
"cuc_region_location_SYD": "Océanie (Australie)",
"cuc_region_location_US": "États-Unis",
- "cuc_region_continent_SBG": "Europe Centrale",
- "cuc_region_continent_WAW": "Europe Centrale",
+ "cuc_region_continent_SBG": "Europe centrale",
+ "cuc_region_continent_WAW": "Europe centrale",
"cuc_region_continent_BHS": "Amérique du Nord",
"cuc_region_continent_GRA": "Europe de l'Ouest",
"cuc_region_continent_RBX": "Europe de l'Ouest",
- "cuc_region_continent_DE": "Europe Centrale",
+ "cuc_region_continent_DE": "Europe centrale",
"cuc_region_continent_UK": "Europe de l'Ouest",
"cuc_region_continent_SGP": "Asie du Sud-Est",
"cuc_region_continent_SYD": "Océanie",
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_it_IT.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_it_IT.json
index 8f358f3e6d88..ccd142e8029e 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_it_IT.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_it_IT.json
@@ -1,52 +1,52 @@
{
- "cuc_region_SBG1": "Strasburgo (SBG1)",
- "cuc_region_BHS1": "Beauharnois (BHS1)",
- "cuc_region_GRA1": "Gravelines (GRA1)",
- "cuc_region_SBG": "Strasburgo",
- "cuc_region_SBG_micro": "Strasburgo ({{ micro }})",
- "cuc_region_BHS": "Beauharnois",
- "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
- "cuc_region_ERI": "Londra",
- "cuc_region_ERI_micro": "Londra ({{ micro }})",
- "cuc_region_GRA": "Gravelines",
- "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
- "cuc_region_LIM": "Limburgo",
- "cuc_region_LIM_micro": "Limburgo ({{ micro }})",
- "cuc_region_RBX": "Roubaix",
- "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
- "cuc_region_WAW": "Varsavia",
- "cuc_region_WAW_micro": "Varsavia ({{ micro }})",
- "cuc_region_DE": "Francoforte",
- "cuc_region_DE_micro": "Francoforte ({{ micro }})",
- "cuc_region_UK": "Londra",
- "cuc_region_UK_micro": "Londra ({{ micro }})",
- "cuc_region_SGP": "Singapore",
- "cuc_region_SGP_micro": "Singapore ({{ micro }})",
- "cuc_region_SYD": "Sydney",
- "cuc_region_SYD_micro": "Sydney ({{ micro }})",
- "cuc_region_US": "Stati uniti",
- "cuc_region_US_micro": "Stati Uniti ({{ micro }})",
- "cuc_region_localize": "Localizza",
- "cuc_region_location_SBG": "Europa Centrale (Francia)",
- "cuc_region_location_WAW": "Europa Centrale (Polonia)",
- "cuc_region_location_BHS": "Nord America (Canada)",
- "cuc_region_location_ERI": "Europa Occidentale (Gran Bretagna)",
- "cuc_region_location_GRA": "Europa Occidentale (Francia)",
- "cuc_region_location_LIM": "Europa Centrale (Germania)",
- "cuc_region_location_RBX": "Europa Occidentale (Francia)",
- "cuc_region_location_DE": "Europa Centrale (Germania)",
- "cuc_region_location_UK": "Europa Occidentale (Gran Bretagna)",
- "cuc_region_location_SGP": "Sud-est asiatico (Singapore)",
- "cuc_region_location_SYD": "Oceania (Australia)",
- "cuc_region_location_US": "Stati uniti",
- "cuc_region_continent_SBG": "Europa Centrale",
- "cuc_region_continent_WAW": "Europa Centrale",
- "cuc_region_continent_BHS": "Nord America ",
- "cuc_region_continent_GRA": "Europa Occidentale",
- "cuc_region_continent_RBX": "Europa Occidentale",
- "cuc_region_continent_DE": "Europa Centrale",
- "cuc_region_continent_UK": "Europa Occidentale",
- "cuc_region_continent_SGP": "Asia Pacifica",
- "cuc_region_continent_SYD": "Oceania",
- "cuc_region_continent_US": "Stati uniti"
-}
\ No newline at end of file
+ "cuc_region_SBG1": "Strasburgo (SBG1)",
+ "cuc_region_BHS1": "Beauharnois (BHS1)",
+ "cuc_region_GRA1": "Gravelines (GRA1)",
+ "cuc_region_SBG": "Strasburgo",
+ "cuc_region_SBG_micro": "Strasburgo ({{ micro }})",
+ "cuc_region_BHS": "Beauharnois",
+ "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
+ "cuc_region_ERI": "Londra",
+ "cuc_region_ERI_micro": "Londra ({{ micro }})",
+ "cuc_region_GRA": "Gravelines",
+ "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
+ "cuc_region_LIM": "Limburgo",
+ "cuc_region_LIM_micro": "Limburgo ({{ micro }})",
+ "cuc_region_RBX": "Roubaix",
+ "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
+ "cuc_region_WAW": "Varsavia",
+ "cuc_region_WAW_micro": "Varsavia ({{ micro }})",
+ "cuc_region_DE": "Francoforte",
+ "cuc_region_DE_micro": "Francoforte ({{ micro }})",
+ "cuc_region_UK": "Londra",
+ "cuc_region_UK_micro": "Londra ({{ micro }})",
+ "cuc_region_SGP": "Singapore",
+ "cuc_region_SGP_micro": "Singapore ({{ micro }})",
+ "cuc_region_SYD": "Sydney",
+ "cuc_region_SYD_micro": "Sydney ({{ micro }})",
+ "cuc_region_US": "Stati uniti",
+ "cuc_region_US_micro": "Stati Uniti ({{ micro }})",
+ "cuc_region_localize": "Localizza",
+ "cuc_region_location_SBG": "Europa centrale (Francia)",
+ "cuc_region_location_WAW": "Europa centrale (Polonia)",
+ "cuc_region_location_BHS": "Nord America (Canada)",
+ "cuc_region_location_ERI": "Europa Occidentale (Gran Bretagna)",
+ "cuc_region_location_GRA": "Europa Occidentale (Francia)",
+ "cuc_region_location_LIM": "Europa centrale (Germania)",
+ "cuc_region_location_RBX": "Europa Occidentale (Francia)",
+ "cuc_region_location_DE": "Europa centrale (Germania)",
+ "cuc_region_location_UK": "Europa Occidentale (Gran Bretagna)",
+ "cuc_region_location_SGP": "Sud-est asiatico (Singapore)",
+ "cuc_region_location_SYD": "Oceania (Australia)",
+ "cuc_region_location_US": "Stati uniti",
+ "cuc_region_continent_SBG": "Europa centrale",
+ "cuc_region_continent_WAW": "Europa centrale",
+ "cuc_region_continent_BHS": "Nord America ",
+ "cuc_region_continent_GRA": "Europa Occidentale",
+ "cuc_region_continent_RBX": "Europa Occidentale",
+ "cuc_region_continent_DE": "Europa centrale",
+ "cuc_region_continent_UK": "Europa Occidentale",
+ "cuc_region_continent_SGP": "Asia Pacifica",
+ "cuc_region_continent_SYD": "Oceania",
+ "cuc_region_continent_US": "Stati uniti"
+}
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_lt_LT.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_lt_LT.json
index 335594ce580f..90196eca461b 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_lt_LT.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_lt_LT.json
@@ -1,52 +1,52 @@
{
- "cuc_region_SBG1": "Strasbourg (SBG1)",
- "cuc_region_BHS1": "Beauharnois (BHS1)",
- "cuc_region_GRA1": "Gravelines (GRA1)",
- "cuc_region_SBG": "Strasbourg",
- "cuc_region_SBG_micro": "Strasbourg ({{ micro }})",
- "cuc_region_BHS": "Beauharnois",
- "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
- "cuc_region_ERI": "London",
- "cuc_region_ERI_micro": "London ({{ micro }})",
- "cuc_region_GRA": "Gravelines",
- "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
- "cuc_region_LIM": "Limburg",
- "cuc_region_LIM_micro": "Limburg ({{ micro }})",
- "cuc_region_RBX": "Roubaix",
- "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
- "cuc_region_WAW": "Warsaw",
- "cuc_region_WAW_micro": "Warsaw ({{ micro }})",
- "cuc_region_DE": "Frankfurt",
- "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
- "cuc_region_UK": "London",
- "cuc_region_UK_micro": "London ({{ micro }})",
- "cuc_region_SGP": "Singapore",
- "cuc_region_SGP_micro": "Singapore ({{ micro }})",
- "cuc_region_SYD": "Sydney",
- "cuc_region_SYD_micro": "Sydney ({{ micro }})",
- "cuc_region_US": "United States of America",
- "cuc_region_US_micro": "United States ({{ micro }})",
- "cuc_region_localize": "Locate",
- "cuc_region_location_SBG": "Central Europe (France)",
- "cuc_region_location_WAW": "Central Europe (Poland)",
- "cuc_region_location_BHS": "North America (Canada)",
- "cuc_region_location_ERI": "Western Europe (United Kingdom)",
- "cuc_region_location_GRA": "Western Europe (France)",
- "cuc_region_location_LIM": "Central Europe (Germany)",
- "cuc_region_location_RBX": "Western Europe (France)",
- "cuc_region_location_DE": "Central Europe (Germany)",
- "cuc_region_location_UK": "Western Europe (United Kingdom)",
- "cuc_region_location_SGP": "South-East Asia (Singapore)",
- "cuc_region_location_SYD": "Oceania (Australia)",
- "cuc_region_location_US": "United States of America",
- "cuc_region_continent_SBG": "Central Europe",
- "cuc_region_continent_WAW": "Central Europe",
- "cuc_region_continent_BHS": "North America",
- "cuc_region_continent_GRA": "Western Europe",
- "cuc_region_continent_RBX": "Western Europe",
- "cuc_region_continent_DE": "Central Europe",
- "cuc_region_continent_UK": "Western Europe",
- "cuc_region_continent_SGP": "South-East Asia",
- "cuc_region_continent_SYD": "Oceania",
- "cuc_region_continent_US": "United States of America"
-}
\ No newline at end of file
+ "cuc_region_SBG1": "Strasbourg (SBG1)",
+ "cuc_region_BHS1": "Beauharnois (BHS1)",
+ "cuc_region_GRA1": "Gravelines (GRA1)",
+ "cuc_region_SBG": "Strasbourg",
+ "cuc_region_SBG_micro": "Strasbourg ({{ micro }})",
+ "cuc_region_BHS": "Beauharnois",
+ "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
+ "cuc_region_ERI": "London",
+ "cuc_region_ERI_micro": "London ({{ micro }})",
+ "cuc_region_GRA": "Gravelines",
+ "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
+ "cuc_region_LIM": "Limburg",
+ "cuc_region_LIM_micro": "Limburg ({{ micro }})",
+ "cuc_region_RBX": "Roubaix",
+ "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
+ "cuc_region_WAW": "Warsaw",
+ "cuc_region_WAW_micro": "Warsaw ({{ micro }})",
+ "cuc_region_DE": "Frankfurt",
+ "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
+ "cuc_region_UK": "London",
+ "cuc_region_UK_micro": "London ({{ micro }})",
+ "cuc_region_SGP": "Singapore",
+ "cuc_region_SGP_micro": "Singapore ({{ micro }})",
+ "cuc_region_SYD": "Sydney",
+ "cuc_region_SYD_micro": "Sydney ({{ micro }})",
+ "cuc_region_US": "United States of America",
+ "cuc_region_US_micro": "United States ({{ micro }})",
+ "cuc_region_localize": "Locate",
+ "cuc_region_location_SBG": "Central Europe (France)",
+ "cuc_region_location_WAW": "Central Europe (Poland)",
+ "cuc_region_location_BHS": "North America (Canada)",
+ "cuc_region_location_ERI": "Western Europe (United Kingdom)",
+ "cuc_region_location_GRA": "Western Europe (France)",
+ "cuc_region_location_LIM": "Central Europe (Germany)",
+ "cuc_region_location_RBX": "Western Europe (France)",
+ "cuc_region_location_DE": "Central Europe (Germany)",
+ "cuc_region_location_UK": "Western Europe (United Kingdom)",
+ "cuc_region_location_SGP": "South-East Asia (Singapore)",
+ "cuc_region_location_SYD": "Oceania (Australia)",
+ "cuc_region_location_US": "United States of America",
+ "cuc_region_continent_SBG": "Central Europe",
+ "cuc_region_continent_WAW": "Central Europe",
+ "cuc_region_continent_BHS": "North America",
+ "cuc_region_continent_GRA": "Western Europe",
+ "cuc_region_continent_RBX": "Western Europe",
+ "cuc_region_continent_DE": "Central Europe",
+ "cuc_region_continent_UK": "Western Europe",
+ "cuc_region_continent_SGP": "South-East Asia",
+ "cuc_region_continent_SYD": "Oceania",
+ "cuc_region_continent_US": "United States of America"
+}
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_pl_PL.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_pl_PL.json
index 0442a1202095..c7639fbf6b0e 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_pl_PL.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_pl_PL.json
@@ -1,52 +1,52 @@
{
- "cuc_region_SBG1": "Strasburg (SBG1)",
- "cuc_region_BHS1": "Beauharnois (BHS1)",
- "cuc_region_GRA1": "Gravelines (GRA1)",
- "cuc_region_SBG": "Strasburg",
- "cuc_region_SBG_micro": "Strasburg ({{ micro }})",
- "cuc_region_BHS": "Beauharnois",
- "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
- "cuc_region_ERI": "Londyn",
- "cuc_region_ERI_micro": "Londyn ({{ micro }})",
- "cuc_region_GRA": "Gravelines",
- "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
- "cuc_region_LIM": "Limburg",
- "cuc_region_LIM_micro": "Limburg ({{ micro }})",
- "cuc_region_RBX": "Roubaix",
- "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
- "cuc_region_WAW": "Warszawa",
- "cuc_region_WAW_micro": "Warszawa ({{ micro }})",
- "cuc_region_DE": "Frankfurt",
- "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
- "cuc_region_UK": "Londyn",
- "cuc_region_UK_micro": "Londyn ({{ micro }})",
- "cuc_region_SGP": "Singapur",
- "cuc_region_SGP_micro": "Singapur ({{ micro }})",
- "cuc_region_SYD": "Sydney",
- "cuc_region_SYD_micro": "Sydney ({{ micro }})",
- "cuc_region_US": "Stany Zjednoczone",
- "cuc_region_US_micro": "Stany Zjednoczone ({{ micro }})",
- "cuc_region_localize": "Lokalizacja",
- "cuc_region_location_SBG": "Europa Środkowa (Francja)",
- "cuc_region_location_WAW": "Europa Środkowa (Polska)",
- "cuc_region_location_BHS": "Ameryka Północna (Kanada)",
- "cuc_region_location_ERI": "Europa Zachodnia (Wielka Brytania)",
- "cuc_region_location_GRA": "Europa Zachodnia (Francja)",
- "cuc_region_location_LIM": "Europa Środkowa (Niemcy)",
- "cuc_region_location_RBX": "Europa Zachodnia (Francja)",
- "cuc_region_location_DE": "Europa Środkowa (Niemcy)",
- "cuc_region_location_UK": "Europa Zachodnia (Wielka Brytania)",
- "cuc_region_location_SGP": "Azja Południowo-Wschodnia (Singapur)",
- "cuc_region_location_SYD": "Oceania (Australia)",
- "cuc_region_location_US": "Stany Zjednoczone",
- "cuc_region_continent_SBG": "Europa Środkowa",
- "cuc_region_continent_WAW": "Europa Środkowa",
- "cuc_region_continent_BHS": "Ameryka Północna",
- "cuc_region_continent_GRA": "Europa Zachodnia",
- "cuc_region_continent_RBX": "Europa Zachodnia",
- "cuc_region_continent_DE": "Europa Środkowa",
- "cuc_region_continent_UK": "Europa Zachodnia",
- "cuc_region_continent_SGP": "Azja Południowo-Wschodnia",
- "cuc_region_continent_SYD": "Oceania",
- "cuc_region_continent_US": "Stany Zjednoczone"
-}
\ No newline at end of file
+ "cuc_region_SBG1": "Strasburg (SBG1)",
+ "cuc_region_BHS1": "Beauharnois (BHS1)",
+ "cuc_region_GRA1": "Gravelines (GRA1)",
+ "cuc_region_SBG": "Strasburg",
+ "cuc_region_SBG_micro": "Strasburg ({{ micro }})",
+ "cuc_region_BHS": "Beauharnois",
+ "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
+ "cuc_region_ERI": "Londyn",
+ "cuc_region_ERI_micro": "Londyn ({{ micro }})",
+ "cuc_region_GRA": "Gravelines",
+ "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
+ "cuc_region_LIM": "Limburg",
+ "cuc_region_LIM_micro": "Limburg ({{ micro }})",
+ "cuc_region_RBX": "Roubaix",
+ "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
+ "cuc_region_WAW": "Warszawa",
+ "cuc_region_WAW_micro": "Warszawa ({{ micro }})",
+ "cuc_region_DE": "Frankfurt",
+ "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
+ "cuc_region_UK": "Londyn",
+ "cuc_region_UK_micro": "Londyn ({{ micro }})",
+ "cuc_region_SGP": "Singapur",
+ "cuc_region_SGP_micro": "Singapur ({{ micro }})",
+ "cuc_region_SYD": "Sydney",
+ "cuc_region_SYD_micro": "Sydney ({{ micro }})",
+ "cuc_region_US": "Stany Zjednoczone",
+ "cuc_region_US_micro": "Stany Zjednoczone ({{ micro }})",
+ "cuc_region_localize": "Lokalizacja",
+ "cuc_region_location_SBG": "Europa Środkowa (Francja)",
+ "cuc_region_location_WAW": "Europa Środkowa (Polska)",
+ "cuc_region_location_BHS": "Ameryka Północna (Kanada)",
+ "cuc_region_location_ERI": "Europa Zachodnia (Wielka Brytania)",
+ "cuc_region_location_GRA": "Europa Zachodnia (Francja)",
+ "cuc_region_location_LIM": "Europa Środkowa (Niemcy)",
+ "cuc_region_location_RBX": "Europa Zachodnia (Francja)",
+ "cuc_region_location_DE": "Europa Środkowa (Niemcy)",
+ "cuc_region_location_UK": "Europa Zachodnia (Wielka Brytania)",
+ "cuc_region_location_SGP": "Azja Południowo-Wschodnia (Singapur)",
+ "cuc_region_location_SYD": "Oceania (Australia)",
+ "cuc_region_location_US": "Stany Zjednoczone",
+ "cuc_region_continent_SBG": "Europa Środkowa",
+ "cuc_region_continent_WAW": "Europa Środkowa",
+ "cuc_region_continent_BHS": "Ameryka Północna",
+ "cuc_region_continent_GRA": "Europa Zachodnia",
+ "cuc_region_continent_RBX": "Europa Zachodnia",
+ "cuc_region_continent_DE": "Europa Środkowa",
+ "cuc_region_continent_UK": "Europa Zachodnia",
+ "cuc_region_continent_SGP": "Azja Południowo-Wschodnia",
+ "cuc_region_continent_SYD": "Oceania",
+ "cuc_region_continent_US": "Stany Zjednoczone"
+}
diff --git a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_pt_PT.json b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_pt_PT.json
index 031c7f12deda..2d11592275be 100644
--- a/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_pt_PT.json
+++ b/packages/manager/modules/cloud-universe-components/src/region/translations/Messages_pt_PT.json
@@ -1,52 +1,52 @@
{
- "cuc_region_SBG1": "Estrasburgo (SBG1)",
- "cuc_region_BHS1": "Beauharnois (BHS1)",
- "cuc_region_GRA1": "Gravelines (GRA1)",
- "cuc_region_SBG": "Estrasburgo",
- "cuc_region_SBG_micro": "Estrasburgo ({{ micro }})",
- "cuc_region_BHS": "Beauharnois",
- "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
- "cuc_region_ERI": "Londres",
- "cuc_region_ERI_micro": "Londres ({{ micro }})",
- "cuc_region_GRA": "Gravelines",
- "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
- "cuc_region_LIM": "Limburgo",
- "cuc_region_LIM_micro": "Limburgo ({{ micro }})",
- "cuc_region_RBX": "Roubaix",
- "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
- "cuc_region_WAW": "Varsóvia",
- "cuc_region_WAW_micro": "Varsóvia ({{ micro }})",
- "cuc_region_DE": "Frankfurt ",
- "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
- "cuc_region_UK": "Londres",
- "cuc_region_UK_micro": "Londres ({{ micro }})",
- "cuc_region_SGP": "Singapura",
- "cuc_region_SGP_micro": "Singapura ({{ micro }})",
- "cuc_region_SYD": "Sydney",
- "cuc_region_SYD_micro": "Sydney ({{ micro }})",
- "cuc_region_US": "Estados Unidos",
- "cuc_region_US_micro": "Estados Unidos ({{ micro }})",
- "cuc_region_localize": "Localizar",
- "cuc_region_location_SBG": "Europa Central (França)",
- "cuc_region_location_WAW": "Europa Central (Polónia)",
- "cuc_region_location_BHS": "América do Norte (Canadá)",
- "cuc_region_location_ERI": "Europa Ocidental (Reino Unido)",
- "cuc_region_location_GRA": "Europa Ocidental (França)",
- "cuc_region_location_LIM": "Europa Central (Alemanha)",
- "cuc_region_location_RBX": "Europa Ocidental (França)",
- "cuc_region_location_DE": "Europa Central (Alemanha)",
- "cuc_region_location_UK": "Europa Ocidental (Reino Unido)",
- "cuc_region_location_SGP": "Sudeste Asiático (Singapura)",
- "cuc_region_location_SYD": "Oceânia (Austrália)",
- "cuc_region_location_US": "Estados Unidos",
- "cuc_region_continent_SBG": "Europa Central",
- "cuc_region_continent_WAW": "Europa Central",
- "cuc_region_continent_BHS": "América do Norte",
- "cuc_region_continent_GRA": "Europa Ocidental",
- "cuc_region_continent_RBX": "Europa Ocidental",
- "cuc_region_continent_DE": "Europa Central",
- "cuc_region_continent_UK": "Europa Ocidental",
- "cuc_region_continent_SGP": "Sudeste Asiático",
- "cuc_region_continent_SYD": "Oceânia",
- "cuc_region_continent_US": "Estados Unidos"
-}
\ No newline at end of file
+ "cuc_region_SBG1": "Estrasburgo (SBG1)",
+ "cuc_region_BHS1": "Beauharnois (BHS1)",
+ "cuc_region_GRA1": "Gravelines (GRA1)",
+ "cuc_region_SBG": "Estrasburgo",
+ "cuc_region_SBG_micro": "Estrasburgo ({{ micro }})",
+ "cuc_region_BHS": "Beauharnois",
+ "cuc_region_BHS_micro": "Beauharnois ({{ micro }})",
+ "cuc_region_ERI": "Londres",
+ "cuc_region_ERI_micro": "Londres ({{ micro }})",
+ "cuc_region_GRA": "Gravelines",
+ "cuc_region_GRA_micro": "Gravelines ({{ micro }})",
+ "cuc_region_LIM": "Limburgo",
+ "cuc_region_LIM_micro": "Limburgo ({{ micro }})",
+ "cuc_region_RBX": "Roubaix",
+ "cuc_region_RBX_micro": "Roubaix ({{ micro }})",
+ "cuc_region_WAW": "Varsóvia",
+ "cuc_region_WAW_micro": "Varsóvia ({{ micro }})",
+ "cuc_region_DE": "Frankfurt ",
+ "cuc_region_DE_micro": "Frankfurt ({{ micro }})",
+ "cuc_region_UK": "Londres",
+ "cuc_region_UK_micro": "Londres ({{ micro }})",
+ "cuc_region_SGP": "Singapura",
+ "cuc_region_SGP_micro": "Singapura ({{ micro }})",
+ "cuc_region_SYD": "Sydney",
+ "cuc_region_SYD_micro": "Sydney ({{ micro }})",
+ "cuc_region_US": "Estados Unidos",
+ "cuc_region_US_micro": "Estados Unidos ({{ micro }})",
+ "cuc_region_localize": "Localizar",
+ "cuc_region_location_SBG": "Europa Central (França)",
+ "cuc_region_location_WAW": "Europa Central (Polónia)",
+ "cuc_region_location_BHS": "América do Norte (Canadá)",
+ "cuc_region_location_ERI": "Europa Ocidental (Reino Unido)",
+ "cuc_region_location_GRA": "Europa Ocidental (França)",
+ "cuc_region_location_LIM": "Europa Central (Alemanha)",
+ "cuc_region_location_RBX": "Europa Ocidental (França)",
+ "cuc_region_location_DE": "Europa Central (Alemanha)",
+ "cuc_region_location_UK": "Europa Ocidental (Reino Unido)",
+ "cuc_region_location_SGP": "Sudeste Asiático (Singapura)",
+ "cuc_region_location_SYD": "Oceânia (Austrália)",
+ "cuc_region_location_US": "Estados Unidos",
+ "cuc_region_continent_SBG": "Europa Central",
+ "cuc_region_continent_WAW": "Europa Central",
+ "cuc_region_continent_BHS": "América do Norte",
+ "cuc_region_continent_GRA": "Europa Ocidental",
+ "cuc_region_continent_RBX": "Europa Ocidental",
+ "cuc_region_continent_DE": "Europa Central",
+ "cuc_region_continent_UK": "Europa Ocidental",
+ "cuc_region_continent_SGP": "Sudeste Asiático",
+ "cuc_region_continent_SYD": "Oceânia",
+ "cuc_region_continent_US": "Estados Unidos"
+}
diff --git a/packages/manager/modules/config/package.json b/packages/manager/modules/config/package.json
index 9d4dc133215c..e96e19542c8a 100644
--- a/packages/manager/modules/config/package.json
+++ b/packages/manager/modules/config/package.json
@@ -13,9 +13,7 @@
"directory": "packages/manager/modules/config"
},
"license": "BSD-3-Clause",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/config.js",
+ "main": "./dist/esm/index.js",
"files": [
"dist"
],
@@ -28,7 +26,10 @@
"start:dev": "lerna exec --stream --scope='@ovh-ux/manager-config' --include-dependencies -- yarn run dev",
"start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-config' --include-dependencies -- yarn run dev:watch"
},
+ "dependencies": {
+ "lodash-es": "^4.17.15"
+ },
"devDependencies": {
"@ovh-ux/component-rollup-config": "^7.0.0"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/config/rollup.config.js b/packages/manager/modules/config/rollup.config.js
index 89c57f32acc3..dba7f6cc2fd6 100644
--- a/packages/manager/modules/config/rollup.config.js
+++ b/packages/manager/modules/config/rollup.config.js
@@ -4,11 +4,4 @@ const config = rollupConfig({
input: 'src/index.js',
});
-const outputs = [config.es()];
-
-if (process.env.BUILD === 'production') {
- outputs.push(config.cjs());
- outputs.push(config.umd());
-}
-
-export default outputs;
+export default [config.es()];
diff --git a/packages/manager/modules/config/src/environment/environment.service.js b/packages/manager/modules/config/src/environment/environment.service.js
index 0834386a13ea..f251651f9ed7 100644
--- a/packages/manager/modules/config/src/environment/environment.service.js
+++ b/packages/manager/modules/config/src/environment/environment.service.js
@@ -1,8 +1,14 @@
import { ALLOWED_REGIONS, DEFAULT_REGION } from './environment.constants';
+import {
+ detectUserLocale,
+ findAvailableLocale,
+ saveUserLocale,
+} from '../locale';
export default class EnvironmentService {
constructor() {
this.region = DEFAULT_REGION;
+ this.userLocale = findAvailableLocale(detectUserLocale(), this.region);
this.version = null;
}
@@ -17,6 +23,20 @@ export default class EnvironmentService {
return this.region;
}
+ setUserLocale(userLocale) {
+ const locale = findAvailableLocale(userLocale, this.getRegion());
+ saveUserLocale(locale);
+ this.userLocale = locale;
+ }
+
+ getUserLocale() {
+ return this.userLocale;
+ }
+
+ getUserLanguage() {
+ return this.userLocale.split('-')[0];
+ }
+
setVersion(version) {
this.version = version;
}
diff --git a/packages/manager/modules/config/src/index.js b/packages/manager/modules/config/src/index.js
index 22a9996acd0e..5737476c6b4a 100644
--- a/packages/manager/modules/config/src/index.js
+++ b/packages/manager/modules/config/src/index.js
@@ -1,7 +1,24 @@
import _Environment from './environment';
+import {
+ convertLanguageFromOVHToBCP47 as _convertLanguageFromOVHToBCP47,
+ detectUserLocale as _detectUserLocale,
+ findLanguage as _findLanguage,
+} from './locale';
+
+import { LANGUAGES as _LANGUAGES } from './locale/locale.constants';
+
export const Environment = _Environment;
+export const convertLanguageFromOVHToBCP47 = _convertLanguageFromOVHToBCP47;
+export const detectUserLocale = _detectUserLocale;
+export const findLanguage = _findLanguage;
+export const LANGUAGES = _LANGUAGES;
+
export default {
+ convertLanguageFromOVHToBCP47,
Environment,
+ detectUserLocale,
+ findLanguage,
+ LANGUAGES,
};
diff --git a/packages/manager/modules/config/src/locale/index.js b/packages/manager/modules/config/src/locale/index.js
new file mode 100644
index 000000000000..61f34dc943fc
--- /dev/null
+++ b/packages/manager/modules/config/src/locale/index.js
@@ -0,0 +1,87 @@
+import { get } from 'lodash-es';
+import { LANGUAGES, localeRegex, localeStorageKey } from './locale.constants';
+
+const preferredCountry = (language, region) => {
+ if (['FR', 'EN'].includes(language.toUpperCase())) {
+ const customLanguage = get(LANGUAGES.preferred, `${language}.${region}`);
+ if (customLanguage) {
+ return customLanguage;
+ }
+ }
+ return language;
+};
+
+export const findLanguage = (language, country) => {
+ let searchCountry = country;
+ if (!country) {
+ searchCountry = language;
+ }
+ const locale = `${language.toLowerCase()}_${searchCountry.toUpperCase()}`;
+
+ const availableLangsKeys = LANGUAGES.available.map(({ key }) => key);
+
+ if (availableLangsKeys.includes(locale)) {
+ return locale;
+ }
+
+ // Not found: Try to find another country with same base language
+ const similarLanguage = availableLangsKeys.find(
+ (val) => localeRegex.test(val) && val.match(localeRegex)[1] === language,
+ );
+ if (similarLanguage) {
+ return similarLanguage;
+ }
+
+ // Not found
+ return LANGUAGES.defaultLoc;
+};
+
+export const findAvailableLocale = (userLocale, region) => {
+ const splittedLocale = userLocale.match(localeRegex);
+
+ if (!splittedLocale) {
+ return userLocale || LANGUAGES.defaultLoc;
+ }
+
+ // Format the value
+ const language = splittedLocale[1];
+ const country = splittedLocale[2]
+ ? splittedLocale[2]
+ : preferredCountry(language, region);
+
+ if (language === 'nl') {
+ return findAvailableLocale('en_GB');
+ }
+ return findLanguage(language, country);
+};
+
+export const detectUserLocale = () => {
+ if (localStorage[localeStorageKey]) {
+ return localStorage[localeStorageKey];
+ }
+ if (navigator.language || navigator.userLanguage) {
+ return navigator.language || navigator.userLanguage;
+ }
+ return LANGUAGES.defaultLoc;
+};
+
+export const saveUserLocale = (locale) => {
+ localStorage[localeStorageKey] = locale;
+};
+
+/**
+ * BCP 47 (also known as IETF language tag) is an international standard to identify human languages
+ * @param {string} language The language to convert, in the OVHcloud format (i.e.: 'fr_FR')
+ * @returns {string} The languag converted to BCP 47 (i.e.: 'fr-FR')
+ */
+export const convertLanguageFromOVHToBCP47 = (language) => {
+ return language.replace('_', '-');
+};
+
+export default {
+ convertLanguageFromOVHToBCP47,
+ detectUserLocale,
+ saveUserLocale,
+ findAvailableLocale,
+ findLanguage,
+};
diff --git a/packages/manager/modules/config/src/locale/locale.constants.js b/packages/manager/modules/config/src/locale/locale.constants.js
new file mode 100644
index 000000000000..21b503f8c308
--- /dev/null
+++ b/packages/manager/modules/config/src/locale/locale.constants.js
@@ -0,0 +1,67 @@
+export const LANGUAGES = {
+ available: [
+ {
+ name: 'Deutsch',
+ key: 'de_DE',
+ },
+ {
+ name: 'English',
+ key: 'en_GB',
+ },
+ {
+ name: 'Español',
+ key: 'es_ES',
+ },
+ {
+ name: 'Français',
+ key: 'fr_FR',
+ },
+ {
+ name: 'Français (Canadien)',
+ key: 'fr_CA',
+ },
+ {
+ name: 'Italiano',
+ key: 'it_IT',
+ },
+ {
+ name: 'Lietuviškai',
+ key: 'lt_LT',
+ },
+ {
+ name: 'Polski',
+ key: 'pl_PL',
+ },
+ {
+ name: 'Português',
+ key: 'pt_PT',
+ },
+ {
+ name: 'Suomi',
+ key: 'fi_FI',
+ },
+ ],
+ defaultLoc: 'fr_FR',
+ fallback: 'fr_FR',
+ preferred: {
+ en: {
+ US: 'GB',
+ CA: 'GB',
+ EU: 'GB',
+ },
+ fr: {
+ US: 'CA',
+ CA: 'CA',
+ EU: 'FR',
+ },
+ },
+};
+
+export const localeStorageKey = 'univers-selected-language';
+export const localeRegex = /^([a-zA-Z]+)(?:[_-]([a-zA-Z]+))?$/;
+
+export default {
+ LANGUAGES,
+ localeStorageKey,
+ localeRegex,
+};
diff --git a/packages/manager/modules/core/package.json b/packages/manager/modules/core/package.json
index 31111b538960..e5d6361d538a 100644
--- a/packages/manager/modules/core/package.json
+++ b/packages/manager/modules/core/package.json
@@ -13,9 +13,7 @@
"directory": "packages/manager/modules/core"
},
"license": "BSD-3-Clause",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/core.js",
+ "main": "./dist/esm/index.js",
"files": [
"dist"
],
diff --git a/packages/manager/modules/core/rollup.config.js b/packages/manager/modules/core/rollup.config.js
index cbd530bd200f..dba7f6cc2fd6 100644
--- a/packages/manager/modules/core/rollup.config.js
+++ b/packages/manager/modules/core/rollup.config.js
@@ -4,21 +4,4 @@ const config = rollupConfig({
input: 'src/index.js',
});
-const outputs = [config.es()];
-
-if (process.env.BUILD === 'production') {
- outputs.push(config.cjs());
- outputs.push(
- config.umd({
- output: {
- globals: {
- '@ovh-ux/ng-ovh-http': 'ngOvhHttp',
- '@ovh-ux/ng-ovh-sso-auth': 'ngOvhSsoAuth',
- angular: 'angular',
- },
- },
- }),
- );
-}
-
-export default outputs;
+export default [config.es()];
diff --git a/packages/manager/modules/core/src/index.js b/packages/manager/modules/core/src/index.js
index 7ae5336a6bfc..2d27c72cd252 100644
--- a/packages/manager/modules/core/src/index.js
+++ b/packages/manager/modules/core/src/index.js
@@ -1,4 +1,4 @@
-import { Environment } from '@ovh-ux/manager-config';
+import { Environment, LANGUAGES } from '@ovh-ux/manager-config';
import angular from 'angular';
import { set, kebabCase } from 'lodash-es';
@@ -23,14 +23,12 @@ import '@uirouter/angularjs';
import coreConfig from './config';
import ouiConfig from './oui-angular';
import translateFactory from './translate/translate.factory';
-import translateServiceProvider from './translate/translate.service';
import sessionService from './session/session.service';
import redirectionFilter from './redirection/redirection.filter';
import redirectionService from './redirection/redirection.service';
import {
HOSTNAME_REGIONS,
- LANGUAGES,
MANAGER_URLS,
REDIRECT_URLS,
URLS,
@@ -53,7 +51,6 @@ angular
ngOvhSsoAuth,
])
.constant('constants', {})
- .constant('CORE_LANGUAGES', LANGUAGES)
.provider(
'CORE_MANAGER_URLS',
/* @ngInject */ (coreConfigProvider) => ({
@@ -63,34 +60,25 @@ angular
)
.constant('CORE_REDIRECT_URLS', REDIRECT_URLS)
.constant('CORE_URLS', URLS)
- .provider('TranslateService', translateServiceProvider)
.factory('TranslateInterceptor', translateFactory)
- .config(
- (
- $translateProvider,
- translatePluggableLoaderProvider,
- TranslateServiceProvider,
- ) => {
- TranslateServiceProvider.setUserLocale();
-
- const defaultLanguage = TranslateServiceProvider.getUserLocale();
+ .config(($translateProvider, translatePluggableLoaderProvider) => {
+ const defaultLanguage = Environment.getUserLocale();
- $translateProvider.useLoader('translatePluggableLoader');
+ $translateProvider.useLoader('translatePluggableLoader');
- translatePluggableLoaderProvider.useLoader('asyncLoader');
+ translatePluggableLoaderProvider.useLoader('asyncLoader');
- $translateProvider.useLoaderCache(true);
- $translateProvider.useSanitizeValueStrategy('sanitizeParameters');
- $translateProvider.useMissingTranslationHandler(
- 'translateMissingTranslationHandler',
- );
+ $translateProvider.useLoaderCache(true);
+ $translateProvider.useSanitizeValueStrategy('sanitizeParameters');
+ $translateProvider.useMissingTranslationHandler(
+ 'translateMissingTranslationHandler',
+ );
- $translateProvider.preferredLanguage(defaultLanguage);
+ $translateProvider.preferredLanguage(defaultLanguage);
- $translateProvider.use(defaultLanguage);
- $translateProvider.fallbackLanguage(LANGUAGES.fallback);
- },
- )
+ $translateProvider.use(defaultLanguage);
+ $translateProvider.fallbackLanguage(LANGUAGES.fallback);
+ })
.service('SessionService', sessionService)
.service('RedirectionService', redirectionService)
.filter('redirection', redirectionFilter)
@@ -99,13 +87,13 @@ angular
'translateMissingTranslationHandler',
($sanitize) => (translationId) => $sanitize(translationId),
)
- .run((tmhDynamicLocaleCache, tmhDynamicLocale, TranslateService) => {
+ .run((tmhDynamicLocaleCache, tmhDynamicLocale) => {
const injectAngularLocale = (lang) =>
tmhDynamicLocaleCache.put(
lang,
angular.injector(['ngLocale']).get('$locale'),
);
- const defaultLanguage = TranslateService.getUserLocale();
+ const defaultLanguage = Environment.getUserLocale();
const angularLocale = kebabCase(defaultLanguage);
let angularLocalePromise;
@@ -151,18 +139,18 @@ angular
.then(() => tmhDynamicLocale.set(angularLocale));
})
.run(
- /* @ngInject */ ($rootScope, TranslateService) => {
+ /* @ngInject */ ($rootScope) => {
$rootScope.$on('lang.onChange', (event, { lang }) => {
- TranslateService.setUserLocale(lang);
+ Environment.setUserLocale(lang);
window.location.reload();
});
},
)
.run(
/* @ngInject */ ($document) => {
- let { 'univers-selected-language': lang } = localStorage;
- [lang] = lang.split('_');
- $document.querySelectorAll('html')[0].setAttribute('lang', lang);
+ $document
+ .querySelectorAll('html')[0]
+ .setAttribute('lang', Environment.getUserLanguage());
},
)
.run((ssoAuthentication /* , User */) => {
@@ -282,6 +270,9 @@ export const bootstrapApplication = () => {
}))
.then((configuration) => {
Environment.setRegion(configuration.region);
- return configuration;
+ return {
+ ...configuration,
+ locale: Environment.getUserLocale(),
+ };
});
};
diff --git a/packages/manager/modules/core/src/manager-core.constants.js b/packages/manager/modules/core/src/manager-core.constants.js
index b66a2fdbc7b9..a72b5e6d5748 100644
--- a/packages/manager/modules/core/src/manager-core.constants.js
+++ b/packages/manager/modules/core/src/manager-core.constants.js
@@ -1,62 +1,3 @@
-export const LANGUAGES = {
- available: [
- {
- name: 'Deutsch',
- key: 'de_DE',
- },
- {
- name: 'English',
- key: 'en_GB',
- },
- {
- name: 'Español',
- key: 'es_ES',
- },
- {
- name: 'Français',
- key: 'fr_FR',
- },
- {
- name: 'Français (Canadien)',
- key: 'fr_CA',
- },
- {
- name: 'Italiano',
- key: 'it_IT',
- },
- {
- name: 'Lietuviškai',
- key: 'lt_LT',
- },
- {
- name: 'Polski',
- key: 'pl_PL',
- },
- {
- name: 'Português',
- key: 'pt_PT',
- },
- {
- name: 'Suomi',
- key: 'fi_FI',
- },
- ],
- defaultLoc: 'fr_FR',
- fallback: 'fr_FR',
- preferred: {
- en: {
- US: 'GB',
- CA: 'GB',
- EU: 'GB',
- },
- fr: {
- US: 'CA',
- CA: 'CA',
- EU: 'FR',
- },
- },
-};
-
export const REDIRECT_URLS = {
support: 'https://www.ovh.com/manager/dedicated/index.html#/ticket',
billing: 'https://www.ovh.com/manager/dedicated/index.html#/billing/history',
@@ -607,7 +548,6 @@ export const HOSTNAME_REGIONS = {
export default {
HOSTNAME_REGIONS,
- LANGUAGES,
MANAGER_URLS,
REDIRECT_URLS,
URLS,
diff --git a/packages/manager/modules/core/src/translate/translate.factory.js b/packages/manager/modules/core/src/translate/translate.factory.js
index 3b172154dc0e..f42e76443eb7 100644
--- a/packages/manager/modules/core/src/translate/translate.factory.js
+++ b/packages/manager/modules/core/src/translate/translate.factory.js
@@ -1,15 +1,17 @@
import { find, startsWith } from 'lodash-es';
+import { Environment } from '@ovh-ux/manager-config';
+
import { HEADER_LOCALE, ROUTES_PREFIX } from './translate.constants';
-export default /* @ngInject */ (TranslateService) => ({
+export default /* @ngInject */ () => ({
request: (config) => {
if (find(ROUTES_PREFIX, (route) => startsWith(config.url, route))) {
return {
...config,
headers: {
...config.headers,
- [HEADER_LOCALE]: TranslateService.getUserLocale(),
+ [HEADER_LOCALE]: Environment.getUserLocale(),
},
};
}
diff --git a/packages/manager/modules/core/src/translate/translate.service.js b/packages/manager/modules/core/src/translate/translate.service.js
deleted file mode 100644
index c49addddd105..000000000000
--- a/packages/manager/modules/core/src/translate/translate.service.js
+++ /dev/null
@@ -1,137 +0,0 @@
-import { find, get, indexOf, map } from 'lodash-es';
-
-/**
- * @ngdoc service
- * @name managerApp.service:TranslateService
- * @description Manage translations
- */
-export default class TranslateServiceProvider {
- /* @ngInject */
-
- constructor(CORE_LANGUAGES, coreConfigProvider) {
- this.LANGUAGES = CORE_LANGUAGES;
- this.coreConfigProvider = coreConfigProvider;
- this.storageKey = 'univers-selected-language';
- this.localeRegex = /^([a-zA-Z]+)(?:[_-]([a-zA-Z]+))?$/;
- this.availableLangsKeys = map(this.LANGUAGES.available, 'key');
- this.currentLanguage = this.LANGUAGES.defaultLoc;
- }
-
- /**
- * @ngdoc function
- * @methodOf managerApp.service:TranslateService
- * @name setUserLocale
- * @description Set current user locale (in localStorage)
- * @param {String} locale - (optional) Force to set the given locale identifier
- */
- setUserLocale(locale) {
- let definedLocale = locale;
- if (!definedLocale) {
- if (localStorage[this.storageKey]) {
- definedLocale = localStorage[this.storageKey];
- } else if (navigator.language || navigator.userLanguage) {
- definedLocale = navigator.language || navigator.userLanguage;
- } else {
- definedLocale = this.LANGUAGES.defaultLoc;
- }
- }
- const splittedLocale = definedLocale.match(this.localeRegex);
- if (splittedLocale) {
- // Format the value
- const language = splittedLocale[1];
- const country = splittedLocale[2]
- ? splittedLocale[2]
- : this.preferredCountry(language);
- this.currentLanguage = this.findLanguage(language, country);
- } else {
- // Incorrect value
- this.currentLanguage = this.currentLanguage || this.LANGUAGES.defaultLoc;
- }
- // Save it!
- localStorage[this.storageKey] = this.currentLanguage;
- }
-
- /**
- * @ngdoc function
- * @methodOf managerApp.service:TranslateService
- * @name getUserLocale
- * @description Returns the current user locale
- * @param {Boolean} min - (optional) Return the base locale only
- * @return {String} - Current locale
- */
- getUserLocale(min) {
- if (min) {
- return this.currentLanguage.split('_')[0];
- }
- return this.currentLanguage;
- }
-
- /**
- * @ngdoc function
- * @methodOf managerApp.service:TranslateService
- * @name getGeneralLanguage
- * @description Returns either fr or en depending on current language
- * @return {String} - Current locale
- */
- getGeneralLanguage() {
- if (/fr/i.test(this.currentLanguage.split('_')[0])) {
- return 'fr';
- }
- return 'en';
- }
-
- preferredCountry(language) {
- if (indexOf(['FR', 'EN'], language.toUpperCase() > -1)) {
- const customLanguage = get(
- this.LANGUAGES.preferred,
- `${language}.${this.coreConfigProvider.getRegion()}`,
- );
- if (customLanguage) {
- return customLanguage;
- }
- }
- return language;
- }
-
- findLanguage(language, country) {
- const locale = `${language.toLowerCase()}_${country.toUpperCase()}`;
- if (this.availableLangsKeys.indexOf(locale) > -1) {
- return locale;
- }
- // Not found: Try to find another country with same base language
- const similarLanguage = find(
- this.availableLangsKeys,
- (val) =>
- this.localeRegex.test(val) &&
- val.match(this.localeRegex)[1] === language,
- );
- if (similarLanguage) {
- return similarLanguage;
- }
-
- if (language === 'nl') {
- this.setUserLocale('en_GB');
- return 'en_GB';
- }
-
- // Not found
- return this.LANGUAGES.defaultLoc;
- }
-
- /**
- * BCP 47 (also known as IETF language tag) is an international standard to identify human languages
- * @param {string} language The language to convert, in the OVHcloud format (i.e.: 'fr_FR')
- * @returns {string} The languag converted to BCP 47 (i.e.: 'fr-FR')
- */
- static convertFromOVHToBCP47(language) {
- return language.replace('_', '-');
- }
-
- $get() {
- return {
- getUserLocale: (locale) => this.getUserLocale(locale),
- getGeneralLanguage: () => this.getGeneralLanguage(),
- setUserLocale: (min) => this.setUserLocale(min),
- };
- }
-}
diff --git a/packages/manager/modules/emailpro/package.json b/packages/manager/modules/emailpro/package.json
index 7711ad181974..e1ea31d3222a 100644
--- a/packages/manager/modules/emailpro/package.json
+++ b/packages/manager/modules/emailpro/package.json
@@ -18,7 +18,7 @@
},
"peerDependencies": {
"@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-ovh-export-csv": "^2.0.0",
"@ovh-ux/ng-ovh-http": "^5.0.0",
"@ovh-ux/ng-ovh-swimming-poll": "^5.0.1",
diff --git a/packages/manager/modules/emailpro/src/account/delegation/emailpro-account-delegation.html b/packages/manager/modules/emailpro/src/account/delegation/emailpro-account-delegation.html
index 1fbf8db87e8d..39a9a58a6785 100644
--- a/packages/manager/modules/emailpro/src/account/delegation/emailpro-account-delegation.html
+++ b/packages/manager/modules/emailpro/src/account/delegation/emailpro-account-delegation.html
@@ -227,23 +227,6 @@
/>
-
-
-
-
-
-
-
-
-
{
- ovhDocUrlProvider.setUserLocale(TranslateServiceProvider.getUserLocale());
+ /* @ngInject */ ($qProvider, ovhDocUrlProvider) => {
+ ovhDocUrlProvider.setUserLocale(Environment.getUserLocale());
$qProvider.errorOnUnhandledRejections(false);
},
)
diff --git a/packages/manager/modules/mfa-enrollment/package.json b/packages/manager/modules/mfa-enrollment/package.json
index e14dba663c23..42b7f6280ba2 100644
--- a/packages/manager/modules/mfa-enrollment/package.json
+++ b/packages/manager/modules/mfa-enrollment/package.json
@@ -17,7 +17,7 @@
"lodash": "^4.17.15"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-at-internet": "^5.0.1",
"@ovh-ux/ui-kit": "^4.1.12",
"@uirouter/angularjs": "^1.0.23",
@@ -28,4 +28,4 @@
"angular-sanitize": "^1.7.5",
"angular-translate": "^2.18.1"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/nasha/package.json b/packages/manager/modules/nasha/package.json
index 6e7a005a20df..82710ce1fc11 100644
--- a/packages/manager/modules/nasha/package.json
+++ b/packages/manager/modules/nasha/package.json
@@ -15,7 +15,8 @@
"lodash": "^4.17.15"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-ovh-cloud-universe-components": "^2.0.0",
"@ovh-ux/ng-ovh-doc-url": "^2.0.0",
"@ovh-ux/ng-ovh-responsive-popover": "^5.0.2",
@@ -29,4 +30,4 @@
"ovh-api-services": "^9.39.1",
"ovh-ui-kit-bs": "^4.1.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/nasha/src/nasha.module.js b/packages/manager/modules/nasha/src/nasha.module.js
index 83ade5ccb10e..758f766919de 100644
--- a/packages/manager/modules/nasha/src/nasha.module.js
+++ b/packages/manager/modules/nasha/src/nasha.module.js
@@ -12,6 +12,8 @@ import 'angular-ui-bootstrap';
import 'ovh-api-services';
import '@ovh-ux/ui-kit';
+import { Environment } from '@ovh-ux/manager-config';
+
import NashaCtrl from './controller';
import NashaAddCtrl from './add/nasha-add.controller';
import NashaOrderCompleteCtrl from './order/controller';
@@ -46,12 +48,8 @@ angular
])
.config(routing)
.config(
- /* @ngInject */ (
- $qProvider,
- ovhDocUrlProvider,
- TranslateServiceProvider,
- ) => {
- ovhDocUrlProvider.setUserLocale(TranslateServiceProvider.getUserLocale());
+ /* @ngInject */ ($qProvider, ovhDocUrlProvider) => {
+ ovhDocUrlProvider.setUserLocale(Environment.getUserLocale());
$qProvider.errorOnUnhandledRejections(false);
},
)
diff --git a/packages/manager/modules/nasha/src/order/template.html b/packages/manager/modules/nasha/src/order/template.html
index 6202de270eda..74a4c65d963b 100644
--- a/packages/manager/modules/nasha/src/order/template.html
+++ b/packages/manager/modules/nasha/src/order/template.html
@@ -1,7 +1,5 @@
-
-
-
+
-
-
+
+
+
+
+
+
+
key === this.TranslateService.getUserLocale(),
+ ({ key }) => key === Environment.getUserLocale(),
);
}
@@ -44,8 +44,8 @@ export default class {
}
getAvailableLangs() {
- let langs = clone(this.LANGUAGES);
- const AVAILABLE_LANGS = map(this.LANGUAGES, 'key');
+ let langs = clone(LANGUAGES.available);
+ const AVAILABLE_LANGS = map(LANGUAGES.available, 'key');
const excluded = get(this.langOptions, 'exclude', []);
const included = get(this.langOptions, 'include', []);
diff --git a/packages/manager/modules/navbar/src/notifications-menu/template.html b/packages/manager/modules/navbar/src/notifications-menu/template.html
index ff0b5afdda47..9f7b7ba09de2 100644
--- a/packages/manager/modules/navbar/src/notifications-menu/template.html
+++ b/packages/manager/modules/navbar/src/notifications-menu/template.html
@@ -7,6 +7,7 @@
diff --git a/packages/manager/modules/ng-layout-helpers/package.json b/packages/manager/modules/ng-layout-helpers/package.json
index dc713449a5d5..1f4b1e832366 100644
--- a/packages/manager/modules/ng-layout-helpers/package.json
+++ b/packages/manager/modules/ng-layout-helpers/package.json
@@ -10,9 +10,7 @@
},
"license": "BSD-3-Clause",
"author": "OVH SAS",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/ng-layout-helpers.js",
+ "main": "./dist/esm/index.js",
"files": [
"dist"
],
diff --git a/packages/manager/modules/ng-layout-helpers/rollup.config.js b/packages/manager/modules/ng-layout-helpers/rollup.config.js
index 759715d79153..dba7f6cc2fd6 100644
--- a/packages/manager/modules/ng-layout-helpers/rollup.config.js
+++ b/packages/manager/modules/ng-layout-helpers/rollup.config.js
@@ -4,19 +4,4 @@ const config = rollupConfig({
input: 'src/index.js',
});
-const outputs = [config.es()];
-
-if (process.env.BUILD === 'production') {
- outputs.push(config.cjs());
- outputs.push(
- config.umd({
- output: {
- globals: {
- angular: 'angular',
- },
- },
- }),
- );
-}
-
-export default outputs;
+export default [config.es()];
diff --git a/packages/manager/modules/notifications-sidebar/src/controller.js b/packages/manager/modules/notifications-sidebar/src/controller.js
index 62ac40957956..43275b6ad38e 100644
--- a/packages/manager/modules/notifications-sidebar/src/controller.js
+++ b/packages/manager/modules/notifications-sidebar/src/controller.js
@@ -7,23 +7,27 @@ import { MAX_NOTIFICATIONS } from './constants';
export default class NotificationsCtrl {
/* @ngInject */
constructor(
+ $document,
+ $element,
$q,
+ $timeout,
$rootScope,
$translate,
atInternet,
NavbarNotifications,
ovhManagerNavbarMenuHeaderBuilder,
ouiNavbarConfiguration,
- TranslateService,
) {
+ this.$document = $document;
+ this.$element = $element;
this.$q = $q;
+ this.$timeout = $timeout;
this.$rootScope = $rootScope;
this.$translate = $translate;
this.atInternet = atInternet;
this.toggle = false;
this.NavbarBuilder = ovhManagerNavbarMenuHeaderBuilder;
this.NavbarNotifications = NavbarNotifications;
- this.TranslateService = TranslateService;
this.translations = ouiNavbarConfiguration.translations;
this.REGION = Environment.getRegion();
@@ -33,18 +37,46 @@ export default class NotificationsCtrl {
this.isLoading = true;
this.numberOfActiveNotifications = 0;
+ // Will be bound to the click event on $document
+ this.readAllNotifications = () => {
+ this.toggle = false;
+
+ // Automatically set all unread messages to read
+ // when we close the notifications menu
+ this.NavbarNotifications.readAllNotifications(
+ this.getActiveNotifications(),
+ ).then(() => {
+ this.numberOfActiveNotifications = this.getActiveNotifications().length;
+ this.$rootScope.$emit(
+ 'ovh::notifications::count',
+ this.numberOfActiveNotifications,
+ );
+ });
+
+ this.$document.off('click', this.readAllNotifications);
+ };
+
this.$rootScope.$on('ovh::notifications::toggle', () => {
this.toggle = !this.toggle;
if (this.toggle) {
+ // Handle the click outside the notifications menu
+ this.$document.on('click', this.readAllNotifications);
+
this.atInternet.trackClick({
name: 'navbar::action::notifications',
type: 'action',
});
+ } else {
+ // We unbind the click event in this function
+ this.readAllNotifications();
}
});
this.$rootScope.$on('ovh::notifications::hide', () => {
this.toggle = false;
+
+ // We unbind the click event in this function
+ this.readAllNotifications();
});
return this.$translate
@@ -63,7 +95,7 @@ export default class NotificationsCtrl {
} else {
this.sublinks = sublinks;
}
- this.numberOfActiveNotifications = this.getNumberOfActiveNotifications();
+ this.numberOfActiveNotifications = this.getActiveNotifications().length;
this.groupedSublinks = groupBy(this.sublinks, 'time');
this.$rootScope.$emit(
@@ -79,15 +111,32 @@ export default class NotificationsCtrl {
});
}
- getNumberOfActiveNotifications() {
- return filter(this.sublinks, (notification) => notification.isActive)
- .length;
+ $postLink() {
+ // Avoid click propagation inside the notifications menu
+ // Since we're binding a click function of the document
+ this.$timeout(() => {
+ this.$element.on('click', (event) => {
+ event.stopPropagation();
+ });
+ });
+ }
+
+ $onDestroy() {
+ this.$document.off('click', this.readAllNotifications);
+ }
+
+ getActiveNotifications() {
+ return filter(this.sublinks, 'isActive');
}
toggleSublinkAction(toUpdate, linkClicked) {
this.NavbarNotifications.toggleSublinkAction(toUpdate, linkClicked).then(
(notification) => {
- this.numberOfActiveNotifications = this.getNumberOfActiveNotifications();
+ this.numberOfActiveNotifications = this.getActiveNotifications().length;
+ this.$rootScope.$emit(
+ 'ovh::notifications::count',
+ this.numberOfActiveNotifications,
+ );
return notification;
},
);
@@ -101,7 +150,7 @@ export default class NotificationsCtrl {
getSublinks() {
return this.NavbarNotifications.getNotifications(
- this.TranslateService.getUserLocale(),
+ Environment.getUserLocale(),
this.REGION,
)
.then((notifications) =>
diff --git a/packages/manager/modules/notifications-sidebar/src/service.js b/packages/manager/modules/notifications-sidebar/src/service.js
index 57c1e01c88bc..17c1fe35d414 100644
--- a/packages/manager/modules/notifications-sidebar/src/service.js
+++ b/packages/manager/modules/notifications-sidebar/src/service.js
@@ -1,3 +1,4 @@
+import map from 'lodash/map';
import set from 'lodash/set';
import {
@@ -47,6 +48,18 @@ export default class Notifications {
});
}
+ readAllNotifications(notifications) {
+ return this.$q.all(
+ map(notifications, (notification) => {
+ if (!notification.updating) {
+ return this.readNotifications(notification, 'acknowledged');
+ }
+
+ return this.$q.when();
+ }),
+ );
+ }
+
toggleSublinkAction(toUpdate, linkClicked) {
if (toUpdate.isActive && !toUpdate.updating) {
// mark as read
diff --git a/packages/manager/modules/notifications-sidebar/src/translations/Messages_pl_PL.json b/packages/manager/modules/notifications-sidebar/src/translations/Messages_pl_PL.json
index f61a11dfef66..e5d28c5f3b96 100644
--- a/packages/manager/modules/notifications-sidebar/src/translations/Messages_pl_PL.json
+++ b/packages/manager/modules/notifications-sidebar/src/translations/Messages_pl_PL.json
@@ -1,4 +1,4 @@
{
"navbar_notification_title": "Powiadomienia",
- "navbar_notification_new": "Nowy"
+ "navbar_notification_new": "Nowe"
}
diff --git a/packages/manager/modules/overthebox/package.json b/packages/manager/modules/overthebox/package.json
index 5287065b3efa..3f417b7841c0 100644
--- a/packages/manager/modules/overthebox/package.json
+++ b/packages/manager/modules/overthebox/package.json
@@ -18,7 +18,7 @@
"@ovh-ux/component-rollup-config": "^7.0.0"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-ng-layout-helpers": "^1.0.0",
"@ovh-ux/manager-telecom-styles": "^4.0.0",
"@ovh-ux/ng-ovh-contracts": "^4.0.0",
@@ -35,9 +35,8 @@
"bootstrap4": "twbs/bootstrap#v4.0.0",
"moment": "^2.24.0",
"oclazyload": "^1.1.0",
- "ovh-angular-responsive-tabs": "^4.0.0",
"ovh-api-services": "^9.44.0",
"ovh-manager-webfont": "^1.2.0",
"ovh-ui-kit-bs": "^4.1.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/overthebox/src/overthebox/docs/overTheBox-docs.controller.js b/packages/manager/modules/overthebox/src/overthebox/docs/overTheBox-docs.controller.js
index d9b55895b125..f25bb824d691 100644
--- a/packages/manager/modules/overthebox/src/overthebox/docs/overTheBox-docs.controller.js
+++ b/packages/manager/modules/overthebox/src/overthebox/docs/overTheBox-docs.controller.js
@@ -1,6 +1,8 @@
import forEach from 'lodash/forEach';
import snakeCase from 'lodash/snakeCase';
+import { Environment } from '@ovh-ux/manager-config';
+
export default class OverTheBoxDocsCtrl {
/* @ngInject */
constructor($translate, OVER_THE_BOX) {
@@ -24,18 +26,7 @@ export default class OverTheBoxDocsCtrl {
}
$onInit() {
- // Checking configuration (registered or from browser)
- if (localStorage['univers-selected-language']) {
- this.language = localStorage['univers-selected-language'].replace(
- /-.*$|_.*$/,
- '',
- );
- } else if (navigator.language || navigator.userLanguage) {
- this.language = (navigator.language || navigator.userLanguage).replace(
- /-.*$|_.*$/,
- '',
- );
- }
+ this.language = Environment.getUserLanguage();
this.docs = this.OVER_THE_BOX;
this.injectTitleInUrl(this.docs, this.language);
}
diff --git a/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_en_GB.json b/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_en_GB.json
index 7fbc39728d10..2a39c42be53d 100644
--- a/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_en_GB.json
+++ b/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_en_GB.json
@@ -24,7 +24,7 @@
"overTheBox_docs_modem_dhcp_monitoring_disable": "Disable the modems' DHCP monitoring ",
"overTheBox_docs_dns_configure": "Configure your own DNS server ",
"overTheBox_docs_active_directory_add": "Add an Active Directory server in the DHCP options",
- "overTheBox_docs_iphone_android_tethering": "Tethering iPhone and Android",
+ "overTheBox_docs_iphone_android_tethering": "iPhone and Android tethering",
"overTheBox_docs_vlan_configuration": "VLAN configuration ",
"overTheBox_docs_rate_test_protocol": "Test connection speed",
"overTheBox_docs_modem_interface": "Manually create a modem interface ",
diff --git a/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_fi_FI.json b/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_fi_FI.json
index 7fbc39728d10..2a39c42be53d 100644
--- a/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_fi_FI.json
+++ b/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_fi_FI.json
@@ -24,7 +24,7 @@
"overTheBox_docs_modem_dhcp_monitoring_disable": "Disable the modems' DHCP monitoring ",
"overTheBox_docs_dns_configure": "Configure your own DNS server ",
"overTheBox_docs_active_directory_add": "Add an Active Directory server in the DHCP options",
- "overTheBox_docs_iphone_android_tethering": "Tethering iPhone and Android",
+ "overTheBox_docs_iphone_android_tethering": "iPhone and Android tethering",
"overTheBox_docs_vlan_configuration": "VLAN configuration ",
"overTheBox_docs_rate_test_protocol": "Test connection speed",
"overTheBox_docs_modem_interface": "Manually create a modem interface ",
diff --git a/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_lt_LT.json b/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_lt_LT.json
index 7fbc39728d10..2a39c42be53d 100644
--- a/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_lt_LT.json
+++ b/packages/manager/modules/overthebox/src/overthebox/docs/translations/Messages_lt_LT.json
@@ -24,7 +24,7 @@
"overTheBox_docs_modem_dhcp_monitoring_disable": "Disable the modems' DHCP monitoring ",
"overTheBox_docs_dns_configure": "Configure your own DNS server ",
"overTheBox_docs_active_directory_add": "Add an Active Directory server in the DHCP options",
- "overTheBox_docs_iphone_android_tethering": "Tethering iPhone and Android",
+ "overTheBox_docs_iphone_android_tethering": "iPhone and Android tethering",
"overTheBox_docs_vlan_configuration": "VLAN configuration ",
"overTheBox_docs_rate_test_protocol": "Test connection speed",
"overTheBox_docs_modem_interface": "Manually create a modem interface ",
diff --git a/packages/manager/modules/overthebox/src/overthebox/overTheBox.html b/packages/manager/modules/overthebox/src/overthebox/overTheBox.html
index e7aac76d208f..4eae8d7ba092 100644
--- a/packages/manager/modules/overthebox/src/overthebox/overTheBox.html
+++ b/packages/manager/modules/overthebox/src/overthebox/overTheBox.html
@@ -14,50 +14,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/manager/modules/overthebox/src/overthebox/overTheBox.module.js b/packages/manager/modules/overthebox/src/overthebox/overTheBox.module.js
index 37b9637a7831..3157efa82a53 100644
--- a/packages/manager/modules/overthebox/src/overthebox/overTheBox.module.js
+++ b/packages/manager/modules/overthebox/src/overthebox/overTheBox.module.js
@@ -7,7 +7,6 @@ import 'angularjs-scroll-glue';
import '@ovh-ux/ng-ovh-telecom-universe-components';
import '@ovh-ux/ng-ui-router-title';
import '@ovh-ux/ng-tail-logs';
-import 'ovh-angular-responsive-tabs';
import ngOvhUiConfirmModal from '@ovh-ux/ng-ovh-ui-confirm-modal';
import constant from './overTheBox.constant';
@@ -30,7 +29,6 @@ const moduleName = 'OvhManagerOverTheBoxComponent';
angular
.module(moduleName, [
- 'ovh-angular-responsive-tabs',
'ngTailLogs',
'ngOvhTelecomUniverseComponents',
'ngUiRouterTitle',
diff --git a/packages/manager/modules/pci/package.json b/packages/manager/modules/pci/package.json
index e7690903d0a6..5863cb04e06a 100644
--- a/packages/manager/modules/pci/package.json
+++ b/packages/manager/modules/pci/package.json
@@ -13,7 +13,6 @@
"main": "./src/index.js",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.11.2",
- "@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
"d3": "~3.5.13",
"fast-sha256": "^1.1.0",
"file-saver": "^2.0.1",
@@ -29,7 +28,8 @@
"peerDependencies": {
"@ovh-ux/manager-catalog-price": "^1.2.0",
"@ovh-ux/manager-cloud-styles": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-error-page": "^0.0.0",
"@ovh-ux/manager-telecom-styles": "^4.0.0",
"@ovh-ux/ng-at-internet": "^5.1.0",
diff --git a/packages/manager/modules/pci/src/components/project/flavor-billing/flavor-billing.controller.js b/packages/manager/modules/pci/src/components/project/flavor-billing/flavor-billing.controller.js
index 007bb575ccab..8a07bd9b3bd4 100644
--- a/packages/manager/modules/pci/src/components/project/flavor-billing/flavor-billing.controller.js
+++ b/packages/manager/modules/pci/src/components/project/flavor-billing/flavor-billing.controller.js
@@ -1,9 +1,6 @@
-export default class FlavorBillingController {
- /* @ngInject */
- constructor(TranslateService) {
- this.TranslateService = TranslateService;
- }
+import { Environment } from '@ovh-ux/manager-config';
+export default class FlavorBillingController {
$onInit() {
this.monthly = this.monthlyBilling === true;
this.number = this.number || 1;
@@ -15,7 +12,7 @@ export default class FlavorBillingController {
if (flavor) {
this.prices = flavor.prices;
this.PriceFormatter = new Intl.NumberFormat(
- this.TranslateService.getUserLocale().replace('_', '-'),
+ Environment.getUserLocale().replace('_', '-'),
{ style: 'currency', currency: flavor.prices.hourly.currencyCode },
);
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/flavors-list.constants.js b/packages/manager/modules/pci/src/components/project/flavors-list/flavors-list.constants.js
index 0a2d3b5de0c6..52fc8c523a45 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/flavors-list.constants.js
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/flavors-list.constants.js
@@ -56,6 +56,7 @@ export const CPU_FREQUENCY = {
'ovh.ssd.gpu2': 3.1,
'ovh.ssd.gpu3': 3.1,
'ovh.raid-nvme.t1': 2.1,
+ 'ovh.iops': 2,
};
export default {
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/flavors-list.html b/packages/manager/modules/pci/src/components/project/flavors-list/flavors-list.html
index 20183f2f0984..8d34a00ece3d 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/flavors-list.html
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/flavors-list.html
@@ -27,7 +27,7 @@
>
-
+
-
-
+
-
-
+
-
-
-
-
-
-
- x
-
-
-
-
-
-
+
- -
-
-
-
- x
-
+
+
+
+ x
+
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_de_DE.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_de_DE.json
index 28d31c3c6b80..db461e18ad0f 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_de_DE.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_de_DE.json
@@ -6,17 +6,18 @@
"pci_project_flavors_category_definition_vps": "Instanzen mit geteilten Ressourcen (Sandbox) sind ideal für Tests, Abnahme und Entwicklungsumgebungen. Die Performance kann im Laufe der Zeit leicht variieren.",
"pci_project_flavors_category_definition_none": "Es sind keine Modelle in dieser Kategorie verfügbar.",
"pci_project_flavors_disk_size": "Der Speicherplatz ist geringer als der des aktuellen Modells.",
- "pci_project_flavors_spec_ram": "Arbeitsspeicher:",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core": "Prozessor:",
"pci_project_flavors_spec_core_details": "{{vcores}} vCores ({{frequency}} GHz)",
"pci_project_flavors_spec_disk": "Storage:",
"pci_project_flavors_spec_bandwidth": "Bandbreite:",
"pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbit/s",
- "pci_project_flavors_price_hourly": "{{price}} / Stunde (zzgl. MwSt.)",
+ "pci_project_flavors_price_hourly": "{{price}} / Stunde (zzgl. MwSt)",
"pci_project_flavors_price_monthly": "Ab {{price}} / Monat (zzgl. MwSt.)",
"pci_project_flavors_quota": "Mein Quota erhöhen",
"pci_project_flavors_category_definition_iops": "IOPS Instanzen liefern die schnellsten Festplattentransaktionen der Public Cloud Reihe.",
"pci_project_flavors_spec_model": "Modell:",
- "pci_project_flavors_spec_nvme": "NVMe-Speicher:",
- "pci_project_flavors_category_definition_baremetal": "Die Bare-Metal-Instanzen bieten physische, auf Abruf bereite Server, die binnen weniger Minuten geliefert und auf Stunden- oder Monatsbasis abgerechnet werden."
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_category_definition_baremetal": "Die Bare-Metal-Instanzen bieten physische, auf Abruf bereite Server, die binnen weniger Minuten geliefert und auf Stunden- oder Monatsbasis abgerechnet werden.",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe"
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_en_GB.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_en_GB.json
index 7197e4b5a918..aa0c3703214e 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_en_GB.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_en_GB.json
@@ -6,17 +6,18 @@
"pci_project_flavors_category_definition_vps": "Instances with shared resources (Sandbox) are suitable for testing, verifications and development environments. Their performance may vary slightly over time.",
"pci_project_flavors_category_definition_none": "No model available for this category",
"pci_project_flavors_disk_size": "The disk space is lower than that of the current model",
- "pci_project_flavors_spec_ram": "RAM:",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core": "Processor:",
"pci_project_flavors_spec_core_details": "{{vcores}} vCores ({{frequency}} GHz)",
"pci_project_flavors_spec_disk": "Storage:",
"pci_project_flavors_spec_bandwidth": "Bandwidth:",
- "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbps",
+ "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbit/s",
"pci_project_flavors_price_hourly": "{{price}} ex. VAT/hour",
"pci_project_flavors_price_monthly": "From {{price}} ex. VAT/month",
"pci_project_flavors_quota": "Increase your quota",
"pci_project_flavors_category_definition_iops": "IOPS instances deliver the fastest disk transactions in the Public Cloud range.",
"pci_project_flavors_spec_model": "Model",
- "pci_project_flavors_spec_nvme": "NVMe storage:",
- "pci_project_flavors_category_definition_baremetal": "Bare metal instances offer hardware servers on demand. They are delivered in a few minutes, and can be billed on an hourly or monthly basis."
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_category_definition_baremetal": "Bare metal instances offer hardware servers on demand. They are delivered in a few minutes, and can be billed on an hourly or monthly basis.",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe"
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_es_ES.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_es_ES.json
index ed446578d879..e154e718f7d6 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_es_ES.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_es_ES.json
@@ -6,17 +6,18 @@
"pci_project_flavors_category_definition_vps": "Las instancias con recursos compartidos (Sandbox) son adecuadas para pruebas y entornos de desarrollo y preproducción. Su rendimiento puede variar ligeramente a lo largo del tiempo.",
"pci_project_flavors_category_definition_none": "No hay ningún modelo disponible en esta categoría.",
"pci_project_flavors_disk_size": "El espacio en disco es inferior al del modelo actual.",
- "pci_project_flavors_spec_ram": "Memoria:",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core": "Procesador:",
"pci_project_flavors_spec_core_details": "{{vcores}} vCores ({{frequency}} GHz)",
"pci_project_flavors_spec_disk": "Almacenamiento:",
"pci_project_flavors_spec_bandwidth": "Ancho de banda:",
- "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbit/s",
- "pci_project_flavors_price_hourly": "{{price}}/hora + IVA",
+ "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mb/s",
+ "pci_project_flavors_price_hourly": "{{price}}/hora + IVA",
"pci_project_flavors_price_monthly": "Desde {{price}}/mes + IVA",
"pci_project_flavors_quota": "Aumentar los límites de mi cuota",
"pci_project_flavors_category_definition_iops": "Las instancias IOPS ofrecen las transacciones de disco más rápidas de Public Cloud.",
"pci_project_flavors_spec_model": "Modelo:",
- "pci_project_flavors_spec_nvme": "Almacenamiento NVMe:",
- "pci_project_flavors_category_definition_baremetal": "Las instancias bare metal ofrecen servidores físicos bajo demanda, con entrega en cuestión de minutos y facturación mensual o por horas."
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_category_definition_baremetal": "Las instancias bare metal ofrecen servidores físicos bajo demanda, con entrega en cuestión de minutos y facturación mensual o por horas.",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe"
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fi_FI.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fi_FI.json
index 7197e4b5a918..aa0c3703214e 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fi_FI.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fi_FI.json
@@ -6,17 +6,18 @@
"pci_project_flavors_category_definition_vps": "Instances with shared resources (Sandbox) are suitable for testing, verifications and development environments. Their performance may vary slightly over time.",
"pci_project_flavors_category_definition_none": "No model available for this category",
"pci_project_flavors_disk_size": "The disk space is lower than that of the current model",
- "pci_project_flavors_spec_ram": "RAM:",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core": "Processor:",
"pci_project_flavors_spec_core_details": "{{vcores}} vCores ({{frequency}} GHz)",
"pci_project_flavors_spec_disk": "Storage:",
"pci_project_flavors_spec_bandwidth": "Bandwidth:",
- "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbps",
+ "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbit/s",
"pci_project_flavors_price_hourly": "{{price}} ex. VAT/hour",
"pci_project_flavors_price_monthly": "From {{price}} ex. VAT/month",
"pci_project_flavors_quota": "Increase your quota",
"pci_project_flavors_category_definition_iops": "IOPS instances deliver the fastest disk transactions in the Public Cloud range.",
"pci_project_flavors_spec_model": "Model",
- "pci_project_flavors_spec_nvme": "NVMe storage:",
- "pci_project_flavors_category_definition_baremetal": "Bare metal instances offer hardware servers on demand. They are delivered in a few minutes, and can be billed on an hourly or monthly basis."
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_category_definition_baremetal": "Bare metal instances offer hardware servers on demand. They are delivered in a few minutes, and can be billed on an hourly or monthly basis.",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe"
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fr_CA.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fr_CA.json
index d667ec3b3f12..7de3d91e49e6 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fr_CA.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fr_CA.json
@@ -9,18 +9,14 @@
"pci_project_flavors_category_definition_none": "Pas de modèle disponible pour cette catégorie",
"pci_project_flavors_disk_size": "L'espace disque est inférieur à celui du modèle actuel",
- "pci_project_flavors_spec_ram": "Mémoire vive :",
- "pci_project_flavors_spec_core": "Processeur :",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core_details": "{{vcores}} vCores ({{frequency}} GHz)",
- "pci_project_flavors_spec_disk": "Stockage :",
- "pci_project_flavors_spec_bandwidth": "Bande passante :",
- "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbps",
- "pci_project_flavors_spec_model": "Modèle :",
- "pci_project_flavors_spec_nvme": "Stockage NVMe :",
+ "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbit/s",
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe",
- "pci_project_flavors_price_hourly": "{{price}} HT/h",
+ "pci_project_flavors_price_hourly": "{{price}} HT/heure",
"pci_project_flavors_price_monthly": "À partir de {{price}} HT/mois",
"pci_project_flavors_quota": "Augmenter mon quota"
-
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fr_FR.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fr_FR.json
index d667ec3b3f12..7de3d91e49e6 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fr_FR.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_fr_FR.json
@@ -9,18 +9,14 @@
"pci_project_flavors_category_definition_none": "Pas de modèle disponible pour cette catégorie",
"pci_project_flavors_disk_size": "L'espace disque est inférieur à celui du modèle actuel",
- "pci_project_flavors_spec_ram": "Mémoire vive :",
- "pci_project_flavors_spec_core": "Processeur :",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core_details": "{{vcores}} vCores ({{frequency}} GHz)",
- "pci_project_flavors_spec_disk": "Stockage :",
- "pci_project_flavors_spec_bandwidth": "Bande passante :",
- "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbps",
- "pci_project_flavors_spec_model": "Modèle :",
- "pci_project_flavors_spec_nvme": "Stockage NVMe :",
+ "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbit/s",
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe",
- "pci_project_flavors_price_hourly": "{{price}} HT/h",
+ "pci_project_flavors_price_hourly": "{{price}} HT/heure",
"pci_project_flavors_price_monthly": "À partir de {{price}} HT/mois",
"pci_project_flavors_quota": "Augmenter mon quota"
-
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_it_IT.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_it_IT.json
index f3c711be69bc..38a7af580fd9 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_it_IT.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_it_IT.json
@@ -6,17 +6,18 @@
"pci_project_flavors_category_definition_vps": "Le istanze con risorse condivise (Sandbox) sono adatte per test, verifiche e ambienti di sviluppo. Le loro prestazioni possono variare leggermente nel tempo.",
"pci_project_flavors_category_definition_none": "Nessun modello disponibile per questa categoria",
"pci_project_flavors_disk_size": "Lo spazio disco è inferiore a quello disponibile sul modello corrente",
- "pci_project_flavors_spec_ram": "RAM:",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core": "CPU:",
"pci_project_flavors_spec_core_details": "{{vcores}} vCore ({{frequency}} GHz)",
"pci_project_flavors_spec_disk": "Storage:",
"pci_project_flavors_spec_bandwidth": "Banda passante:",
- "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbps",
+ "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbit/s",
"pci_project_flavors_price_hourly": "{{price}} + IVA/ora",
"pci_project_flavors_price_monthly": "A partire da {{price}} +IVA/mese",
"pci_project_flavors_quota": "Aumenta la tua quota",
"pci_project_flavors_category_definition_iops": "Le istanze IOPS garantiscono le transazioni disco più veloci di tutta la gamma Public Cloud.",
"pci_project_flavors_spec_model": "Modello:",
- "pci_project_flavors_spec_nvme": "Storage NVMe:",
- "pci_project_flavors_category_definition_baremetal": "Le istanze bare metal offrono server fisici on demand, disponibili in pochi minuti e fatturati su base oraria o mensile."
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_category_definition_baremetal": "Le istanze bare metal offrono server fisici on demand, disponibili in pochi minuti e fatturati su base oraria o mensile.",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe"
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_lt_LT.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_lt_LT.json
index 7197e4b5a918..aa0c3703214e 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_lt_LT.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_lt_LT.json
@@ -6,17 +6,18 @@
"pci_project_flavors_category_definition_vps": "Instances with shared resources (Sandbox) are suitable for testing, verifications and development environments. Their performance may vary slightly over time.",
"pci_project_flavors_category_definition_none": "No model available for this category",
"pci_project_flavors_disk_size": "The disk space is lower than that of the current model",
- "pci_project_flavors_spec_ram": "RAM:",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core": "Processor:",
"pci_project_flavors_spec_core_details": "{{vcores}} vCores ({{frequency}} GHz)",
"pci_project_flavors_spec_disk": "Storage:",
"pci_project_flavors_spec_bandwidth": "Bandwidth:",
- "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbps",
+ "pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbit/s",
"pci_project_flavors_price_hourly": "{{price}} ex. VAT/hour",
"pci_project_flavors_price_monthly": "From {{price}} ex. VAT/month",
"pci_project_flavors_quota": "Increase your quota",
"pci_project_flavors_category_definition_iops": "IOPS instances deliver the fastest disk transactions in the Public Cloud range.",
"pci_project_flavors_spec_model": "Model",
- "pci_project_flavors_spec_nvme": "NVMe storage:",
- "pci_project_flavors_category_definition_baremetal": "Bare metal instances offer hardware servers on demand. They are delivered in a few minutes, and can be billed on an hourly or monthly basis."
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_category_definition_baremetal": "Bare metal instances offer hardware servers on demand. They are delivered in a few minutes, and can be billed on an hourly or monthly basis.",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe"
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_pl_PL.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_pl_PL.json
index 7fcc96afe2d2..f5fcf8ada1d6 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_pl_PL.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_pl_PL.json
@@ -6,7 +6,7 @@
"pci_project_flavors_category_definition_vps": "Instancje Sandbox są odpowiednie do testowania i programowania. Ich wydajność może się nieznacznie zmieniać w czasie.",
"pci_project_flavors_category_definition_none": "Brak modelu dostępnego dla tej kategorii",
"pci_project_flavors_disk_size": "Przestrzeń dyskowa jest mniejsza od aktualnego modelu",
- "pci_project_flavors_spec_ram": "Pamięć operacyjna:",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core": "Procesor:",
"pci_project_flavors_spec_core_details": "{{vcores}} vCores ({{frequency}} GHz)",
"pci_project_flavors_spec_disk": "Przestrzeń dyskowa:",
@@ -17,6 +17,7 @@
"pci_project_flavors_quota": "Zwiększ limity",
"pci_project_flavors_category_definition_iops": "Instancje IOPS gwarantują najszybsze transakcje dyskowe spośród rozwiązań Public Cloud.",
"pci_project_flavors_spec_model": "Model:",
- "pci_project_flavors_spec_nvme": "Dyski NVMe",
- "pci_project_flavors_category_definition_baremetal": "Instancje bare metal oferują serwery fizyczne na żądanie, które są dostarczane w ciągu kilku minut i są fakturowane w trybie godzinowym lub miesięcznym."
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_category_definition_baremetal": "Instancje bare metal oferują serwery fizyczne na żądanie, które są dostarczane w ciągu kilku minut i są fakturowane w trybie godzinowym lub miesięcznym.",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe"
}
diff --git a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_pt_PT.json b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_pt_PT.json
index c6e139ffd133..677cd0aa7849 100644
--- a/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_pt_PT.json
+++ b/packages/manager/modules/pci/src/components/project/flavors-list/translations/Messages_pt_PT.json
@@ -6,17 +6,18 @@
"pci_project_flavors_category_definition_vps": "As instâncias de recursos partilhados (Sandbox) são adaptadas a testes e ambientes de desenvolvimento e pré-produção. O seu desempenho pode variar ligeiramente ao longo do tempo.",
"pci_project_flavors_category_definition_none": "Nenhum modelo disponível para esta categoria",
"pci_project_flavors_disk_size": "Espaço de disco inferior ao do modelo atual",
- "pci_project_flavors_spec_ram": "RAM:",
+ "pci_project_flavors_spec_ram": "{{ram}} RAM",
"pci_project_flavors_spec_core": "Processador:",
"pci_project_flavors_spec_core_details": "{{vcores}} vCores ({{frequency}} GHz)",
"pci_project_flavors_spec_disk": "Armazenamento:",
"pci_project_flavors_spec_bandwidth": "Largura de banda:",
"pci_project_flavors_spec_bandwidth_detail": "{{ bandwidth }} Mbps",
- "pci_project_flavors_price_hourly": "{{price}} s/IVA/h",
+ "pci_project_flavors_price_hourly": "{{price}} /hora + IVA",
"pci_project_flavors_price_monthly": "A partir de {{price}} /mês + IVA",
"pci_project_flavors_quota": "Aumentar o meu limite",
"pci_project_flavors_category_definition_iops": "As instâncias IOPS oferecem as transações em disco mais rápidas da gama Public Cloud",
"pci_project_flavors_spec_model": "Modelo:",
- "pci_project_flavors_spec_nvme": "Armazenamento NVMe:",
- "pci_project_flavors_category_definition_baremetal": "As instâncias bare metal oferecem servidores físicos on demand, entregues em apenas alguns minutos e faturados à hora ou mensalmente."
+ "pci_project_flavors_spec_nvme": "{{capacity}} NVMe",
+ "pci_project_flavors_category_definition_baremetal": "As instâncias bare metal oferecem servidores físicos on demand, entregues em apenas alguns minutos e faturados à hora ou mensalmente.",
+ "pci_project_flavors_spec_nvme_multiple": "{{count}} x {{capacity}} NVMe"
}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/images-list.component.js b/packages/manager/modules/pci/src/components/project/images-list/images-list.component.js
index c3b1610abf9d..ab4477ddc2e1 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/images-list.component.js
+++ b/packages/manager/modules/pci/src/components/project/images-list/images-list.component.js
@@ -7,6 +7,7 @@ export default {
bindings: {
displaySelectedImage: '<',
flavorType: '',
+ isImageCompatible: '=?',
osTypes: '',
selectedImage: '=?',
defaultImageId: '',
diff --git a/packages/manager/modules/pci/src/components/project/images-list/images-list.controller.js b/packages/manager/modules/pci/src/components/project/images-list/images-list.controller.js
index f72e198f036e..424961765beb 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/images-list.controller.js
+++ b/packages/manager/modules/pci/src/components/project/images-list/images-list.controller.js
@@ -1,6 +1,7 @@
import filter from 'lodash/filter';
import find from 'lodash/find';
import first from 'lodash/first';
+import forEach from 'lodash/forEach';
import keys from 'lodash/keys';
import partition from 'lodash/partition';
import reduce from 'lodash/reduce';
@@ -11,12 +12,12 @@ import { IMAGE_ASSETS } from './images.constants';
export default class ImagesListController {
/* @ngInject */
constructor(
- // $translate,
+ $q,
OvhApiCloudProjectImage,
OvhApiCloudProjectSnapshot,
PciProjectImages,
) {
- // this.$translate = $translate;
+ this.$q = $q;
this.OvhApiCloudProjectImage = OvhApiCloudProjectImage;
this.OvhApiCloudProjectSnapshot = OvhApiCloudProjectSnapshot;
this.PciProjectImages = PciProjectImages;
@@ -28,11 +29,12 @@ export default class ImagesListController {
this.distribution = null;
this.image = null;
- this.showOnlyAvailable = false;
+ this.showNonAvailable = false;
this.isLoading = true;
- return Promise.all([this.getImages(), this.getSnapshots()])
+ return this.$q
+ .all([this.getImages(), this.getSnapshots()])
.then(() => this.findDefaultImage())
.finally(() => {
this.isLoading = false;
@@ -63,14 +65,43 @@ export default class ImagesListController {
{},
);
this.apps = appImages;
+ this.unavailableAppsPresent = some(
+ appImages,
+ (app) => !this.isCompatible(app),
+ );
this.selectedTab = first(keys(this.os));
+ this.getFilteredImages();
+ }
+
+ getFilteredImages() {
+ this.availableImages = {};
+ this.unavailableImages = {};
+
+ forEach(this.os, (distributions, imageType) => {
+ this.availableImages[imageType] = {};
+ this.unavailableImages[imageType] = {};
+ forEach(distributions, (images, distribution) => {
+ [
+ this.availableImages[imageType][distribution],
+ this.unavailableImages[imageType][distribution],
+ ] = partition(images, (image) => this.isCompatible(image));
+ });
+ });
+ }
+
+ static hasImages(distributions) {
+ return some(distributions, (images) => images.length);
}
getSnapshots() {
return this.PciProjectImages.getSnapshots(this.serviceName).then(
(snapshots) => {
this.snapshots = snapshots;
+ this.unavailableSnapshotsPresent = some(
+ snapshots,
+ (snapshot) => !this.isCompatible(snapshot),
+ );
},
);
}
@@ -125,25 +156,20 @@ export default class ImagesListController {
}
}
- changeDistribution(distribution, images) {
- if (images.length === 1) {
- [this.image] = images;
- } else {
- this.image = null;
- }
- this.selectedImage = this.image;
- if (this.onChange) {
- this.onChange({ image: this.selectedImage });
- }
- }
-
changeImageType() {
this.imagesFromDistribution = [];
}
- onImageChange(image) {
- if (image.isApp() || image.isBackup()) {
- this.distribution = null;
+ onImageChange(image, distribution) {
+ if (distribution) {
+ this.distribution = distribution;
+ }
+ this.isImageCompatible = false;
+ if (image) {
+ if (image.isApp() || image.isBackup()) {
+ this.distribution = null;
+ }
+ this.isImageCompatible = this.isCompatible(image);
}
this.selectedImage = image;
if (this.onChange) {
@@ -158,8 +184,4 @@ export default class ImagesListController {
image.isCompatibleWithOsTypes(this.osTypes)
);
}
-
- isDistributionCompatible(images) {
- return some(images, (image) => this.isCompatible(image));
- }
}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/images-list.html b/packages/manager/modules/pci/src/components/project/images-list/images-list.html
index 91344172797d..73f60fc20b32 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/images-list.html
+++ b/packages/manager/modules/pci/src/components/project/images-list/images-list.html
@@ -2,13 +2,9 @@
-
-
-
-
-
-
@@ -92,7 +80,7 @@
data-variant="light"
data-on-change="$ctrl.onImageChange(modelValue)"
data-disabled="!$ctrl.isCompatible(app)"
- data-ng-if="!$ctrl.showOnlyAvailable || $ctrl.isCompatible(app)"
+ data-ng-if="$ctrl.showNonAvailable || $ctrl.isCompatible(app)"
data-picture="{{$ctrl.IMAGE_ASSETS.apps[app.getApplications()[0]]}}"
>
+
+
+
@@ -122,7 +118,7 @@
data-variant="light"
data-on-change="$ctrl.onImageChange(modelValue)"
data-disabled="!$ctrl.isCompatible(snapshot)"
- data-ng-if="!$ctrl.showOnlyAvailable || $ctrl.isCompatible(snapshot)"
+ data-ng-if="$ctrl.showNonAvailable || $ctrl.isCompatible(snapshot)"
>
+
+
+
@@ -139,12 +143,28 @@
+
+
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_de_DE.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_de_DE.json
index 09e9098f06b5..5336ef3023d3 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_de_DE.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_de_DE.json
@@ -16,5 +16,6 @@
"pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
"pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
"pci_project_instances_distribution_version": "Version",
- "pci_project_instances_distribution_windows_other": "Andere Windows-Distributionen"
+ "pci_project_instances_distribution_windows_other": "Andere Windows-Distributionen",
+ "pci_project_instances_display_nonavailable": "Die nicht verfügbaren Images anzeigen "
}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_en_GB.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_en_GB.json
index a14afbb1bd0c..a2e2f500afb4 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_en_GB.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_en_GB.json
@@ -1,19 +1,20 @@
{
- "pci_project_instances_available_only": "Hide unavailable options",
- "pci_project_instances_os_linux": "Unix distributions ",
- "pci_project_instances_os_windows": "Windows operating systems",
- "pci_project_instances_apps": "Operating systems + Apps",
- "pci_project_instances_shapshots": "Backups",
- "pci_project_instances_licence": "To use the images, you will need to accept the supplier's user licence agreement.",
- "pci_project_instances_distribution_linux": "Linux",
- "pci_project_instances_distribution_linux_other": "Archlinux",
- "pci_project_instances_distribution_centos": "CentOS",
- "pci_project_instances_distribution_coreos": "CoreOS",
- "pci_project_instances_distribution_debian": "Debian",
- "pci_project_instances_distribution_fedora": "Fedora",
- "pci_project_instances_distribution_freebsd": "FreeBSD",
- "pci_project_instances_distribution_ubuntu": "Ubuntu",
- "pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
- "pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
- "pci_project_instances_distribution_version": "Version"
-}
\ No newline at end of file
+ "pci_project_instances_available_only": "Hide unavailable options",
+ "pci_project_instances_os_linux": "Unix distributions ",
+ "pci_project_instances_os_windows": "Windows operating systems",
+ "pci_project_instances_apps": "Operating systems + Apps",
+ "pci_project_instances_shapshots": "Backups",
+ "pci_project_instances_licence": "To use the images, you will need to accept the supplier's user licence agreement.",
+ "pci_project_instances_distribution_linux": "Linux",
+ "pci_project_instances_distribution_linux_other": "Archlinux",
+ "pci_project_instances_distribution_centos": "CentOS",
+ "pci_project_instances_distribution_coreos": "CoreOS",
+ "pci_project_instances_distribution_debian": "Debian",
+ "pci_project_instances_distribution_fedora": "Fedora",
+ "pci_project_instances_distribution_freebsd": "FreeBSD",
+ "pci_project_instances_distribution_ubuntu": "Ubuntu",
+ "pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
+ "pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
+ "pci_project_instances_distribution_version": "Version",
+ "pci_project_instances_display_nonavailable": "Show unavailable images"
+}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_es_ES.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_es_ES.json
index c5def645107c..160bfa739fd5 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_es_ES.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_es_ES.json
@@ -16,5 +16,6 @@
"pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
"pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
"pci_project_instances_distribution_version": "Versión",
- "pci_project_instances_distribution_windows_other": "Otras distribuciones Windows"
+ "pci_project_instances_distribution_windows_other": "Otras distribuciones Windows",
+ "pci_project_instances_display_nonavailable": "Mostrar las imágenes no disponibles"
}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fi_FI.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fi_FI.json
index a14afbb1bd0c..a2e2f500afb4 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fi_FI.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fi_FI.json
@@ -1,19 +1,20 @@
{
- "pci_project_instances_available_only": "Hide unavailable options",
- "pci_project_instances_os_linux": "Unix distributions ",
- "pci_project_instances_os_windows": "Windows operating systems",
- "pci_project_instances_apps": "Operating systems + Apps",
- "pci_project_instances_shapshots": "Backups",
- "pci_project_instances_licence": "To use the images, you will need to accept the supplier's user licence agreement.",
- "pci_project_instances_distribution_linux": "Linux",
- "pci_project_instances_distribution_linux_other": "Archlinux",
- "pci_project_instances_distribution_centos": "CentOS",
- "pci_project_instances_distribution_coreos": "CoreOS",
- "pci_project_instances_distribution_debian": "Debian",
- "pci_project_instances_distribution_fedora": "Fedora",
- "pci_project_instances_distribution_freebsd": "FreeBSD",
- "pci_project_instances_distribution_ubuntu": "Ubuntu",
- "pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
- "pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
- "pci_project_instances_distribution_version": "Version"
-}
\ No newline at end of file
+ "pci_project_instances_available_only": "Hide unavailable options",
+ "pci_project_instances_os_linux": "Unix distributions ",
+ "pci_project_instances_os_windows": "Windows operating systems",
+ "pci_project_instances_apps": "Operating systems + Apps",
+ "pci_project_instances_shapshots": "Backups",
+ "pci_project_instances_licence": "To use the images, you will need to accept the supplier's user licence agreement.",
+ "pci_project_instances_distribution_linux": "Linux",
+ "pci_project_instances_distribution_linux_other": "Archlinux",
+ "pci_project_instances_distribution_centos": "CentOS",
+ "pci_project_instances_distribution_coreos": "CoreOS",
+ "pci_project_instances_distribution_debian": "Debian",
+ "pci_project_instances_distribution_fedora": "Fedora",
+ "pci_project_instances_distribution_freebsd": "FreeBSD",
+ "pci_project_instances_distribution_ubuntu": "Ubuntu",
+ "pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
+ "pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
+ "pci_project_instances_distribution_version": "Version",
+ "pci_project_instances_display_nonavailable": "Show unavailable images"
+}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fr_CA.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fr_CA.json
index d6606f19e30f..ffd4b85feb63 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fr_CA.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fr_CA.json
@@ -1,6 +1,5 @@
{
-
- "pci_project_instances_available_only": "Masquer les options non disponibles",
+ "pci_project_instances_display_nonavailable": "Montrer les images indisponibles",
"pci_project_instances_os_linux": "Distributions Unix",
"pci_project_instances_os_windows": "Distributions Windows",
"pci_project_instances_apps": "Distributions + Apps",
@@ -18,5 +17,4 @@
"pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
"pci_project_instances_distribution_windows_other": "Autres distributions Windows",
"pci_project_instances_distribution_version": "Version"
-
}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fr_FR.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fr_FR.json
index d6606f19e30f..ffd4b85feb63 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fr_FR.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_fr_FR.json
@@ -1,6 +1,5 @@
{
-
- "pci_project_instances_available_only": "Masquer les options non disponibles",
+ "pci_project_instances_display_nonavailable": "Montrer les images indisponibles",
"pci_project_instances_os_linux": "Distributions Unix",
"pci_project_instances_os_windows": "Distributions Windows",
"pci_project_instances_apps": "Distributions + Apps",
@@ -18,5 +17,4 @@
"pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
"pci_project_instances_distribution_windows_other": "Autres distributions Windows",
"pci_project_instances_distribution_version": "Version"
-
}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_it_IT.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_it_IT.json
index 1e9f904fa5dc..194938c4f31c 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_it_IT.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_it_IT.json
@@ -16,5 +16,6 @@
"pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
"pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
"pci_project_instances_distribution_version": "Versione",
- "pci_project_instances_distribution_windows_other": "Altre distribuzioni Windows"
+ "pci_project_instances_distribution_windows_other": "Altre distribuzioni Windows",
+ "pci_project_instances_display_nonavailable": "Mostra le immagini non disponibili"
}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_lt_LT.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_lt_LT.json
index a14afbb1bd0c..a2e2f500afb4 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_lt_LT.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_lt_LT.json
@@ -1,19 +1,20 @@
{
- "pci_project_instances_available_only": "Hide unavailable options",
- "pci_project_instances_os_linux": "Unix distributions ",
- "pci_project_instances_os_windows": "Windows operating systems",
- "pci_project_instances_apps": "Operating systems + Apps",
- "pci_project_instances_shapshots": "Backups",
- "pci_project_instances_licence": "To use the images, you will need to accept the supplier's user licence agreement.",
- "pci_project_instances_distribution_linux": "Linux",
- "pci_project_instances_distribution_linux_other": "Archlinux",
- "pci_project_instances_distribution_centos": "CentOS",
- "pci_project_instances_distribution_coreos": "CoreOS",
- "pci_project_instances_distribution_debian": "Debian",
- "pci_project_instances_distribution_fedora": "Fedora",
- "pci_project_instances_distribution_freebsd": "FreeBSD",
- "pci_project_instances_distribution_ubuntu": "Ubuntu",
- "pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
- "pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
- "pci_project_instances_distribution_version": "Version"
-}
\ No newline at end of file
+ "pci_project_instances_available_only": "Hide unavailable options",
+ "pci_project_instances_os_linux": "Unix distributions ",
+ "pci_project_instances_os_windows": "Windows operating systems",
+ "pci_project_instances_apps": "Operating systems + Apps",
+ "pci_project_instances_shapshots": "Backups",
+ "pci_project_instances_licence": "To use the images, you will need to accept the supplier's user licence agreement.",
+ "pci_project_instances_distribution_linux": "Linux",
+ "pci_project_instances_distribution_linux_other": "Archlinux",
+ "pci_project_instances_distribution_centos": "CentOS",
+ "pci_project_instances_distribution_coreos": "CoreOS",
+ "pci_project_instances_distribution_debian": "Debian",
+ "pci_project_instances_distribution_fedora": "Fedora",
+ "pci_project_instances_distribution_freebsd": "FreeBSD",
+ "pci_project_instances_distribution_ubuntu": "Ubuntu",
+ "pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
+ "pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
+ "pci_project_instances_distribution_version": "Version",
+ "pci_project_instances_display_nonavailable": "Show unavailable images"
+}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_pl_PL.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_pl_PL.json
index 1af8c02dc06f..844e5823a45f 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_pl_PL.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_pl_PL.json
@@ -16,5 +16,6 @@
"pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
"pci_project_instances_distribution_windows_server_2016": "Windows Server 2012",
"pci_project_instances_distribution_version": "Wersja",
- "pci_project_instances_distribution_windows_other": "Inne dystrybucje Windows"
+ "pci_project_instances_distribution_windows_other": "Inne dystrybucje Windows",
+ "pci_project_instances_display_nonavailable": "Wyświetl niedostępne obrazy"
}
diff --git a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_pt_PT.json b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_pt_PT.json
index d1f7c8fb7f51..849a7275730a 100644
--- a/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_pt_PT.json
+++ b/packages/manager/modules/pci/src/components/project/images-list/translations/Messages_pt_PT.json
@@ -16,5 +16,6 @@
"pci_project_instances_distribution_windows_server_2012": "Windows Server 2012",
"pci_project_instances_distribution_windows_server_2016": "Windows Server 2016",
"pci_project_instances_distribution_version": "Versão",
- "pci_project_instances_distribution_windows_other": "Outras distribuições Windows"
+ "pci_project_instances_distribution_windows_other": "Outras distribuições Windows",
+ "pci_project_instances_display_nonavailable": "Mostrar as imagens indisponíveis"
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.constants.js b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.constants.js
new file mode 100644
index 000000000000..b572cbdc2939
--- /dev/null
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.constants.js
@@ -0,0 +1,19 @@
+export const GUIDE_URLS = {
+ AU: 'https://docs.ovh.com/au/en/public-cloud/create-ssh-keys/',
+ CA: 'https://docs.ovh.com/ca/en/public-cloud/create-ssh-keys/',
+ DE: 'https://docs.ovh.com/de/public-cloud/create-ssh-keys/',
+ ES: 'https://docs.ovh.com/es/public-cloud/crear-llave-ssh/',
+ FR: 'https://docs.ovh.com/fr/public-cloud/creation-des-cles-ssh/',
+ GB: 'https://docs.ovh.com/gb/en/public-cloud/create-ssh-keys/',
+ IE: 'https://docs.ovh.com/ie/en/public-cloud/create-ssh-keys/',
+ IT: 'https://docs.ovh.com/it/public-cloud/creare-chiave-ssh/',
+ LT: 'https://docs.ovh.com/lt/public-cloud/create-ssh-keys/',
+ PL: 'https://docs.ovh.com/pl/public-cloud/tworzenie-kluczy-ssh/',
+ PT: 'https://docs.ovh.com/pt/public-cloud/criacao-de-chaves-ssh/',
+ SG: 'https://docs.ovh.com/sg/en/public-cloud/create-ssh-keys/',
+ WORLD: 'https://docs.ovh.com/gb/en/public-cloud/create-ssh-keys/',
+};
+
+export default {
+ GUIDE_URLS,
+};
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.controller.js b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.controller.js
index 17197768e767..330171db8dec 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.controller.js
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.controller.js
@@ -2,16 +2,27 @@ import filter from 'lodash/filter';
import get from 'lodash/get';
import has from 'lodash/has';
+import { GUIDE_URLS } from './ssh-keys.constants';
+
export default class SshKeysController {
/* @ngInject */
- constructor($translate, CucCloudMessage, OvhApiCloudProjectSshKey) {
+ constructor(
+ $q,
+ $translate,
+ CucCloudMessage,
+ OvhApiCloudProjectSshKey,
+ OvhApiMe,
+ ) {
+ this.$q = $q;
this.$translate = $translate;
this.CucCloudMessage = CucCloudMessage;
this.OvhApiCloudProjectSshKey = OvhApiCloudProjectSshKey;
+ this.OvhApiMe = OvhApiMe;
}
$onInit() {
this.loaders = {
+ guide: false,
keys: false,
isAdding: false,
};
@@ -25,7 +36,7 @@ export default class SshKeysController {
};
this.loadMessages();
- return this.getSshKeys();
+ return this.$q.all([this.getGuideUrl(), this.getSshKeys()]);
}
$onChanges(changes) {
@@ -34,6 +45,21 @@ export default class SshKeysController {
}
}
+ getGuideUrl() {
+ this.loaders.guide = true;
+ return this.OvhApiMe.v6()
+ .get()
+ .$promise.then((me) => {
+ this.guideUrl = get(GUIDE_URLS, me.ovhSubsidiary, GUIDE_URLS.WORLD);
+ })
+ .catch(() => {
+ this.guideUrl = GUIDE_URLS.WORLD;
+ })
+ .finally(() => {
+ this.loaders.guide = false;
+ });
+ }
+
loadMessages() {
this.CucCloudMessage.unSubscribe('pci.components.project.instance.sshKeys');
this.messageHandler = this.CucCloudMessage.subscribe(
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.html b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.html
index df1dcaf99785..c3412d2d89b6 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.html
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/ssh-keys.html
@@ -32,7 +32,13 @@
@@ -69,7 +75,11 @@
Anleitung für weiterführende Informationen.",
"pci_project_instance_ssh_key_help_availability": "Ihr SSH-Schlüssel wird in allen Regionen und OVH Rechenzentren verfügbar sein.",
"pci_project_instance_ssh_key_infos": "Nur SSH-Schlüssel vom Typ RSA oder ECDSA werden angenommen. Sie können keine SSH-Schlüssel vom Typ ED25519 verwenden."
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_en_GB.json b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_en_GB.json
index 82447bfb1a65..9f1cf8fcb0fa 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_en_GB.json
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_en_GB.json
@@ -6,7 +6,7 @@
"pci_project_instance_ssh_key_name": "SSH key name",
"pci_project_instance_ssh_key_query_error": "An error has occurred retrieving your SSH keys: {{message}}.",
"pci_project_instance_ssh_key_add_error": "An error has occurred adding the SSH key: {{message}}",
- "pci_project_instance_ssh_key_help_required": "SSH keys are required to connect to your service.",
+ "pci_project_instance_ssh_key_help_required": "SSH keys are required to connect to your service. Please refer to our guide to find out more.",
"pci_project_instance_ssh_key_help_availability": "Your SSH key will be available for all regions and OVH datacentres.",
"pci_project_instance_ssh_key_infos": "Only RSA and ECDSA SSH keys are accepted. You cannot use ED25519 SSH keys."
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_es_ES.json b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_es_ES.json
index f4c2123d2598..963f289330a5 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_es_ES.json
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_es_ES.json
@@ -6,7 +6,7 @@
"pci_project_instance_ssh_key_name": "Nombre de la llave SSH",
"pci_project_instance_ssh_key_query_error": "Se ha producido un error al cargar las llaves SSH: {{message}}.",
"pci_project_instance_ssh_key_add_error": "Se ha producido un error al añadir la llave SSH: {{message}}.",
- "pci_project_instance_ssh_key_help_required": "Es obligatorio utilizar una llave SSH para conectarse al servicio.",
+ "pci_project_instance_ssh_key_help_required": "Es obligatorio utilizar una llave SSH para conectarse al servicio. Para más información, consulte nuestra guía .",
"pci_project_instance_ssh_key_help_availability": "Su llave SSH estará disponible en todas las regiones y en todos los datacenters de OVH.",
"pci_project_instance_ssh_key_infos": "Solo se aceptan llaves SSH de tipo RSA o ECDSA. No es posible utilizar llaves SSH de tipo ED25519."
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fi_FI.json b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fi_FI.json
index 82447bfb1a65..9f1cf8fcb0fa 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fi_FI.json
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fi_FI.json
@@ -6,7 +6,7 @@
"pci_project_instance_ssh_key_name": "SSH key name",
"pci_project_instance_ssh_key_query_error": "An error has occurred retrieving your SSH keys: {{message}}.",
"pci_project_instance_ssh_key_add_error": "An error has occurred adding the SSH key: {{message}}",
- "pci_project_instance_ssh_key_help_required": "SSH keys are required to connect to your service.",
+ "pci_project_instance_ssh_key_help_required": "SSH keys are required to connect to your service. Please refer to our guide to find out more.",
"pci_project_instance_ssh_key_help_availability": "Your SSH key will be available for all regions and OVH datacentres.",
"pci_project_instance_ssh_key_infos": "Only RSA and ECDSA SSH keys are accepted. You cannot use ED25519 SSH keys."
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fr_CA.json b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fr_CA.json
index 0f3e233070e7..b5b496dfcc25 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fr_CA.json
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fr_CA.json
@@ -8,7 +8,7 @@
"pci_project_instance_ssh_key_query_error": "Une erreur est survenue lors de la récupération de vos clés SSH : {{message}}.",
"pci_project_instance_ssh_key_add_error": "Une erreur est survenue lors de l'ajout de la clé SSH : {{message}}.",
- "pci_project_instance_ssh_key_help_required": "Les clés SSH sont obligatoires pour se connecter à votre service.",
+ "pci_project_instance_ssh_key_help_required": "Les clés SSH sont obligatoires pour se connecter à votre service. Veuillez lire le guide pour en savoir plus.",
"pci_project_instance_ssh_key_help_availability": "Votre clé SSH sera disponible sur l'ensemble des régions et des data centers OVH.",
"pci_project_instance_ssh_key_infos": "Seules les clés SSH de type RSA ou ECDSA sont acceptées. Vous ne pouvez utiliser de clés SSH de type ED25519."
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fr_FR.json b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fr_FR.json
index 0f3e233070e7..b5b496dfcc25 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fr_FR.json
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_fr_FR.json
@@ -8,7 +8,7 @@
"pci_project_instance_ssh_key_query_error": "Une erreur est survenue lors de la récupération de vos clés SSH : {{message}}.",
"pci_project_instance_ssh_key_add_error": "Une erreur est survenue lors de l'ajout de la clé SSH : {{message}}.",
- "pci_project_instance_ssh_key_help_required": "Les clés SSH sont obligatoires pour se connecter à votre service.",
+ "pci_project_instance_ssh_key_help_required": "Les clés SSH sont obligatoires pour se connecter à votre service. Veuillez lire le guide pour en savoir plus.",
"pci_project_instance_ssh_key_help_availability": "Votre clé SSH sera disponible sur l'ensemble des régions et des data centers OVH.",
"pci_project_instance_ssh_key_infos": "Seules les clés SSH de type RSA ou ECDSA sont acceptées. Vous ne pouvez utiliser de clés SSH de type ED25519."
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_it_IT.json b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_it_IT.json
index 95066be62eee..c93206bda1b1 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_it_IT.json
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_it_IT.json
@@ -6,7 +6,7 @@
"pci_project_instance_ssh_key_name": "Nome della chiave SSH",
"pci_project_instance_ssh_key_query_error": "Si è verificato un errore durante il recupero delle tue chiavi SSH: {{message}}.",
"pci_project_instance_ssh_key_add_error": "Si è verificato un errore durante l’aggiunta della chiave SSH: {{message}}",
- "pci_project_instance_ssh_key_help_required": "Le chiavi SSH sono necessarie per accedere al tuo servizio.",
+ "pci_project_instance_ssh_key_help_required": "Le chiavi SSH sono necessarie per accedere al servizio. Per maggiori informazioni, consulta questa guida .",
"pci_project_instance_ssh_key_help_availability": "La tua chiave SSH sarà disponibile in tutte le Region e datacenter OVH.",
"pci_project_instance_ssh_key_infos": "Sono accettate solo le chiavi SSH di tipo RSA e ECDSA Non è possibile utilizzare chiavi SSH di tipo ED25519."
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_lt_LT.json b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_lt_LT.json
index 82447bfb1a65..9f1cf8fcb0fa 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_lt_LT.json
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_lt_LT.json
@@ -6,7 +6,7 @@
"pci_project_instance_ssh_key_name": "SSH key name",
"pci_project_instance_ssh_key_query_error": "An error has occurred retrieving your SSH keys: {{message}}.",
"pci_project_instance_ssh_key_add_error": "An error has occurred adding the SSH key: {{message}}",
- "pci_project_instance_ssh_key_help_required": "SSH keys are required to connect to your service.",
+ "pci_project_instance_ssh_key_help_required": "SSH keys are required to connect to your service. Please refer to our guide to find out more.",
"pci_project_instance_ssh_key_help_availability": "Your SSH key will be available for all regions and OVH datacentres.",
"pci_project_instance_ssh_key_infos": "Only RSA and ECDSA SSH keys are accepted. You cannot use ED25519 SSH keys."
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_pl_PL.json b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_pl_PL.json
index 0c8833339b4e..819be41f5a85 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_pl_PL.json
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_pl_PL.json
@@ -6,7 +6,7 @@
"pci_project_instance_ssh_key_name": "Nazwa klucza SSH",
"pci_project_instance_ssh_key_query_error": "Wystąpił błąd podczas pobierania kluczy SSH: {{message}}.",
"pci_project_instance_ssh_key_add_error": "Wystąpił błąd podczas dodawania klucza SSH: {{message}}.",
- "pci_project_instance_ssh_key_help_required": "Klucze SSH są niezbędne, aby zalogować się do usługi Public Cloud.",
+ "pci_project_instance_ssh_key_help_required": "Klucze SSH są niezbędne, aby zalogować się do usługi Public Cloud. Więcej informacji znajdziesz w przewodniku .",
"pci_project_instance_ssh_key_help_availability": "Twój klucz SSH będzie dostępny we wszystkich strefach geograficznych i centrach danych OVH.",
"pci_project_instance_ssh_key_infos": "Akceptowane są tylko klucze SSH typu RSA lub ECDSA. Nie można używać kluczy SSH typu ED25519."
}
diff --git a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_pt_PT.json b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_pt_PT.json
index 5635422f1942..3cf5f8823391 100644
--- a/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_pt_PT.json
+++ b/packages/manager/modules/pci/src/components/project/instance/ssh-keys/translations/Messages_pt_PT.json
@@ -6,7 +6,7 @@
"pci_project_instance_ssh_key_name": "Nome da chave SSH",
"pci_project_instance_ssh_key_query_error": "Ocorreu um erro ao recuperar as suas chaves SSH: {{message}}.",
"pci_project_instance_ssh_key_add_error": "Ocorreu um erro ao adicionar a chave SSH: {{message}}.",
- "pci_project_instance_ssh_key_help_required": "As chaves SSH são obrigatórias para aceder ao seu serviço.",
+ "pci_project_instance_ssh_key_help_required": "As chaves SSH são obrigatórias para aceder ao seu serviço. Consulte o manual para saber mais.",
"pci_project_instance_ssh_key_help_availability": "A sua chave SSH estará disponível em todas as regiões e em todos os datacenters da OVH.",
"pci_project_instance_ssh_key_infos": "Só são aceites as chaves SSH de tipo RSA ou ECDSA. Não é possível utilizar chaves SSH de tipo ED25519."
}
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/add.component.js b/packages/manager/modules/pci/src/projects/project/instances/add/add.component.js
index 5e8c56308e0d..19e931c38017 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/add.component.js
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/add.component.js
@@ -17,6 +17,8 @@ export default {
cancelLink: '<',
prices: '<',
quotaLink: '<',
+ regionsLink: '<',
+ addPrivateNetworksLink: '<',
selectedCategory: '@?',
},
controller,
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/add.controller.js b/packages/manager/modules/pci/src/projects/project/instances/add/add.controller.js
index f4a37a197316..391a848f520e 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/add.controller.js
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/add.controller.js
@@ -1,9 +1,11 @@
import find from 'lodash/find';
import filter from 'lodash/filter';
+import forEach from 'lodash/forEach';
import get from 'lodash/get';
import includes from 'lodash/includes';
import isEmpty from 'lodash/isEmpty';
import map from 'lodash/map';
+import partition from 'lodash/partition';
import has from 'lodash/has';
import some from 'lodash/some';
import sortBy from 'lodash/sortBy';
@@ -43,7 +45,7 @@ export default class PciInstancesAddController {
this.defaultInstanceName = '';
this.showUserData = false;
- this.showOnlyAvailableRegions = false;
+ this.showNonAvailableRegions = false;
this.quota = null;
this.flavor = null;
@@ -53,6 +55,7 @@ export default class PciInstancesAddController {
this.model = {
flavorGroup: null,
image: null,
+ isImageCompatible: false,
number: 1,
location: null,
datacenter: null,
@@ -84,6 +87,31 @@ export default class PciInstancesAddController {
'pci_projects_project_instances_add_success_multiple_message';
}
+ getFilteredRegions() {
+ this.availableRegions = {};
+ this.unavailableRegions = {};
+
+ forEach(this.regions, (locationsMap, continent) => {
+ this.availableRegions[continent] = {};
+ this.unavailableRegions[continent] = {};
+ forEach(locationsMap, (datacenters, location) => {
+ [
+ this.availableRegions[continent][location],
+ this.unavailableRegions[continent][location],
+ ] = partition(
+ datacenters,
+ (datacenter) =>
+ !datacenter.isAvailable() ||
+ this.model.flavorGroup.isAvailableInRegion(datacenter.name),
+ );
+ });
+ });
+ }
+
+ static hasRegions(locations) {
+ return some(locations, (datacenters) => datacenters.length);
+ }
+
loadMessages() {
this.messageHandler = this.CucCloudMessage.subscribe(
'pci.projects.project.instances.add',
@@ -101,6 +129,7 @@ export default class PciInstancesAddController {
onFlavorChange() {
this.displaySelectedFlavor = true;
+ this.getFilteredRegions();
}
onRegionFocus() {
@@ -171,6 +200,7 @@ export default class PciInstancesAddController {
showImageNavigation() {
return (
this.model.image &&
+ this.model.isImageCompatible &&
(this.model.image.type !== 'linux' || this.model.sshKey)
);
}
@@ -231,18 +261,11 @@ export default class PciInstancesAddController {
isRegionAvailable(datacenter) {
return (
- this.model.flavorGroup.isAvailableInRegion(datacenter.name) &&
datacenter.isAvailable() &&
datacenter.hasEnoughQuotaForFlavors(this.model.flavorGroup)
);
}
- isLocationAvailable(datacenters) {
- return some(datacenters, (datacenter) =>
- this.isRegionAvailable(datacenter),
- );
- }
-
isRegionActive(datacenter) {
return this.availableRegions.includes(datacenter.name);
}
@@ -258,10 +281,6 @@ export default class PciInstancesAddController {
return 'INACTIVE';
}
- if (!this.model.flavorGroup.isAvailableInRegion(datacenter.name)) {
- return 'UNAVAILABLE';
- }
-
if (has(datacenter, 'quota.instance')) {
if (!datacenter.checkInstancesNumber()) {
return 'INSTANCE';
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/add.html b/packages/manager/modules/pci/src/projects/project/instances/add/add.html
index 3d43e8924a1d..b287f884dd62 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/add.html
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/add.html
@@ -9,7 +9,13 @@
-
-
-
-
-
+
-
@@ -154,22 +161,33 @@
data-navigation="$ctrl.showImageNavigation()"
>
-
+
-
+
+
+
+
+
data-searchable
>
+
+
+
+
+
data-translate="pci_projects_project_instances_add_automated_backup_infos"
>
+
{
$state.href('pci.projects.project.quota', {
projectId,
}),
+ regionsLink: /* @ngInject */ ($state, projectId) =>
+ $state.href('pci.projects.project.regions', {
+ projectId,
+ }),
+
+ addPrivateNetworksLink: /* @ngInject */ ($state, projectId) =>
+ $state.href('pci.projects.project.privateNetwork', {
+ projectId,
+ }),
goBack: /* @ngInject */ (goToInstances) => goToInstances,
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_de_DE.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_de_DE.json
index 44ba678dbf92..8f71edcf86a0 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_de_DE.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_de_DE.json
@@ -4,11 +4,11 @@
"pci_projects_project_instances_add_region_title": "Wählen Sie einen Standort aus",
"pci_projects_project_instances_add_region_datacenter_title": "Region",
"pci_project_instances_instance_add_region_error": "Beim Abruf der verfügbaren Regionen ist ein Fehler aufgetreten",
- "pci_project_instances_instance_add_region_activate": "Region aktivieren",
- "pci_project_instances_instance_add_region_quota": "Mein Quota erhöhen",
- "pci_project_instances_instance_add_region_unavailable": "Für ein anderes Modell verfügbar",
+ "pci_project_instances_instance_add_region_activate": "Diese Region ist noch nicht aktiviert. Die können Sie im Reiter Quota und Standort aktivieren und danach Ihre Instanz erstellen.",
+ "pci_project_instances_instance_add_region_quota": "Sie haben für diesen Standort kein verfügbares Quota mehr. Um fortzufahren steigern Sie Ihr Quota .",
+ "pci_project_instances_instance_add_region_unavailable": "Diese Standorte sind mit anderen Modellen verfügbar.",
"pci_projects_project_instances_add_image_title": "Wählen Sie ein Image aus",
- "pci_projects_project_instances_add_image_not_available": "Für ein anderes Modell verfügbar",
+ "pci_projects_project_instances_add_image_not_available": "Diese Images sind mit anderen Modellen verfügbar.",
"pci_projects_project_instances_add_instance_title": "Konfigurieren Sie Ihre Instanz",
"pci_projects_project_instances_add_numInstances_label": "Anzahl zu erstellender Instanzen",
"pci_projects_project_instances_add_numInstances_help": "Mit Ihrem aktuellen Quota können Sie für die Region {{ region }} gleichzeitig bis zu {{ num }} Instanz(en) des Typs {{ flavor }} einrichten.",
@@ -37,7 +37,14 @@
"pci_projects_project_instances_add_success_multiple_message": "Die Instanzen wurden hinzugefügt.",
"pci_projects_project_instances_add_error_save": "Beim Hinzufügen der Instanz {{ instance }} ist ein Fehler aufgetreten: {{ message }}",
"pci_projects_project_instances_add_error_multiple_save": "Beim Hinzufügen der Instanzen ist ein Fehler aufgetreten: {{ message }}",
- "pci_project_instances_instance_add_region_bandwidth_extra": "Der ausgehende öffentliche Netzwerktraffic der Instanzen ist in den Preisen der Instanzen an allen Standorten mit Ausnahme der Asien-Pazifik-Region (Singapur und Sydney) enthalten. In diesen beiden Regionen ist für jedes Public Cloud Projekt 1 TB / Monat des ausgehenden öffentlichen Traffics inklusive. Über dieses Quota hinaus wird jedes weitere GB an Traffic zusätzlich berechnet {{ price }}. Der eingehende Netzwerktraffic aus dem öffentlichen Netz ist in allen Fällen und bei allen Regionen inklusive.",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "Der ausgehende öffentliche Netzwerktraffic der Instanzen ist für Standorte mit Ausnahme der Asien-Pazifik-Region (Singapur und Sydney) enthalten. In diesen beiden Regionen ist für jedes Public Cloud Projekt 1 TB/Monat an ausgehendem öffentlichem Traffic inklusive. Über dieses Quota hinaus wird jedes weitere GB an Traffic zusätzlich berechnet {{ price }}. Der eingehende öffentliche Netzwerktraffic ist in allen Fällen und für alle Regionen inklusive.",
"pci_projects_project_instances_add_automated_backup_label": "Automatische Sicherung der Instanzen",
- "pci_projects_project_instances_add_automated_backup_infos": "Diese Funktion ermöglicht es Ihnen, Ihre Instanz automatisch nach Ihren Vorgaben zu sichern."
+ "pci_projects_project_instances_add_automated_backup_infos": "Diese Funktion ermöglicht es Ihnen, Ihre Instanz automatisch nach Ihren Vorgaben zu sichern.",
+ "pci_projects_project_instances_add_flavor_selected_title": "Gewähltes Modell: {{model}} ab {{price}}",
+ "pci_projects_project_instances_add_region_selected_title": "Gewählter Standort: {{location}}",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Die nicht verfügbaren Standorte anzeigen",
+ "pci_project_instances_instance_add_choose_model": "Modell wechseln",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Empfohlen",
+ "pci_projects_project_instances_add_privateNetwork_description": "Die Public Cloud Instanzen verfügen standardmäßig über ein öffentliches Netzwerk. Sie können ihnen ein privates Netzwerk hinzufügen. ",
+ "pci_projects_project_instances_add_privateNetwork_add": "Privates Netzwerk erstellen"
}
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_en_GB.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_en_GB.json
index fa5209906672..ffb76945fc3f 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_en_GB.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_en_GB.json
@@ -4,11 +4,11 @@
"pci_projects_project_instances_add_region_title": "Select a region",
"pci_projects_project_instances_add_region_datacenter_title": "Region",
"pci_project_instances_instance_add_region_error": "An error has occurred retrieving the available regions.",
- "pci_project_instances_instance_add_region_activate": "Activate this region",
- "pci_project_instances_instance_add_region_quota": "Increase your quota",
- "pci_project_instances_instance_add_region_unavailable": "Available with another model ",
+ "pci_project_instances_instance_add_region_activate": "This region has not been activated yet. You can activate it via the Quota and region tab, then go back to create your instance.",
+ "pci_project_instances_instance_add_region_quota": "You no longer have any quota available for this region. To continue, increase your quota .",
+ "pci_project_instances_instance_add_region_unavailable": "These regions are available for other models.",
"pci_projects_project_instances_add_image_title": "Select an image",
- "pci_projects_project_instances_add_image_not_available": "Available with another model ",
+ "pci_projects_project_instances_add_image_not_available": "These images are available for other models.",
"pci_projects_project_instances_add_instance_title": "Configure your instance",
"pci_projects_project_instances_add_numInstances_label": "Number of instances to be created",
"pci_projects_project_instances_add_numInstances_help": "Under your current quota, you can create up to a maximum of {{ num }} simultaneous {{ flavor }} instance(s) for the {{ region }} region.",
@@ -37,7 +37,14 @@
"pci_projects_project_instances_add_success_multiple_message": "The instances have been added",
"pci_projects_project_instances_add_error_save": "An error has occurred adding the {{ instance }} instance: {{ message }}",
"pci_projects_project_instances_add_error_multiple_save": "An error has occurred adding the instances: {{ message }}",
- "pci_project_instances_instance_add_region_bandwidth_extra": "Outgoing public network traffic for instances is included in the instance prices for all regions apart from the Asia-Pacific region (Singapore and Sydney). In these two regions, 1TB/month of outgoing public traffic is included for each Public Cloud project. Above this quota, each additional GB of traffic is charged at {{ price }}. Incoming network traffic from the public network is included in all cases, and in all regions.",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "Outgoing public network traffic for instances is included for all regions apart from the Asia-Pacific region (Singapore and Sydney). In these two regions, 1TB/month of outgoing public traffic is included with each Public Cloud project. Above this quota, each additional GB of traffic is charged at {{ price }}. Incoming public network traffic is included in all cases, for all regions.",
"pci_projects_project_instances_add_automated_backup_label": "Automatic instance backup",
- "pci_projects_project_instances_add_automated_backup_infos": "You can use this feature to back up your instance automatically, as often as you like."
+ "pci_projects_project_instances_add_automated_backup_infos": "You can use this feature to back up your instance automatically, as often as you like.",
+ "pci_projects_project_instances_add_flavor_selected_title": "Model chosen: {{model}} from {{price}}",
+ "pci_projects_project_instances_add_region_selected_title": "Region chosen: {{location}}",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Show unavailable regions",
+ "pci_project_instances_instance_add_choose_model": "Change model",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Recommended",
+ "pci_projects_project_instances_add_privateNetwork_description": "Public Cloud instances have a public network by default. You can add a private network.",
+ "pci_projects_project_instances_add_privateNetwork_add": "Add Private Network"
}
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_es_ES.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_es_ES.json
index 56d7a6189aa5..242ddf027623 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_es_ES.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_es_ES.json
@@ -4,11 +4,11 @@
"pci_projects_project_instances_add_region_title": "Seleccione una localización",
"pci_projects_project_instances_add_region_datacenter_title": "Región",
"pci_project_instances_instance_add_region_error": "Se ha producido un error al cargar las regiones disponibles.",
- "pci_project_instances_instance_add_region_activate": "Activar esta región",
- "pci_project_instances_instance_add_region_quota": "Aumentar los límites de mi cuota",
- "pci_project_instances_instance_add_region_unavailable": "Disponible para otro modelo",
+ "pci_project_instances_instance_add_region_activate": "Esta región todavía no está activada. Puede activarla en la pestaña Quota and Localisation y, a continuación, volver a crear su instancia.",
+ "pci_project_instances_instance_add_region_quota": "No hay cuotas disponibles en esta localización. Para continuar, aumente su cuota .",
+ "pci_project_instances_instance_add_region_unavailable": "Estas localizaciones están disponibles en otros modelos.",
"pci_projects_project_instances_add_image_title": "Seleccione una imagen",
- "pci_projects_project_instances_add_image_not_available": "Disponible para otro modelo",
+ "pci_projects_project_instances_add_image_not_available": "Estas imágenes están disponibles en otros modelos.",
"pci_projects_project_instances_add_instance_title": "Configure su instancia",
"pci_projects_project_instances_add_numInstances_label": "Número de instancias que quiere crear",
"pci_projects_project_instances_add_numInstances_help": "Su cuota actual le permite crear simultáneamente hasta {{ num }} instancia(s) de tipo {{ flavor }} en la región {{ region }}.",
@@ -37,7 +37,14 @@
"pci_projects_project_instances_add_success_multiple_message": "Se han añadido las instancias.",
"pci_projects_project_instances_add_error_save": "Se ha producido un error al añadir la instancia {{ instance }}: {{ message }}.",
"pci_projects_project_instances_add_error_multiple_save": "Se ha producido un error al añadir las instancias: {{ message }}.",
- "pci_project_instances_instance_add_region_bandwidth_extra": "El tráfico de red público saliente de las instancias está incluido en todas las localizaciones, excepto en las regiones de Asia-Pacífico (Singapur y Sídney). En estas dos regiones, cada proyecto de Public Cloud incluye 1 TB mensual de tráfico público saliente. Una vez superado este límite, el tráfico saliente adicional se factura por intervalos de 1 GB. El tráfico de red entrante desde la red pública está incluido en todos los casos y en todas las regiones.",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "El tráfico de red público saliente de las instancias está incluido en todas las localizaciones, excepto en las regiones de Asia-Pacífico (Singapur y Sídney). En estas dos regiones, cada proyecto de Public Cloud incluye 1 TB mensual de tráfico público saliente. Una vez superado este límite, cada GB de tráfico saliente adicional tiene un precio de {{ price }}. El tráfico de red entrante desde la red pública está incluido en todos los casos y en todas las regiones.",
"pci_projects_project_instances_add_automated_backup_label": "Backup automatizado de instancias",
- "pci_projects_project_instances_add_automated_backup_infos": "Esta funcionalidad permite realizar un backup de su instancia de forma automática, con la frecuencia que usted elija."
+ "pci_projects_project_instances_add_automated_backup_infos": "Esta funcionalidad permite realizar un backup de su instancia de forma automática, con la frecuencia que usted elija.",
+ "pci_projects_project_instances_add_flavor_selected_title": "Modelo seleccionado: {{model}} desde {{price}}",
+ "pci_projects_project_instances_add_region_selected_title": "Localización elegida: {{location}}",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Mostrar las localizaciones no disponibles",
+ "pci_project_instances_instance_add_choose_model": "Cambiar de modelo",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Recomendado",
+ "pci_projects_project_instances_add_privateNetwork_description": "Por defecto las instancias Public Cloud disponen de una red pública, pero es posible añadir una red privada.",
+ "pci_projects_project_instances_add_privateNetwork_add": "Crear una red privada"
}
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fi_FI.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fi_FI.json
index fa5209906672..ffb76945fc3f 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fi_FI.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fi_FI.json
@@ -4,11 +4,11 @@
"pci_projects_project_instances_add_region_title": "Select a region",
"pci_projects_project_instances_add_region_datacenter_title": "Region",
"pci_project_instances_instance_add_region_error": "An error has occurred retrieving the available regions.",
- "pci_project_instances_instance_add_region_activate": "Activate this region",
- "pci_project_instances_instance_add_region_quota": "Increase your quota",
- "pci_project_instances_instance_add_region_unavailable": "Available with another model ",
+ "pci_project_instances_instance_add_region_activate": "This region has not been activated yet. You can activate it via the Quota and region tab, then go back to create your instance.",
+ "pci_project_instances_instance_add_region_quota": "You no longer have any quota available for this region. To continue, increase your quota .",
+ "pci_project_instances_instance_add_region_unavailable": "These regions are available for other models.",
"pci_projects_project_instances_add_image_title": "Select an image",
- "pci_projects_project_instances_add_image_not_available": "Available with another model ",
+ "pci_projects_project_instances_add_image_not_available": "These images are available for other models.",
"pci_projects_project_instances_add_instance_title": "Configure your instance",
"pci_projects_project_instances_add_numInstances_label": "Number of instances to be created",
"pci_projects_project_instances_add_numInstances_help": "Under your current quota, you can create up to a maximum of {{ num }} simultaneous {{ flavor }} instance(s) for the {{ region }} region.",
@@ -37,7 +37,14 @@
"pci_projects_project_instances_add_success_multiple_message": "The instances have been added",
"pci_projects_project_instances_add_error_save": "An error has occurred adding the {{ instance }} instance: {{ message }}",
"pci_projects_project_instances_add_error_multiple_save": "An error has occurred adding the instances: {{ message }}",
- "pci_project_instances_instance_add_region_bandwidth_extra": "Outgoing public network traffic for instances is included in the instance prices for all regions apart from the Asia-Pacific region (Singapore and Sydney). In these two regions, 1TB/month of outgoing public traffic is included for each Public Cloud project. Above this quota, each additional GB of traffic is charged at {{ price }}. Incoming network traffic from the public network is included in all cases, and in all regions.",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "Outgoing public network traffic for instances is included for all regions apart from the Asia-Pacific region (Singapore and Sydney). In these two regions, 1TB/month of outgoing public traffic is included with each Public Cloud project. Above this quota, each additional GB of traffic is charged at {{ price }}. Incoming public network traffic is included in all cases, for all regions.",
"pci_projects_project_instances_add_automated_backup_label": "Automatic instance backup",
- "pci_projects_project_instances_add_automated_backup_infos": "You can use this feature to back up your instance automatically, as often as you like."
+ "pci_projects_project_instances_add_automated_backup_infos": "You can use this feature to back up your instance automatically, as often as you like.",
+ "pci_projects_project_instances_add_flavor_selected_title": "Model chosen: {{model}} from {{price}}",
+ "pci_projects_project_instances_add_region_selected_title": "Region chosen: {{location}}",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Show unavailable regions",
+ "pci_project_instances_instance_add_choose_model": "Change model",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Recommended",
+ "pci_projects_project_instances_add_privateNetwork_description": "Public Cloud instances have a public network by default. You can add a private network.",
+ "pci_projects_project_instances_add_privateNetwork_add": "Add Private Network"
}
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fr_CA.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fr_CA.json
index 3335d79342a0..acb4312e7600 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fr_CA.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fr_CA.json
@@ -1,19 +1,22 @@
{
-
"pci_projects_project_instances_add_title": "Créer une instance",
"pci_projects_project_instances_add_flavor_title": "Sélectionnez un modèle",
+ "pci_projects_project_instances_add_flavor_selected_title": "Modèle choisi : {{model}} à partir de {{price}}",
"pci_projects_project_instances_add_region_title": "Sélectionnez une localisation",
+ "pci_projects_project_instances_add_region_selected_title": "Localisation choisie : {{location}}",
"pci_projects_project_instances_add_region_datacenter_title": "Région",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Montrer les localisations indisponibles",
"pci_project_instances_instance_add_region_error": "Une erreur est survenue lors de la récupération des régions disponibles",
- "pci_project_instances_instance_add_region_activate": "Activer cette région",
- "pci_project_instances_instance_add_region_quota": "Augmenter mon quota",
- "pci_project_instances_instance_add_region_unavailable": "Disponible pour un autre modèle",
- "pci_project_instances_instance_add_region_bandwidth_extra": "Le trafic réseau public sortant des instances est inclus dans le prix des instances sur toutes les localisations, excepté la région Asie-Pacifique (Singapour et Sydney). Sur ces deux régions, 1 To/mois de trafic public sortant est inclus pour chaque projet Public Cloud. Au-delà de ce quota, chaque Go de trafic supplémentaire est facturé {{ price }}. Le trafic réseau entrant depuis le réseau public est inclus dans tous les cas et dans toutes les régions.",
+ "pci_project_instances_instance_add_region_activate": "Cette région n'est pas encore activée. Vous pouvez l'activer sur l'onglet Quota and localisation puis revenir créer votre instance.",
+ "pci_project_instances_instance_add_region_quota": "Vous n'avez plus de quota disponible sur cette localisation. Pour continuer augmentez votre quota .",
+ "pci_project_instances_instance_add_region_unavailable": "Ces localisations sont disponibles sur d'autre modèles.",
+ "pci_project_instances_instance_add_choose_model": "Changer de modèle",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "Le trafic réseau public sortant des instances est inclus pour toutes les localisations, à l’exception de celles en région Asie-Pacifique (Singapour et Sydney). Dans ces deux régions, 1 To/mois de trafic public sortant est inclus avec chaque projet Public Cloud. Au-delà de ce quota, chaque Go de trafic supplémentaire est facturé {{ price }}. Quant au trafic réseau public entrant, celui-ci est inclus dans tous les cas et pour toutes les régions.",
"pci_projects_project_instances_add_image_title": "Sélectionnez une image",
- "pci_projects_project_instances_add_image_not_available": "Disponible pour un autre modèle",
+ "pci_projects_project_instances_add_image_not_available": "Ces images sont disponibles sur d'autre modèles.",
"pci_projects_project_instances_add_instance_title": "Configurez votre instance",
"pci_projects_project_instances_add_numInstances_label": "Nombre d'instances à créer",
@@ -30,11 +33,13 @@
"pci_projects_project_instances_add_script_add_label": "Ajouter",
"pci_projects_project_instances_add_privateNetwork_label": "Réseau privé attaché",
"pci_projects_project_instances_add_privateNetwork_none": "Aucun",
+ "pci_projects_project_instances_add_privateNetwork_description": "Par défaut les instances Public Cloud possèdent un réseau public, vous pouvez ajouter un réseau privé.",
+ "pci_projects_project_instances_add_privateNetwork_add": "Créer un réseau privé",
"pci_projects_project_instances_add_automated_backup_label": "Sauvegarde automatisée des instances",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Recommandé",
"pci_projects_project_instances_add_automated_backup_infos": "Cette fonctionnalité vous permet de sauvegarder votre instance de manière automatique selon l'ordonnancement de votre choix.",
-
"pci_projects_project_instances_add_billing_title": "Sélectionnez une période de facturation",
"pci_projects_project_instances_add_billing_montly_discount_message": "Le forfait mensuel est facturé dès le démarrage de l'instance et permet d'économiser 50% sur le prix des serveurs.",
"pci_projects_project_instances_add_billing_short_period_message": "Pour une utilisation sur de courtes périodes, il est recommandé de choisir la facturation à l'heure et de basculer au forfait mensuel par la suite.",
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fr_FR.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fr_FR.json
index 3335d79342a0..acb4312e7600 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fr_FR.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_fr_FR.json
@@ -1,19 +1,22 @@
{
-
"pci_projects_project_instances_add_title": "Créer une instance",
"pci_projects_project_instances_add_flavor_title": "Sélectionnez un modèle",
+ "pci_projects_project_instances_add_flavor_selected_title": "Modèle choisi : {{model}} à partir de {{price}}",
"pci_projects_project_instances_add_region_title": "Sélectionnez une localisation",
+ "pci_projects_project_instances_add_region_selected_title": "Localisation choisie : {{location}}",
"pci_projects_project_instances_add_region_datacenter_title": "Région",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Montrer les localisations indisponibles",
"pci_project_instances_instance_add_region_error": "Une erreur est survenue lors de la récupération des régions disponibles",
- "pci_project_instances_instance_add_region_activate": "Activer cette région",
- "pci_project_instances_instance_add_region_quota": "Augmenter mon quota",
- "pci_project_instances_instance_add_region_unavailable": "Disponible pour un autre modèle",
- "pci_project_instances_instance_add_region_bandwidth_extra": "Le trafic réseau public sortant des instances est inclus dans le prix des instances sur toutes les localisations, excepté la région Asie-Pacifique (Singapour et Sydney). Sur ces deux régions, 1 To/mois de trafic public sortant est inclus pour chaque projet Public Cloud. Au-delà de ce quota, chaque Go de trafic supplémentaire est facturé {{ price }}. Le trafic réseau entrant depuis le réseau public est inclus dans tous les cas et dans toutes les régions.",
+ "pci_project_instances_instance_add_region_activate": "Cette région n'est pas encore activée. Vous pouvez l'activer sur l'onglet Quota and localisation puis revenir créer votre instance.",
+ "pci_project_instances_instance_add_region_quota": "Vous n'avez plus de quota disponible sur cette localisation. Pour continuer augmentez votre quota .",
+ "pci_project_instances_instance_add_region_unavailable": "Ces localisations sont disponibles sur d'autre modèles.",
+ "pci_project_instances_instance_add_choose_model": "Changer de modèle",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "Le trafic réseau public sortant des instances est inclus pour toutes les localisations, à l’exception de celles en région Asie-Pacifique (Singapour et Sydney). Dans ces deux régions, 1 To/mois de trafic public sortant est inclus avec chaque projet Public Cloud. Au-delà de ce quota, chaque Go de trafic supplémentaire est facturé {{ price }}. Quant au trafic réseau public entrant, celui-ci est inclus dans tous les cas et pour toutes les régions.",
"pci_projects_project_instances_add_image_title": "Sélectionnez une image",
- "pci_projects_project_instances_add_image_not_available": "Disponible pour un autre modèle",
+ "pci_projects_project_instances_add_image_not_available": "Ces images sont disponibles sur d'autre modèles.",
"pci_projects_project_instances_add_instance_title": "Configurez votre instance",
"pci_projects_project_instances_add_numInstances_label": "Nombre d'instances à créer",
@@ -30,11 +33,13 @@
"pci_projects_project_instances_add_script_add_label": "Ajouter",
"pci_projects_project_instances_add_privateNetwork_label": "Réseau privé attaché",
"pci_projects_project_instances_add_privateNetwork_none": "Aucun",
+ "pci_projects_project_instances_add_privateNetwork_description": "Par défaut les instances Public Cloud possèdent un réseau public, vous pouvez ajouter un réseau privé.",
+ "pci_projects_project_instances_add_privateNetwork_add": "Créer un réseau privé",
"pci_projects_project_instances_add_automated_backup_label": "Sauvegarde automatisée des instances",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Recommandé",
"pci_projects_project_instances_add_automated_backup_infos": "Cette fonctionnalité vous permet de sauvegarder votre instance de manière automatique selon l'ordonnancement de votre choix.",
-
"pci_projects_project_instances_add_billing_title": "Sélectionnez une période de facturation",
"pci_projects_project_instances_add_billing_montly_discount_message": "Le forfait mensuel est facturé dès le démarrage de l'instance et permet d'économiser 50% sur le prix des serveurs.",
"pci_projects_project_instances_add_billing_short_period_message": "Pour une utilisation sur de courtes périodes, il est recommandé de choisir la facturation à l'heure et de basculer au forfait mensuel par la suite.",
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_it_IT.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_it_IT.json
index 9f8839a58065..2e0c786257ba 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_it_IT.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_it_IT.json
@@ -4,11 +4,11 @@
"pci_projects_project_instances_add_region_title": "Seleziona una localizzazione",
"pci_projects_project_instances_add_region_datacenter_title": "Region",
"pci_project_instances_instance_add_region_error": "Si è verificato un errore durante il recupero delle Region disponibili.",
- "pci_project_instances_instance_add_region_activate": "Attiva questa Region",
- "pci_project_instances_instance_add_region_quota": "Aumenta la tua quota",
- "pci_project_instances_instance_add_region_unavailable": "Disponibile per un altro modello",
+ "pci_project_instances_instance_add_region_activate": "Questa Region non è ancora attiva È possibile attivarla dalla scheda Quota and localisation e poi ritornare alla creare dell’istanza.",
+ "pci_project_instances_instance_add_region_quota": "Non disponi più di quota disponibile in questa localizzazione. Per continuare, aumenta la quota .",
+ "pci_project_instances_instance_add_region_unavailable": "Queste localizzazioni sono disponibili su altri modelli.",
"pci_projects_project_instances_add_image_title": "Seleziona un'immagine",
- "pci_projects_project_instances_add_image_not_available": "Disponibile per un altro modello",
+ "pci_projects_project_instances_add_image_not_available": "Queste localizzazioni sono disponibili su altri modelli.",
"pci_projects_project_instances_add_instance_title": "Configura la tua istanza",
"pci_projects_project_instances_add_numInstances_label": "Numero di istanze da creare",
"pci_projects_project_instances_add_numInstances_help": "La tua quota attuale ti consente di creare contemporaneamente un massimo di {{max}} istanze di tipo {{type}} per la Region {{region}}.",
@@ -37,7 +37,14 @@
"pci_projects_project_instances_add_success_multiple_message": "Le istanze sono state aggiunte.",
"pci_projects_project_instances_add_error_save": "Si è verificato un errore durante l’aggiunta dell'istanza {{ instance }}: {{ message }}",
"pci_projects_project_instances_add_error_multiple_save": "Si è verificato un errore durante l’aggiunta delle istanze: {{message}}",
- "pci_project_instances_instance_add_region_bandwidth_extra": "Il traffico di rete pubblico in uscita dalle istanze è incluso nel prezzo in tutte le localizzazioni disponibili, fatta eccezione per l’Asia Pacifica (Singapore e Sydney): in questa Region, su ogni progetto Public Cloud è incluso 1 TB/mese di traffico pubblico in uscita. Al superamento di questa soglia, ogni GB di traffico supplementare viene fatturato {{ price }}. Il traffico in entrata dalla rete pubblica è sempre incluso, in tutte le localizzazioni.",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "Il traffico di rete pubblico in uscita dalle istanze è incluso per tutte le localizzazioni disponibili, fatta eccezione per l’Asia Pacifica (Singapore e Sydney): in queste Region, su ogni progetto Public Cloud è incluso 1 TB/mese di traffico pubblico in uscita. Al superamento di questa soglia, ogni GB di traffico supplementare viene fatturato {{ price }}. Il traffico in entrata dalla rete pubblica è sempre incluso, in tutte le localizzazioni.",
"pci_projects_project_instances_add_automated_backup_label": "Backup automatico delle istanze",
- "pci_projects_project_instances_add_automated_backup_infos": "Questa funzionalità consente di effettuare una copia dell’istanza in modo automatico, in base alla frequenza pianificata."
+ "pci_projects_project_instances_add_automated_backup_infos": "Questa funzionalità consente di effettuare una copia dell’istanza in modo automatico, in base alla frequenza pianificata.",
+ "pci_projects_project_instances_add_flavor_selected_title": "Modello scelto: {{model}} a partire da {{price}}",
+ "pci_projects_project_instances_add_region_selected_title": "Localizzazione scelta: {{location}}",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Mostra le localizzazioni non disponibili",
+ "pci_project_instances_instance_add_choose_model": "Cambia modello",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Consigliato",
+ "pci_projects_project_instances_add_privateNetwork_description": "Di default le istanze Public Cloud dispongono di una rete pubblica, ma è possibile aggiungere anche una rete privata.",
+ "pci_projects_project_instances_add_privateNetwork_add": "Crea una rete privata"
}
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_lt_LT.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_lt_LT.json
index fa5209906672..ffb76945fc3f 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_lt_LT.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_lt_LT.json
@@ -4,11 +4,11 @@
"pci_projects_project_instances_add_region_title": "Select a region",
"pci_projects_project_instances_add_region_datacenter_title": "Region",
"pci_project_instances_instance_add_region_error": "An error has occurred retrieving the available regions.",
- "pci_project_instances_instance_add_region_activate": "Activate this region",
- "pci_project_instances_instance_add_region_quota": "Increase your quota",
- "pci_project_instances_instance_add_region_unavailable": "Available with another model ",
+ "pci_project_instances_instance_add_region_activate": "This region has not been activated yet. You can activate it via the Quota and region tab, then go back to create your instance.",
+ "pci_project_instances_instance_add_region_quota": "You no longer have any quota available for this region. To continue, increase your quota .",
+ "pci_project_instances_instance_add_region_unavailable": "These regions are available for other models.",
"pci_projects_project_instances_add_image_title": "Select an image",
- "pci_projects_project_instances_add_image_not_available": "Available with another model ",
+ "pci_projects_project_instances_add_image_not_available": "These images are available for other models.",
"pci_projects_project_instances_add_instance_title": "Configure your instance",
"pci_projects_project_instances_add_numInstances_label": "Number of instances to be created",
"pci_projects_project_instances_add_numInstances_help": "Under your current quota, you can create up to a maximum of {{ num }} simultaneous {{ flavor }} instance(s) for the {{ region }} region.",
@@ -37,7 +37,14 @@
"pci_projects_project_instances_add_success_multiple_message": "The instances have been added",
"pci_projects_project_instances_add_error_save": "An error has occurred adding the {{ instance }} instance: {{ message }}",
"pci_projects_project_instances_add_error_multiple_save": "An error has occurred adding the instances: {{ message }}",
- "pci_project_instances_instance_add_region_bandwidth_extra": "Outgoing public network traffic for instances is included in the instance prices for all regions apart from the Asia-Pacific region (Singapore and Sydney). In these two regions, 1TB/month of outgoing public traffic is included for each Public Cloud project. Above this quota, each additional GB of traffic is charged at {{ price }}. Incoming network traffic from the public network is included in all cases, and in all regions.",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "Outgoing public network traffic for instances is included for all regions apart from the Asia-Pacific region (Singapore and Sydney). In these two regions, 1TB/month of outgoing public traffic is included with each Public Cloud project. Above this quota, each additional GB of traffic is charged at {{ price }}. Incoming public network traffic is included in all cases, for all regions.",
"pci_projects_project_instances_add_automated_backup_label": "Automatic instance backup",
- "pci_projects_project_instances_add_automated_backup_infos": "You can use this feature to back up your instance automatically, as often as you like."
+ "pci_projects_project_instances_add_automated_backup_infos": "You can use this feature to back up your instance automatically, as often as you like.",
+ "pci_projects_project_instances_add_flavor_selected_title": "Model chosen: {{model}} from {{price}}",
+ "pci_projects_project_instances_add_region_selected_title": "Region chosen: {{location}}",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Show unavailable regions",
+ "pci_project_instances_instance_add_choose_model": "Change model",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Recommended",
+ "pci_projects_project_instances_add_privateNetwork_description": "Public Cloud instances have a public network by default. You can add a private network.",
+ "pci_projects_project_instances_add_privateNetwork_add": "Add Private Network"
}
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_pl_PL.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_pl_PL.json
index 4ef4978cdf11..0eade1850e9f 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_pl_PL.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_pl_PL.json
@@ -4,11 +4,11 @@
"pci_projects_project_instances_add_region_title": "Wybierz lokalizację",
"pci_projects_project_instances_add_region_datacenter_title": "Region",
"pci_project_instances_instance_add_region_error": "Wystąpił błąd podczas pobierania informacji o dostępnych regionach.",
- "pci_project_instances_instance_add_region_activate": "Aktywuj ten region",
- "pci_project_instances_instance_add_region_quota": "Zwiększ limity",
- "pci_project_instances_instance_add_region_unavailable": "Dostępna dla innego modelu",
+ "pci_project_instances_instance_add_region_activate": "Ten region nie został jeszcze włączony. Możesz go aktywować w zakładce Limity i lokalizacja , a następnie wrócić do procesu tworzenia instancji. ",
+ "pci_project_instances_instance_add_region_quota": "W wybranej lokalizacji brak limitów. Aby kontynuować, zwiększ limity .",
+ "pci_project_instances_instance_add_region_unavailable": "Te lokalizacje są dostępne dla innych modeli.",
"pci_projects_project_instances_add_image_title": "Wybierz obraz",
- "pci_projects_project_instances_add_image_not_available": "Dostępna dla innego modelu",
+ "pci_projects_project_instances_add_image_not_available": "Te obrazy są dostępne dla innych modeli.",
"pci_projects_project_instances_add_instance_title": "Skonfiguruj instancję",
"pci_projects_project_instances_add_numInstances_label": "Liczba instancji do utworzenia",
"pci_projects_project_instances_add_numInstances_help": "Twój aktualny limit pozwala na utworzenie dla regionu {{region}} do {{ num }} instancji typu {{type}} {{ flavor }} jednocześnie.",
@@ -37,7 +37,14 @@
"pci_projects_project_instances_add_success_multiple_message": "Instancje zostały dodane.",
"pci_projects_project_instances_add_error_save": "Wystąpił błąd podczas dodawania instancji {{instance}}: {{message}}.",
"pci_projects_project_instances_add_error_multiple_save": "Wystąpił błąd podczas dodawania instancji: {{message}}.",
- "pci_project_instances_instance_add_region_bandwidth_extra": "Ruch wychodzący z instancji do sieci publicznej jest wliczony w cenę instancji we wszystkich lokalizacjach z wyjątkiem regionu Azja- Pacyfik (Singapur i Sydney). W obydwu tych regionach, w każdym projekcie Public Cloud, zawarty jest w cenie 1 TB/miesiąc ruchu wychodzącego do sieci publicznej. Po przekroczeniu tego limitu naliczane są opłaty za każdy dodatkowy GB {{ price }}. Ruch przychodzący z sieci publicznej jest zawarty w cenie we wszystkich przypadkach i we wszystkich regionach.",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "Ruch wychodzący z instancji do sieci publicznej jest zawarty w cenie w przypadku wszystkich lokalizacji z wyjątkiem regionu Azja- Pacyfik (Singapur i Sydney). W obydwu tych regionach, w każdym projekcie Public Cloud, w cenie zawarty jest 1 TB/miesiąc ruchu wychodzącego do sieci publicznej. Po przekroczeniu tego limitu naliczane są opłaty za każdy dodatkowy GB {{ price }}. Ruch przychodzący z sieci publicznej jest zawarty w cenie we wszystkich przypadkach i we wszystkich regionach.",
"pci_projects_project_instances_add_automated_backup_label": "Automatyczne kopie zapasowe instancji",
- "pci_projects_project_instances_add_automated_backup_infos": "Dzięki tej funkcji możesz automatycznie zapisać instancję w wybranej przez Ciebie kolejności."
+ "pci_projects_project_instances_add_automated_backup_infos": "Dzięki tej funkcji możesz automatycznie zapisać instancję w wybranej przez Ciebie kolejności.",
+ "pci_projects_project_instances_add_flavor_selected_title": "Wybrany model: {{model}} od {{price}}",
+ "pci_projects_project_instances_add_region_selected_title": "Wybrana lokalizacja: {{location}}",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Wyświetl niedostępne lokalizacje",
+ "pci_project_instances_instance_add_choose_model": "Zmień model",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Zalecane",
+ "pci_projects_project_instances_add_privateNetwork_description": "Instancje Public Cloud połączone są domyślnie w ramach sieci publicznej, możesz dodać sieć prywatną.",
+ "pci_projects_project_instances_add_privateNetwork_add": "Utwórz prywatną sieć"
}
diff --git a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_pt_PT.json b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_pt_PT.json
index b71422ccee6d..728e5ee32e2d 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_pt_PT.json
+++ b/packages/manager/modules/pci/src/projects/project/instances/add/translations/Messages_pt_PT.json
@@ -4,11 +4,11 @@
"pci_projects_project_instances_add_region_title": "Selecione uma localização",
"pci_projects_project_instances_add_region_datacenter_title": "Região",
"pci_project_instances_instance_add_region_error": "Ocorreu um erro ao obter as regiões disponíveis",
- "pci_project_instances_instance_add_region_activate": "Ativar esta região",
- "pci_project_instances_instance_add_region_quota": "Aumentar o meu limite",
- "pci_project_instances_instance_add_region_unavailable": "Disponível para outro modelo",
+ "pci_project_instances_instance_add_region_activate": "Esta região ainda não está ativa. Pode ativá-la no separador Limites e localizações e voltar para criar a sua instância.",
+ "pci_project_instances_instance_add_region_quota": "Já não tem limite disponível para esta localização. Para continuar, aumente o seu limite .",
+ "pci_project_instances_instance_add_region_unavailable": "Estas localizações estão disponíveis noutros modelos.",
"pci_projects_project_instances_add_image_title": "Selecione uma imagem",
- "pci_projects_project_instances_add_image_not_available": "Disponível para outro modelo",
+ "pci_projects_project_instances_add_image_not_available": "Estas imagens estão disponíveis noutros modelos.",
"pci_projects_project_instances_add_instance_title": "Configure a sua instância",
"pci_projects_project_instances_add_numInstances_label": "Número de instâncias a criar",
"pci_projects_project_instances_add_numInstances_help": "O seu limite atual permite-lhe criar, simultaneamente, até {{ num }} instância(s) de tipo {{ flavor }} para a região de {{ region }}.",
@@ -37,7 +37,14 @@
"pci_projects_project_instances_add_success_multiple_message": "As instâncias foram adicionadas.",
"pci_projects_project_instances_add_error_save": "Ocorreu um erro ao adicionar a instância {{ instance }}: {{ message }}",
"pci_projects_project_instances_add_error_multiple_save": "Ocorreu um erro ao adicionar as instâncias: {{ message }}",
- "pci_project_instances_instance_add_region_bandwidth_extra": "O tráfego público de saída das instâncias está incluído no preço das instâncias em todas as localizações, exceto para a região da Ásia-Pacífico (Singapura e Sydney). Nestas duas regiões, está incluído um tráfego público de saída de 1 TB/mês para cada projeto Public Cloud. Acima desse limite, cada GB adicional será faturado {{ price }}. O tráfego de entrada a partir da rede pública está incluído em todas as situações e regiões.",
+ "pci_project_instances_instance_add_region_bandwidth_extra": "O tráfego de rede pública de saída das instâncias está incluído em todas as localizações, exceto para a região da Ásia-Pacífico (Singapura e Sydney). Nestas duas regiões, está incluído um tráfego público de saída de 1 TB/mês com cada projeto Public Cloud. Acima desse limite, cada GB adicional será faturado {{ price }}. Relativamente ao tráfego de rede pública de entrada, este está incluído em todas as situações e regiões.",
"pci_projects_project_instances_add_automated_backup_label": "Backup automatizado das instâncias",
- "pci_projects_project_instances_add_automated_backup_infos": "Esta funcionalidade permite-lhe fazer um backup da sua instância de forma automática em função da ordem à sua escolha."
+ "pci_projects_project_instances_add_automated_backup_infos": "Esta funcionalidade permite-lhe fazer um backup da sua instância de forma automática em função da ordem à sua escolha.",
+ "pci_projects_project_instances_add_flavor_selected_title": "Modelo escolhido: {{model}} a partir de {{price}}",
+ "pci_projects_project_instances_add_region_selected_title": "Localização escolhida: {{location}}",
+ "pci_projects_project_instances_add_region_display_nonavailable": "Mostrar as localizações indisponíveis",
+ "pci_project_instances_instance_add_choose_model": "Mudar de modelo",
+ "pci_projects_project_instances_add_automated_backup_recommended": "Recomendado",
+ "pci_projects_project_instances_add_privateNetwork_description": "Por predefinição, as instâncias Public Cloud possuem uma rede pública. Pode adicionar uma rede privada.",
+ "pci_projects_project_instances_add_privateNetwork_add": "Criar uma rede privada"
}
diff --git a/packages/manager/modules/pci/src/projects/project/instances/instance/edit/edit.html b/packages/manager/modules/pci/src/projects/project/instances/instance/edit/edit.html
index 57fe52f3779f..4b82b0cd25f4 100644
--- a/packages/manager/modules/pci/src/projects/project/instances/instance/edit/edit.html
+++ b/packages/manager/modules/pci/src/projects/project/instances/instance/edit/edit.html
@@ -116,6 +116,7 @@
data-default-image-id="$ctrl.instance.image.id"
data-on-change="$ctrl.onImageChange(image)"
data-selected-image="$ctrl.model.image"
+ data-is-image-compatible="$ctrl.model.isImageCompatible"
>
+
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/add/translations/Messages_de_DE.json b/packages/manager/modules/pci/src/projects/project/kubernetes/add/translations/Messages_de_DE.json
index 20a6b912b814..ac6f1fcb914e 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/add/translations/Messages_de_DE.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/add/translations/Messages_de_DE.json
@@ -7,5 +7,5 @@
"kubernetes_add_version_title": "Wählen Sie die gewünschte Kubernetes-Nebenversion aus",
"kubernetes_add_name_title": "Benennen Sie Ihr Cluster",
"kubernetes_add_name": "Name",
- "kubernetes_add_billing_type_description": "Sie können nach dem Deployment Ihres Clusters von der stündlichen auf die monatliche Abrechnung wechseln, indem Sie den Node-Pool bearbeiten."
+ "kubernetes_add_billing_type_description": "Sie können nach der Bereitstellung Ihres Clusters von der stündlichen auf die monatliche Abrechnung wechseln, indem Sie den Node-Pool bearbeiten."
}
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_de_DE.json b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_de_DE.json
index 2c2573b63111..46e9cafbd203 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_de_DE.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_de_DE.json
@@ -14,7 +14,7 @@
"kube_nodes_flavor": "Instanz-Typ",
"kube_nodes_flavor_error": "Beim Laden des Instanz-Typs ist ein Fehler aufgetreten.",
"kube_nodes_project_error": "Beim Laden des zugehörigen Projekts ist ein Fehler aufgetreten.",
- "kube_nodes_description_project_1": "Ihr Kubernetes-Cluster verwendet Nodes, um Ihre Container und Dienste zu hosten. Alle Ihre Nodes werden in dem Public Cloud Projekt {{ description }} gestartet (dies werden Sie in der Endversion ändern können).",
+ "kube_nodes_description_project_1": "Ihr Kubernetes Cluster verwendet Nodes für das Hosting Ihrer Container und Dienste. Alle Ihre Nodes werden im Public Cloud Projekt {{ description }} gestartet (in Zukunft werden Sie dies ändern können).",
"kube_nodes_description_project_2": "Diese Instanzen werden standardmäßig über die stündliche Abrechnung berechnet. In Ihrem Public Cloud Projekt finden Sie weitere Abrechnungsinformationen und können Ihre Instanzen auf monatliche Abrechnung umstellen.",
"kube_nodes_quota_description": "Um den Verbrauch an Cloud-Ressourcen zu begrenzen, wurden diese für Ihr Projekt limitiert.",
"kube_nodes_quota_more": "Wenn Sie mehr Ressourcen benötigen, können Sie diese bei unserem Team anfordern, indem Sie unten auf den Button klicken.",
@@ -29,7 +29,7 @@
"kube_nodes_status_READY": "OK",
"kube_nodes_status_ERROR": "Fehler",
"kube_nodes_status_INSTALLING": "Wird installiert",
- "kube_nodes_status_UPDATING": "Update",
+ "kube_nodes_status_UPDATING": "Aktualisierung",
"kube_nodes_status_DELETING": "Wird gelöscht",
"kube_nodes_status_RESETTING": "Wird zurückgesetzt",
"kube_nodes_instances_error": "Beim Laden der Abrechnungsdetails ist ein Fehler aufgetreten: {{ message }}",
@@ -45,5 +45,7 @@
"kube_nodes_delete_many": "Nodes löschen",
"kube_nodes_delete_select_nodes": "Wählen Sie die Anzahl der zu löschenden Nodes aus",
"kube_nodes_add_nodes": "Nodes hinzufügen",
- "kube_nodes_delete_nodes": "Nodes löschen"
+ "kube_nodes_delete_nodes": "Nodes löschen",
+ "kube_nodes_status_RESIZING": "Größenanpassung",
+ "kube_nodes_common_actions": "Aktionen"
}
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_en_GB.json b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_en_GB.json
index 15045ddf22d9..13109aa48b53 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_en_GB.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_en_GB.json
@@ -14,9 +14,9 @@
"kube_nodes_flavor": "Flavor",
"kube_nodes_flavor_error": "An error has occurred loading the flavor",
"kube_nodes_project_error": "An error has occurred loading the Public Cloud project",
- "kube_nodes_description_project_1": "Your Kubernetes cluster needs nodes to host your containers and services. All your nodes will be deployed in the {{ description }} Public Cloud project (you will be able to change this in a future version of the service).",
+ "kube_nodes_description_project_1": "Your Kubernetes cluster uses nodes to host your containers and services. All of your nodes will be launched in the {{ description }} Public Cloud project (you will be able to change this in the future).",
"kube_nodes_description_project_2": "These instances are deployed with standard hourly billing. You can find details on your bill and switch to a monthly plan in your Public Cloud project.",
- "kube_nodes_quota_description": "The number of resources for your Cloud project is limited, so that you can control your resource consumption.",
+ "kube_nodes_quota_description": "The resources for your cloud project are limited, so that you can control your resource usage.",
"kube_nodes_quota_more": "If you need more resources, you can request them from our team by clicking on the button below.",
"kube_nodes_quota_ask_more": "Increase my limits",
"kube_nodes_name": "Name",
@@ -45,5 +45,7 @@
"kube_nodes_delete_many": "Delete nodes",
"kube_nodes_delete_select_nodes": "Select the number of nodes to delete",
"kube_nodes_add_nodes": "Add nodes",
- "kube_nodes_delete_nodes": "Delete nodes"
+ "kube_nodes_delete_nodes": "Delete nodes",
+ "kube_nodes_status_RESIZING": "Resize",
+ "kube_nodes_common_actions": "Actions"
}
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_fi_FI.json b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_fi_FI.json
index 15045ddf22d9..13109aa48b53 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_fi_FI.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_fi_FI.json
@@ -14,9 +14,9 @@
"kube_nodes_flavor": "Flavor",
"kube_nodes_flavor_error": "An error has occurred loading the flavor",
"kube_nodes_project_error": "An error has occurred loading the Public Cloud project",
- "kube_nodes_description_project_1": "Your Kubernetes cluster needs nodes to host your containers and services. All your nodes will be deployed in the {{ description }} Public Cloud project (you will be able to change this in a future version of the service).",
+ "kube_nodes_description_project_1": "Your Kubernetes cluster uses nodes to host your containers and services. All of your nodes will be launched in the {{ description }} Public Cloud project (you will be able to change this in the future).",
"kube_nodes_description_project_2": "These instances are deployed with standard hourly billing. You can find details on your bill and switch to a monthly plan in your Public Cloud project.",
- "kube_nodes_quota_description": "The number of resources for your Cloud project is limited, so that you can control your resource consumption.",
+ "kube_nodes_quota_description": "The resources for your cloud project are limited, so that you can control your resource usage.",
"kube_nodes_quota_more": "If you need more resources, you can request them from our team by clicking on the button below.",
"kube_nodes_quota_ask_more": "Increase my limits",
"kube_nodes_name": "Name",
@@ -45,5 +45,7 @@
"kube_nodes_delete_many": "Delete nodes",
"kube_nodes_delete_select_nodes": "Select the number of nodes to delete",
"kube_nodes_add_nodes": "Add nodes",
- "kube_nodes_delete_nodes": "Delete nodes"
+ "kube_nodes_delete_nodes": "Delete nodes",
+ "kube_nodes_status_RESIZING": "Resize",
+ "kube_nodes_common_actions": "Actions"
}
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_lt_LT.json b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_lt_LT.json
index 15045ddf22d9..13109aa48b53 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_lt_LT.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_lt_LT.json
@@ -14,9 +14,9 @@
"kube_nodes_flavor": "Flavor",
"kube_nodes_flavor_error": "An error has occurred loading the flavor",
"kube_nodes_project_error": "An error has occurred loading the Public Cloud project",
- "kube_nodes_description_project_1": "Your Kubernetes cluster needs nodes to host your containers and services. All your nodes will be deployed in the {{ description }} Public Cloud project (you will be able to change this in a future version of the service).",
+ "kube_nodes_description_project_1": "Your Kubernetes cluster uses nodes to host your containers and services. All of your nodes will be launched in the {{ description }} Public Cloud project (you will be able to change this in the future).",
"kube_nodes_description_project_2": "These instances are deployed with standard hourly billing. You can find details on your bill and switch to a monthly plan in your Public Cloud project.",
- "kube_nodes_quota_description": "The number of resources for your Cloud project is limited, so that you can control your resource consumption.",
+ "kube_nodes_quota_description": "The resources for your cloud project are limited, so that you can control your resource usage.",
"kube_nodes_quota_more": "If you need more resources, you can request them from our team by clicking on the button below.",
"kube_nodes_quota_ask_more": "Increase my limits",
"kube_nodes_name": "Name",
@@ -45,5 +45,7 @@
"kube_nodes_delete_many": "Delete nodes",
"kube_nodes_delete_select_nodes": "Select the number of nodes to delete",
"kube_nodes_add_nodes": "Add nodes",
- "kube_nodes_delete_nodes": "Delete nodes"
+ "kube_nodes_delete_nodes": "Delete nodes",
+ "kube_nodes_status_RESIZING": "Resize",
+ "kube_nodes_common_actions": "Actions"
}
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_pt_PT.json b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_pt_PT.json
index a5a9ea64a83e..f3aded7b9efe 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_pt_PT.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/details/node-pool/nodes/translations/Messages_pt_PT.json
@@ -1,5 +1,5 @@
{
- "kube_error": "Ocorreu um erro ao carregar as informações: {{ message }}",
+ "kube_error": "Ocorreu um erro ao carregar as informações: {{message}}",
"kube_nodes": "Nós",
"kube_nodes_add_button": "Adicionar um nó",
"kube_nodes_delete": "Eliminar o nó",
@@ -14,10 +14,10 @@
"kube_nodes_flavor": "Modelo de instância",
"kube_nodes_flavor_error": "Ocorreu um erro ao carregar o tipo de instância associada",
"kube_nodes_project_error": "Ocorreu um erro ao carregar o projeto associado",
- "kube_nodes_description_project_1": "O seu cluster Kubernetes utiliza nós para alojar os seus containers e serviços. Todos os nós serão executados no projeto Public Cloud {{ description }} (mais tarde, poderá alterá-lo).",
+ "kube_nodes_description_project_1": "O seu cluster Kubernetes utiliza nós para alojar os seus containers e serviços. Todos os seus nós serão lançados no projeto Public Cloud {{ description }} (permitiremos a alteração disto no futuro).",
"kube_nodes_description_project_2": "Estas instâncias são executadas com faturação à hora standard. Consulte o seu projeto Public Cloud para obter mais informações sobre a faturação ou passar para a opção de faturação mensal.",
- "kube_nodes_quota_description": "Para controlar os seus consumos cloud, o seu projeto tem um limite de recursos.",
- "kube_nodes_quota_more": "Se necessitar de mais recursos, poderá pedir à nossa equipa ao clicar no botão abaixo.",
+ "kube_nodes_quota_description": "Para controlar os seus consumos cloud, o seu projeto tem um limite relativo aos recursos que podem ser usados.",
+ "kube_nodes_quota_more": "Se precisar de mais recursos, pode solicitá-los à nossa equipa, clicando no botão abaixo.",
"kube_nodes_quota_ask_more": "Aumentar os meus limites",
"kube_nodes_name": "Nome",
"kube_nodes_common_add": "Adicionar",
@@ -34,7 +34,7 @@
"kube_nodes_status_RESETTING": "Reinicialização em curso",
"kube_nodes_instances_error": "Ocorreu um erro ao carregar as informações de faturação: {{ message }}",
"kube_nodes_billing_type": "Tipo de faturação",
- "kube_nodes_billing_monthly": "Mensal ",
+ "kube_nodes_billing_monthly": "Mensal",
"kube_nodes_billing_hourly": "À hora",
"kube_nodes_billing_monthly_pending": "Passar para plano mensal",
"kube_nodes_switch_to_monthly_billing_title": "Passar para faturação mensal",
@@ -45,5 +45,7 @@
"kube_nodes_delete_many": "Eliminar nós",
"kube_nodes_delete_select_nodes": "Selecione o número de nós que pretende eliminar",
"kube_nodes_add_nodes": "Adicionar nós",
- "kube_nodes_delete_nodes": "Eliminar nós"
+ "kube_nodes_delete_nodes": "Eliminar nós",
+ "kube_nodes_status_RESIZING": "Redimensionamento",
+ "kube_nodes_common_actions": "Ações"
}
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_de_DE.json b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_de_DE.json
index 82782e046115..f3152d4e032c 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_de_DE.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_de_DE.json
@@ -6,10 +6,10 @@
"kube_list_cluster_manage": "Cluster verwalten",
"kube_list_cluster_create": "Kubernetes-Cluster erstellen",
"kube_list_error": "Beim Laden Ihrer Cluster ist ein Fehler aufgetreten.",
- "kube_common_save": "Bestätigen",
+ "kube_common_save": "Speichern",
"kube_common_cancel": "Abbrechen",
"kube_common_delete": "Löschen",
- "kube_common_node_pool_title": "Konfiguration Ihres Node-Pools",
+ "kube_common_node_pool_title": "Konfigurieren Sie Ihren Node-Pool",
"kube_common_billing_type_title": "Abrechnungsmodus",
"kube_common_create_node_pool": "Node-Pool erstellen",
"kube_common_flavor_load_error": "Laden der Nodes fehlgeschlagen: {{message}}"
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_en_GB.json b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_en_GB.json
index 908037958d1a..9f07fe1e2589 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_en_GB.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_en_GB.json
@@ -6,7 +6,7 @@
"kube_list_cluster_manage": "Manage cluster",
"kube_list_cluster_create": "Create a Kubernetes cluster",
"kube_list_error": "An error has occurred loading your clusters.",
- "kube_common_save": "Confirm",
+ "kube_common_save": "Back up",
"kube_common_cancel": "Cancel",
"kube_common_delete": "Delete",
"kube_common_node_pool_title": "Configure your node pool",
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_fi_FI.json b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_fi_FI.json
index 908037958d1a..9f07fe1e2589 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_fi_FI.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_fi_FI.json
@@ -6,7 +6,7 @@
"kube_list_cluster_manage": "Manage cluster",
"kube_list_cluster_create": "Create a Kubernetes cluster",
"kube_list_error": "An error has occurred loading your clusters.",
- "kube_common_save": "Confirm",
+ "kube_common_save": "Back up",
"kube_common_cancel": "Cancel",
"kube_common_delete": "Delete",
"kube_common_node_pool_title": "Configure your node pool",
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_lt_LT.json b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_lt_LT.json
index 908037958d1a..9f07fe1e2589 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_lt_LT.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_lt_LT.json
@@ -6,7 +6,7 @@
"kube_list_cluster_manage": "Manage cluster",
"kube_list_cluster_create": "Create a Kubernetes cluster",
"kube_list_error": "An error has occurred loading your clusters.",
- "kube_common_save": "Confirm",
+ "kube_common_save": "Back up",
"kube_common_cancel": "Cancel",
"kube_common_delete": "Delete",
"kube_common_node_pool_title": "Configure your node pool",
diff --git a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_pt_PT.json b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_pt_PT.json
index 9ae98dad1786..fe6b3ae9a44f 100644
--- a/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_pt_PT.json
+++ b/packages/manager/modules/pci/src/projects/project/kubernetes/translations/Messages_pt_PT.json
@@ -6,7 +6,7 @@
"kube_list_cluster_manage": "Gerar o cluster",
"kube_list_cluster_create": "Criar um cluster Kubernetes",
"kube_list_error": "Ocorreu um erro no carregamento dos seus clusters",
- "kube_common_save": "Validar",
+ "kube_common_save": "Guardar",
"kube_common_cancel": "Cancelar",
"kube_common_delete": "Eliminar",
"kube_common_node_pool_title": "Configure o seu pool de nós",
diff --git a/packages/manager/modules/preloader/package.json b/packages/manager/modules/preloader/package.json
index 19f42902c0f0..edb48607d5ea 100644
--- a/packages/manager/modules/preloader/package.json
+++ b/packages/manager/modules/preloader/package.json
@@ -10,9 +10,7 @@
},
"license": "BSD-3-Clause",
"author": "OVH SAS",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/preloader.js",
+ "main": "./dist/esm/index.js",
"scripts": {
"build": "rollup -c --environment BUILD:production",
"dev": "rollup -c --environment BUILD:development",
@@ -28,4 +26,4 @@
"devDependencies": {
"@ovh-ux/component-rollup-config": "^7.0.0"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/preloader/rollup.config.js b/packages/manager/modules/preloader/rollup.config.js
index e492a668d859..0f6a9d7abe65 100644
--- a/packages/manager/modules/preloader/rollup.config.js
+++ b/packages/manager/modules/preloader/rollup.config.js
@@ -4,17 +4,10 @@ const config = rollupConfig({
input: 'src/index.js',
});
-const outputs = [
+export default [
config.es({
output: {
sourcemap: false,
},
}),
];
-
-if (process.env.BUILD === 'production') {
- outputs.push(config.cjs());
- outputs.push(config.umd());
-}
-
-export default outputs;
diff --git a/packages/manager/modules/product-offers/package.json b/packages/manager/modules/product-offers/package.json
index 1aeebe15510b..002136b44516 100644
--- a/packages/manager/modules/product-offers/package.json
+++ b/packages/manager/modules/product-offers/package.json
@@ -16,7 +16,9 @@
},
"peerDependencies": {
"@ovh-ux/manager-catalog-price": "^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
+ "@ovh-ux/manager-filters": "^0.1.0 || ^1.0.0",
"@ovh-ux/ng-ovh-contracts": "^4.0.0",
"@ovh-ux/ng-ovh-payment-method": "^7.0.0",
"@ovh-ux/ng-ovh-web-universe-components": "^6.0.1",
@@ -28,4 +30,4 @@
"moment": "^2.24.0",
"ovh-api-services": "^9.39.1"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/product-offers/src/workflows/product-offers-workflow.class.js b/packages/manager/modules/product-offers/src/workflows/product-offers-workflow.class.js
index 4de3e79add13..378b8852532d 100644
--- a/packages/manager/modules/product-offers/src/workflows/product-offers-workflow.class.js
+++ b/packages/manager/modules/product-offers/src/workflows/product-offers-workflow.class.js
@@ -2,8 +2,8 @@ import isEqual from 'lodash/isEqual';
import some from 'lodash/some';
import sortBy from 'lodash/sortBy';
-/* eslint-disable import/extensions */
-import TranslateService from '@ovh-ux/manager-core/src/translate/translate.service';
+import { convertLanguageFromOVHToBCP47 } from '@ovh-ux/manager-config';
+
import Pricing from '../pricing/pricing.class';
import ProductOffersService from '../services/product-offers.service';
@@ -217,7 +217,7 @@ export default class Workflow {
}
static formatDateToLocale(date, locale, formatOptions) {
- const bcp47language = TranslateService.convertFromOVHToBCP47(locale);
+ const bcp47language = convertLanguageFromOVHToBCP47(locale);
return new Intl.DateTimeFormat(bcp47language, formatOptions).format(date);
}
diff --git a/packages/manager/modules/request-tagger/package.json b/packages/manager/modules/request-tagger/package.json
index d0a9e28707e1..b65abf7751b2 100644
--- a/packages/manager/modules/request-tagger/package.json
+++ b/packages/manager/modules/request-tagger/package.json
@@ -19,9 +19,7 @@
},
"license": "BSD-3-Clause",
"author": "OVH SAS",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/request-tagger.js",
+ "main": "./dist/esm/index.js",
"files": [
"dist"
],
diff --git a/packages/manager/modules/request-tagger/rollup.config.js b/packages/manager/modules/request-tagger/rollup.config.js
index 4d936ae7155f..1b8d9a49a7ff 100644
--- a/packages/manager/modules/request-tagger/rollup.config.js
+++ b/packages/manager/modules/request-tagger/rollup.config.js
@@ -4,19 +4,4 @@ const config = rollupConfig({
input: './src/index.js',
});
-const outputs = [config.es()];
-
-if (process.env.BUILD === 'production') {
- outputs.push(config.cjs());
- outputs.push(
- config.umd({
- output: {
- globals: {
- angular: 'angular',
- },
- },
- }),
- );
-}
-
-export default outputs;
+export default [config.es()];
diff --git a/packages/manager/modules/server-sidebar/package.json b/packages/manager/modules/server-sidebar/package.json
index ddf7aa849514..aefea9b4cca4 100644
--- a/packages/manager/modules/server-sidebar/package.json
+++ b/packages/manager/modules/server-sidebar/package.json
@@ -13,9 +13,7 @@
"directory": "packages/manager/modules/server-sidebar"
},
"license": "BSD-3-Clause",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/server-sidebar.js",
+ "main": "./dist/esm/index.js",
"files": [
"dist"
],
@@ -39,7 +37,7 @@
},
"peerDependencies": {
"@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-ovh-cloud-universe-components": "^2.0.0",
"@ovh-ux/ng-ovh-sidebar-menu": "^10.0.0",
"@ovh-ux/ng-translate-async-loader": "^2.1.0",
diff --git a/packages/manager/modules/server-sidebar/rollup.config.js b/packages/manager/modules/server-sidebar/rollup.config.js
index 2b79e110b89a..df82cdb7624f 100644
--- a/packages/manager/modules/server-sidebar/rollup.config.js
+++ b/packages/manager/modules/server-sidebar/rollup.config.js
@@ -15,19 +15,4 @@ const config = rollupConfig(
},
);
-const outputs = [config.es()];
-
-// if (process.env.BUILD === 'production') {
-outputs.push(config.cjs());
-outputs.push(
- config.umd({
- output: {
- globals: {
- angular: 'angular',
- },
- },
- }),
-);
-// }
-
-export default outputs;
+export default [config.es()];
diff --git a/packages/manager/modules/sign-up/package.json b/packages/manager/modules/sign-up/package.json
index 4634e10317a8..92ad83f49356 100644
--- a/packages/manager/modules/sign-up/package.json
+++ b/packages/manager/modules/sign-up/package.json
@@ -10,9 +10,7 @@
},
"license": "BSD-3-Clause",
"author": "OVH SAS",
- "main": "./dist/cjs/index.js",
- "module": "./dist/esm/index.js",
- "browser": "./dist/umd/sign-up.js",
+ "main": "./dist/esm/index.js",
"scripts": {
"build": "rollup -c --environment BUILD:production",
"dev": "rollup -c --environment BUILD:development",
@@ -31,7 +29,7 @@
"@ovh-ux/component-rollup-config": "^7.0.0"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-translate-async-loader": "^2.1.0",
"@ovh-ux/ui-kit": "^4.1.12",
"@uirouter/angularjs": "^1.0.20",
diff --git a/packages/manager/modules/sign-up/rollup.config.js b/packages/manager/modules/sign-up/rollup.config.js
index 85b591bf084b..0f6a9d7abe65 100644
--- a/packages/manager/modules/sign-up/rollup.config.js
+++ b/packages/manager/modules/sign-up/rollup.config.js
@@ -4,25 +4,10 @@ const config = rollupConfig({
input: 'src/index.js',
});
-const outputs = [
+export default [
config.es({
output: {
sourcemap: false,
},
}),
];
-
-if (process.env.BUILD === 'production') {
- outputs.push(config.cjs());
- outputs.push(
- config.umd({
- output: {
- globals: {
- angular: 'angular',
- },
- },
- }),
- );
-}
-
-export default outputs;
diff --git a/packages/manager/modules/sms/package.json b/packages/manager/modules/sms/package.json
index d3a5417499bb..b7a7d19a6f6d 100644
--- a/packages/manager/modules/sms/package.json
+++ b/packages/manager/modules/sms/package.json
@@ -21,7 +21,7 @@
"bootstrap": "~3.3.7"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-ng-layout-helpers": "^1.0.0",
"@ovh-ux/manager-telecom-styles": "^4.0.0",
"@ovh-ux/ng-at-internet": "^5.0.1",
@@ -44,4 +44,4 @@
"ovh-manager-webfont": "^1.2.0",
"ovh-ui-kit-bs": "^4.1.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/sms/src/sms/guides/telecom-sms-guides.controller.js b/packages/manager/modules/sms/src/sms/guides/telecom-sms-guides.controller.js
index c222716c5bb0..6a8c88a0a84b 100644
--- a/packages/manager/modules/sms/src/sms/guides/telecom-sms-guides.controller.js
+++ b/packages/manager/modules/sms/src/sms/guides/telecom-sms-guides.controller.js
@@ -3,6 +3,8 @@ import has from 'lodash/has';
import isString from 'lodash/isString';
import snakeCase from 'lodash/snakeCase';
+import { Environment } from '@ovh-ux/manager-config';
+
export default class {
/* @ngInject */
constructor($translate, TucSmsMediator, TucToastError, SMS_GUIDES) {
@@ -24,16 +26,7 @@ export default class {
return this.TucSmsMediator.initDeferred.promise
.then(() => {
this.guides = this.constant.SMS_GUIDES;
- if (localStorage['univers-selected-language']) {
- this.language = localStorage['univers-selected-language'].replace(
- /-.*$|_.*$/,
- '',
- );
- } else if (navigator.language || navigator.userLanguage) {
- this.language = (
- navigator.language || navigator.userLanguage
- ).replace(/-.*$|_.*$/, '');
- }
+ this.language = Environment.getUserLanguage();
this.injectTitleInUrl();
})
.catch((err) => {
diff --git a/packages/manager/modules/support/package.json b/packages/manager/modules/support/package.json
index c98662c7c004..4c3fe3fa6f9b 100644
--- a/packages/manager/modules/support/package.json
+++ b/packages/manager/modules/support/package.json
@@ -16,7 +16,8 @@
"lodash": "^4.17.15"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-at-internet": "^5.0.1",
"@ovh-ux/ng-ovh-api-wrappers": "^4.0.5",
"@ovh-ux/ng-translate-async-loader": "^2.1.0",
@@ -31,4 +32,4 @@
"ovh-api-services": "^9.39.1",
"ovh-ui-kit-bs": "^4.1.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/support/src/tickets/new-ticket/feedback/feedback.service.js b/packages/manager/modules/support/src/tickets/new-ticket/feedback/feedback.service.js
index e9839d777d21..6b01324fbb69 100644
--- a/packages/manager/modules/support/src/tickets/new-ticket/feedback/feedback.service.js
+++ b/packages/manager/modules/support/src/tickets/new-ticket/feedback/feedback.service.js
@@ -1,18 +1,15 @@
+import { Environment } from '@ovh-ux/manager-config';
import isObject from 'lodash/isObject';
import { ALLOWED_LANGUAGES, BASE_URL } from './feedback.constants';
export default class {
- /* @ngInject */
- constructor(TranslateService) {
- this.TranslateService = TranslateService;
- }
-
+ // eslint-disable-next-line class-methods-use-this
getUrl() {
const defaultLanguage = Object.keys(ALLOWED_LANGUAGES).find(
(key) => ALLOWED_LANGUAGES[key].isDefault,
);
- const userLanguage = this.TranslateService.getUserLocale(true);
+ const userLanguage = Environment.getUserLanguage();
const languageToUse = isObject(ALLOWED_LANGUAGES[userLanguage])
? userLanguage
diff --git a/packages/manager/modules/telecom-dashboard/package.json b/packages/manager/modules/telecom-dashboard/package.json
index 9b9599017bcb..6370c52cf5d7 100644
--- a/packages/manager/modules/telecom-dashboard/package.json
+++ b/packages/manager/modules/telecom-dashboard/package.json
@@ -16,7 +16,7 @@
},
"peerDependencies": {
"@ovh-ux/manager-banner": "^1.1.3",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-telecom-styles": "^4.0.0",
"@ovh-ux/ng-at-internet": "^5.0.1",
"@ovh-ux/ng-at-internet-ui-router-plugin": "^3.1.0",
@@ -32,4 +32,4 @@
"ovh-manager-webfont": "^1.2.0",
"ovh-ui-kit-bs": "^4.1.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/telecom-task/package.json b/packages/manager/modules/telecom-task/package.json
index 580967807fe8..483dff894ec2 100644
--- a/packages/manager/modules/telecom-task/package.json
+++ b/packages/manager/modules/telecom-task/package.json
@@ -18,7 +18,7 @@
"@ovh-ux/component-rollup-config": "^7.0.0"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-telecom-styles": "^4.0.0",
"@ovh-ux/ng-ovh-telecom-universe-components": "^5.0.0 || ^6.0.0",
"@ovh-ux/ng-ui-router-title": "^3.0.0",
@@ -32,4 +32,4 @@
"ovh-manager-webfont": "^1.2.0",
"ovh-ui-kit-bs": "^4.1.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/veeam-cloud-connect/package.json b/packages/manager/modules/veeam-cloud-connect/package.json
index f2ccd95f59f9..52d516518432 100644
--- a/packages/manager/modules/veeam-cloud-connect/package.json
+++ b/packages/manager/modules/veeam-cloud-connect/package.json
@@ -15,7 +15,7 @@
"lodash": "^4.17.15"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-ovh-cloud-universe-components": "^2.0.0",
"@ovh-ux/ng-ui-router-layout": "^4.0.0",
"@ovh-ux/ui-kit": "^4.1.12",
@@ -29,4 +29,4 @@
"ovh-api-services": "^9.39.1",
"ovh-ui-kit-bs": "^4.1.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/veeam-cloud-connect/src/header/veeam-dashboard-header.html b/packages/manager/modules/veeam-cloud-connect/src/header/veeam-dashboard-header.html
index ec1ca9582ab8..f06978bc04f4 100644
--- a/packages/manager/modules/veeam-cloud-connect/src/header/veeam-dashboard-header.html
+++ b/packages/manager/modules/veeam-cloud-connect/src/header/veeam-dashboard-header.html
@@ -1,16 +1,16 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/manager/modules/veeam-enterprise/package.json b/packages/manager/modules/veeam-enterprise/package.json
index c1aded29a24b..5326dab3e781 100644
--- a/packages/manager/modules/veeam-enterprise/package.json
+++ b/packages/manager/modules/veeam-enterprise/package.json
@@ -18,7 +18,7 @@
"bootstrap4": "twbs/bootstrap#v4.0.0"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-ovh-cloud-universe-components": "^2.0.0",
"@ovh-ux/ng-ui-router-layout": "^4.0.0",
"@ovh-ux/ui-kit": "^4.1.12",
@@ -31,4 +31,4 @@
"ovh-api-services": "^9.39.1",
"ovh-ui-kit-bs": "^4.1.5"
}
-}
\ No newline at end of file
+}
diff --git a/packages/manager/modules/vps/package.json b/packages/manager/modules/vps/package.json
index 46b62aea76b2..64ad16a6cbdb 100644
--- a/packages/manager/modules/vps/package.json
+++ b/packages/manager/modules/vps/package.json
@@ -19,7 +19,8 @@
"lodash": "^4.17.15"
},
"peerDependencies": {
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-config": "^0.4.0 || ^1.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/manager-filters": "^0.1.0 || ^1.0.0",
"@ovh-ux/manager-models": "^1.0.0",
"@ovh-ux/manager-product-offers": "^1.3.0",
diff --git a/packages/manager/modules/vps/src/upscale/upscale.service.js b/packages/manager/modules/vps/src/upscale/upscale.service.js
index c86ceca52d24..052a3117c7d8 100644
--- a/packages/manager/modules/vps/src/upscale/upscale.service.js
+++ b/packages/manager/modules/vps/src/upscale/upscale.service.js
@@ -1,7 +1,6 @@
import isString from 'lodash/isString';
-/* eslint-disable import/extensions */
-import TranslateService from '@ovh-ux/manager-core/src/translate/translate.service';
+import { convertLanguageFromOVHToBCP47 } from '@ovh-ux/manager-config';
import { PRICING_MODES } from './upscale.constants';
@@ -19,7 +18,7 @@ export default class {
* @param {string} language Formatted the OVHcloud way
*/
static buildPriceToDisplay({ value, currency }, language) {
- const bcp47Language = TranslateService.convertFromOVHToBCP47(language);
+ const bcp47Language = convertLanguageFromOVHToBCP47(language);
return Intl.NumberFormat(bcp47Language, {
style: 'currency',
diff --git a/packages/manager/modules/vrack/package.json b/packages/manager/modules/vrack/package.json
index 36630292b6b1..817fea68dbcd 100644
--- a/packages/manager/modules/vrack/package.json
+++ b/packages/manager/modules/vrack/package.json
@@ -32,7 +32,7 @@
},
"peerDependencies": {
"@ovh-ux/manager-cloud-styles": "^0.4.0 || ^1.0.0",
- "@ovh-ux/manager-core": "^9.0.0 || ^10.0.0",
+ "@ovh-ux/manager-core": "^10.0.0 || ^11.0.0",
"@ovh-ux/ng-ovh-cloud-universe-components": "^2.0.0",
"@ovh-ux/ng-ovh-toaster": "^2.0.0",
"@ovh-ux/ui-kit": "^4.1.12",
diff --git a/packages/manager/modules/vrack/src/vrack.html b/packages/manager/modules/vrack/src/vrack.html
index 8e618c8e4f7f..ce96ee458d2a 100644
--- a/packages/manager/modules/vrack/src/vrack.html
+++ b/packages/manager/modules/vrack/src/vrack.html
@@ -52,25 +52,30 @@
-