Skip to content

Commit 63c1edb

Browse files
author
Jonathan
committed
Merge remote-tracking branch 'origin/master'
2 parents 2b02469 + e022faa commit 63c1edb

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.husky/pre-commit

100644100755
File mode changed.

src/js/locales/pt-PT.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const localization = {
2727
toggleMeridiem: 'Alterar AM/PM',
2828
selectTime: 'Selecionar hora',
2929
selectDate: 'Seleccionar data',
30-
dayViewHeaderFormat: { month: 'long', year: '2-digits' },
30+
dayViewHeaderFormat: { month: 'long', year: '2-digit' },
3131
startOfTheWeek: 1,
3232
locale: 'pt-PT',
3333
dateFormats: {

src/js/utilities/optionConverter.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ export class OptionConverter {
8989
const flattenedOptions = OptionConverter.getFlattenDefaultOptions();
9090

9191
const errors = unsupportedOptions.map((x) => {
92-
let error = `"${path}.${x}" in not a known option.`;
92+
const d = path ? '.' : '';
93+
let error = `"${path}${d}${x}" is not a known option.`;
9394
const didYouMean = flattenedOptions.find((y) => y.includes(x));
9495
if (didYouMean) error += ` Did you mean "${didYouMean}"?`;
9596
return error;

0 commit comments

Comments
 (0)