Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix BG localization grammatical errors #1911

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 62 additions & 12 deletions ui/i18n/datepicker-bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,74 @@
}( function( datepicker ) {

datepicker.regional.bg = {
closeText: "затвори",
prevText: "<назад",
nextText: "напред>",
closeText: "Затвори",
prevText: "<Назад",
nextText: "Напред>",
nextBigText: ">>",
currentText: "днес",
monthNames: [ "Януари","Февруари","Март","Април","Май","Юни",
"Юли","Август","Септември","Октомври","Ноември","Декември" ],
monthNamesShort: [ "Яну","Фев","Мар","Апр","Май","Юни",
"Юли","Авг","Сеп","Окт","Нов","Дек" ],
dayNames: [ "Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота" ],
dayNamesShort: [ "Нед","Пон","Вто","Сря","Чет","Пет","Съб" ],
dayNamesMin: [ "Не","По","Вт","Ср","Че","Пе","Съ" ],
currentText: "Днес",
monthNames: [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree this is actually the nicer CGL style, but I would like to keep the code style as it was before. Reasons are: we want to keep consistency and it makes the review harder. Please change to one line per localization key.

"Януари",
"Февруари",
"Март",
"Април",
"Май",
"Юни",
"Юли",
"Август",
"Септември",
"Октомври",
"Ноември",
"Декември"
],
monthNamesShort: [
"Ян.",
"Февр.",
"Март",
"Апр.",
"Май",
"Юни",
"Юли",
"Авг.",
"Септ.",
"Окт.",
"Ноем.",
"Дек."
],
dayNames: [
"Неделя",
"Понеделник",
"Вторник",
"Сряда",
"Четвъртък",
"Петък",
"Събота"
],
dayNamesShort: [
"Нед.",
"Пон.",
"Втор.",
"Ср.",
"Четв.",
"Пет.",
"Съб."
],
dayNamesMin: [
"Нд",
"Пн",
"Вт",
"Ср",
"Чт",
"Пт",
"Сб"
],
weekHeader: "Wk",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
yearSuffix: "г."
};

datepicker.setDefaults( datepicker.regional.bg );

return datepicker.regional.bg;
Expand Down