Skip to content

Commit f031e27

Browse files
Merge pull request #1604 from CleverCloud/minor-fixes
2 parents ff9a73f + 8fd08b3 commit f031e27

File tree

8 files changed

+15
-16
lines changed

8 files changed

+15
-16
lines changed

docs/cc-example-component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class CcExampleComponent extends LitElement {
9696
// Use JSDoc to document your method.
9797
/**
9898
* Documentation of this awesome method.
99-
* @param {String} foo - Docs for foo.
99+
* @param {string} foo - Docs for foo.
100100
* @param {Boolean} bar - Docs for bar.
101101
*/
102102
publicMethod(foo, bar) {

docs/getting-started/custom-base-urls.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
kind: '🚀 Getting started'
2+
kind: '🏡 Getting started'
33
title: 'Customizing base URLs'
44
---
55

@@ -65,4 +65,3 @@ setAssetsBaseUrl('https://cdn.example.com');
6565
import '@clevercloud/components/dist/cc-addon-info.js';
6666
import '@clevercloud/components/dist/cc-invoice-list.js';
6767
```
68-

src/components/cc-oauth-consumer-form/cc-oauth-consumer-form.smart-update.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ defineSmartComponent({
132132
class Api {
133133
/**
134134
* @param {ApiConfig} apiConfig
135-
* @param {String} ownerId
136-
* @param {String} key
135+
* @param {string} ownerId
136+
* @param {string} key
137137
*/
138138
constructor(apiConfig, ownerId, key) {
139139
this._apiConfig = apiConfig;

src/lib/change-case.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const DIGIT_SEPARATOR = '_';
88
* pascalCase('dot.case'); //=> 'DotCase'
99
* pascalCase('PascalCase'); //=> 'PascalCase'
1010
* pascalCase('version 1.2.10'); //=> 'Version_1_2_1_0'
11-
* @param {String} input
11+
* @param {string} input
1212
* @returns {String}
1313
*/
1414
export function pascalCase(input) {
@@ -22,7 +22,7 @@ export function pascalCase(input) {
2222
* stringToWordArray('dot.case'); //=> ['dot', 'case']
2323
* stringToWordArray('PascalCase'); //=> ['Pascal', 'Case']
2424
* stringToWordArray('version 1.2.10'); //=> ['version', '1', '2', '10']
25-
* @param {String} input
25+
* @param {string} input
2626
* @returns {string[]}
2727
*/
2828
function stringToWordArray(input) {
@@ -47,7 +47,7 @@ function stringToWordArray(input) {
4747
* pascalCaseTransform('STRING'); //=> 'String'
4848
* pascalCaseTransform('0string'); //=> '0string'
4949
* pascalCaseTransform('0string', true); //=> '_0string'
50-
* @param {String} input
50+
* @param {string} input
5151
* @param {Boolean} enableDigitPrefix
5252
* @returns {string}
5353
*/

src/lib/smart/smart-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function disconnectComponent(container, definition, component) {
198198
/**
199199
*
200200
* @param {Element} element
201-
* @param {String} selector
201+
* @param {string} selector
202202
* @return {Element}
203203
*/
204204
function closestParent(element, selector) {

src/lib/xml-parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* Parse an RSS feed XML document into a list of articles.
7-
* @param {String} xmlStr - Raw XML document (RSS feed) as a string.
7+
* @param {string} xmlStr - Raw XML document (RSS feed) as a string.
88
* @param {Number} limit - Limit the number of articles from the feed.
99
* @returns {Array<ArticleCard>}
1010
*/

src/translations/translations.en.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ export const translations = {
833833
//#endregion
834834
//#region cc-invoice-list
835835
'cc-invoice-list.documentation.text': `Clever Cloud billing - Documentation`,
836-
'cc-invoice-list.error': `An error occured while loading invoices.`,
836+
'cc-invoice-list.error': `An error occurred while loading invoices.`,
837837
'cc-invoice-list.pending': `Pending invoices`,
838838
'cc-invoice-list.pending.no-invoices': `No pending invoices at the moment.`,
839839
'cc-invoice-list.processed': `Paid invoices`,
@@ -862,7 +862,7 @@ export const translations = {
862862
//#endregion
863863
//#region cc-jenkins-info
864864
'cc-jenkins-info.documentation.text': `Jenkins - Documentation`,
865-
'cc-jenkins-info.error': `An error occured while fetching the information about this add-on.`,
865+
'cc-jenkins-info.error': `An error occurred while fetching the information about this add-on.`,
866866
'cc-jenkins-info.info': `Info`,
867867
'cc-jenkins-info.open-jenkins.link': `Access Jenkins`,
868868
'cc-jenkins-info.open-jenkins.text': `Access Jenkins using the Clever Cloud SSO (Single Sign-On). Organisation members can also access the Jenkins service.`,
@@ -1175,7 +1175,7 @@ export const translations = {
11751175
`,
11761176
'cc-matomo-info.about.title': `About`,
11771177
'cc-matomo-info.documentation.text': `Matomo - Documentation`,
1178-
'cc-matomo-info.error': `An error occured while fetching the information about this add-on.`,
1178+
'cc-matomo-info.error': `An error occurred while fetching the information about this add-on.`,
11791179
'cc-matomo-info.heading': `This Matomo add-on provides all required dependencies to get started.`,
11801180
'cc-matomo-info.info': `Info`,
11811181
'cc-matomo-info.link.mysql': `Access the MySQL add-on`,

src/translations/translations.fr.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ export const translations = {
735735
'cc-grafana-info.screenshot.addon.title': `Aperçu du tableau de bord d'add-on`,
736736
'cc-grafana-info.screenshot.organisation.alt': `Capture d'écran d'un tableau de bord d'organisation dans Grafana`,
737737
'cc-grafana-info.screenshot.organisation.description': () =>
738-
sanitize`Ce tableau de bord comprend plusieurs graphiques pour une organisation Clever Cloud. <br> Il fournit un graphique résumant le nombre d'<strong>applications (runtimes) et d'add-ons déployés</strong>. Il contient également le nombre de services <strong>par type</strong> ou <strong>par plan (flavor)</strong>. <br> Le <strong>graphique d'état</strong> affiche un état pour tous les déploiements effectués durant la plage de temps de Grafana. <br> Et enfin, il est possible de récupérerer des <strong>liens globaux et spécifiques</strong> (triés par nombre de requêtes) pour accéder au tableau de bord d'une application (runtime) ou d'un add-on.`,
738+
sanitize`Ce tableau de bord comprend plusieurs graphiques pour une organisation Clever Cloud. <br> Il fournit un graphique résumant le nombre d'<strong>applications (runtimes) et d'add-ons déployés</strong>. Il contient également le nombre de services <strong>par type</strong> ou <strong>par plan (flavor)</strong>. <br> Le <strong>graphique d'état</strong> affiche un état pour tous les déploiements effectués durant la plage de temps de Grafana. <br> Et enfin, il est possible de récupérer des <strong>liens globaux et spécifiques</strong> (triés par nombre de requêtes) pour accéder au tableau de bord d'une application (runtime) ou d'un add-on.`,
739739
'cc-grafana-info.screenshot.organisation.title': `Aperçu du tableau de bord d'organisation`,
740740
'cc-grafana-info.screenshot.runtime.alt': `Capture d'écran d'un tableau de bord d'application (runtime) dans Grafana`,
741741
'cc-grafana-info.screenshot.runtime.description': () =>
@@ -1372,7 +1372,7 @@ export const translations = {
13721372
'cc-payment-warning.generic.default-payment-method-is-expired': /** @param {{orgaName: string}} _ */ ({ orgaName }) =>
13731373
sanitize`<strong>${orgaName}</strong> a un moyen de paiement enregistré mais il est expiré.`,
13741374
'cc-payment-warning.generic.no-default-payment-method': /** @param {{orgaName: string}} _ */ ({ orgaName }) =>
1375-
sanitize`<strong>${orgaName}</strong> a des moyens de payments enregistrés mais aucun d'entre eux n'est défini par défaut.`,
1375+
sanitize`<strong>${orgaName}</strong> a des moyens de paiements enregistrés mais aucun d'entre eux n'est défini par défaut.`,
13761376
'cc-payment-warning.generic.no-payment-method': /** @param {{orgaName: string}} _ */ ({ orgaName }) =>
13771377
sanitize`<strong>${orgaName}</strong> n'a aucun moyen de paiement enregistré.`,
13781378
'cc-payment-warning.home': /** @param {{orgaCount: number}} _ */ ({ orgaCount }) => {
@@ -1383,7 +1383,7 @@ export const translations = {
13831383
'cc-payment-warning.orga.default-payment-method-is-expired': `Pour éviter tout risque de suspension de vos services et de suppression de vos données, merci d'ajouter un moyen de paiement valide et de le définir par défaut.`,
13841384
'cc-payment-warning.orga.default-payment-method-is-expired.title': `Attention\u202f! Votre moyen de paiement est expiré`,
13851385
'cc-payment-warning.orga.no-default-payment-method': `Pour éviter tout risque de suspension de vos services et de suppression de vos données, merci de définir un de vos moyen de paiement par défaut.`,
1386-
'cc-payment-warning.orga.no-default-payment-method.title': `Attention\u202f! Vous avez des moyens de payments enregistrés, mais aucun d'entre eux n'est défini par défaut`,
1386+
'cc-payment-warning.orga.no-default-payment-method.title': `Attention\u202f! Vous avez des moyens de paiements enregistrés, mais aucun d'entre eux n'est défini par défaut`,
13871387
'cc-payment-warning.orga.no-payment-method': `Pour éviter tout risque de suspension de vos services et de suppression de vos données, merci d'ajouter un moyen de paiement valide et de le définir par défaut.`,
13881388
'cc-payment-warning.orga.no-payment-method.title': `Attention\u202f! Vous n'avez aucun moyen de paiement enregistré`,
13891389
//#endregion

0 commit comments

Comments
 (0)