Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Add Ukrainian language#1944

Open
antonvolokha wants to merge 2 commits into
zhukov:masterfrom
antonvolokha:ukrainianLanguage
Open

Add Ukrainian language#1944
antonvolokha wants to merge 2 commits into
zhukov:masterfrom
antonvolokha:ukrainianLanguage

Conversation

@antonvolokha
Copy link
Copy Markdown

Hi. I added Ukrainian language, but I have problem with dropdown menu size in chat.
It fixed when I add min-width: 200px; to .dropdown-menu in app.css.
css folder is in .gitignore file so i dont`n know is posible to change it or not.

.dropdown-menu {
  border-radius: 2px;
  padding: 0;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.175);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.175);
  min-width: 200px;
}

Before

Screenshot from 2020-02-22 17-31-22

After

Screenshot from 2020-02-22 18-05-03

@Aokromes
Copy link
Copy Markdown

check #1768

@the-stas
Copy link
Copy Markdown
Contributor

the-stas commented Mar 3, 2020

@badman12 the new styles should work for ua lang only. So you update the selector to make it work with ua lang only.

Copy link
Copy Markdown

@olegykz olegykz left a comment

Choose a reason for hiding this comment

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

A few fixes for untranslated/incorrect keys

Comment thread app/js/locales/uk-ua.json
"login_fulll_name_label": "Введіть своє ім'я для початку роботи з Telegram.",
"login_incorrect_first_name": "Некоректне ім'я",
"login_first_name": "Ім'я",
"login_incorrect_last_name": "Некоректна прізвище",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"login_incorrect_last_name": "Некоректна прізвище",
"login_incorrect_last_name": "Некоректне прізвище",

Comment thread app/js/locales/uk-ua.json
"group_modal_menu_delete_group": "Видалити і вийти",
"group_modal_menu_clear_history": "Очистити історію",
"group_modal_delete_group": "Вилучити групу",
"group_modal_join": "Join group",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"group_modal_join": "Join group",
"group_modal_join": "Приєднатися до групи",

Comment thread app/js/locales/uk-ua.json
"channel_modal_description": "Опис",
"channel_modal_share_link": "Поділитися посиланням",
"channel_modal_share_loading": "Завантаження{dots}",
"channel_modal_menu_edit": "Edit channel",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"channel_modal_menu_edit": "Edit channel",
"channel_modal_menu_edit": "Редагувати канал",

Comment thread app/js/locales/uk-ua.json
"confirm_modal_bot_access_geo": "Це відправить ваше поточне місцезнаходження до бота.",
"confirm_modal_bot_access_geo_inline": "Цей бот хотів би знати ваше місцезнаходження щоразу, коли ви надсилаєте йому запит. Це можна використовувати для надання конкретних результатів.",
"confirm_modal_content_settings_sensitive_md": "**Вимкнути фільтрування**\nIf you disable filtering, Telegram will display sensitive media in public channels on all your connected devices.",
"confirm_modal_content_settings_sensitive_submit": "Disable",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"confirm_modal_content_settings_sensitive_submit": "Disable",
"confirm_modal_content_settings_sensitive_submit": "Вимкнути",

Comment thread app/js/locales/uk-ua.json
"message_service_changed_group_photo": "змінив(ла) фото групи",
"message_service_removed_group_photo": "видалив(а) фото групи",
"message_service_invited_user": "запросив(а) {user}",
"message_service_invited_users": "invited {user} and {num-more} more",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"message_service_invited_users": "invited {user} and {num-more} more",
"message_service_invited_users": "запросив(а) {user} та ще {num-more} інших",

Comment thread app/js/locales/uk-ua.json
"message_service_left_group": "залишив(а) групу",
"message_service_joined_by_link": "приєднався до групи за посиланням",
"message_service_joined": "приєднався до групи",
"message_service_pinned_message": "pinned «{message}»",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"message_service_pinned_message": "pinned «{message}»",
"message_service_pinned_message": "закріпив «{message}»",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe "закріплене"?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I guess in this case we have a <someone> pinned message/<хтось> закріпив поведомлення

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

make sense, please ignore my question

Comment thread app/js/locales/uk-ua.json
"message_service_bot_intro_header": "Що цей бот може робити?",
"message_service_converted_to_supergroup": "модернізував до групи супергрупу",
"message_service_created_channel": "Канал створений",
"message_service_changed_channel_name": "Channel renamed to {channel name}",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"message_service_changed_channel_name": "Channel renamed to {channel name}",
"message_service_changed_channel_name": "Канал перейменовано на {channel name}",

Comment thread app/js/locales/uk-ua.json
"login_signing_up": "Реєстрація",
"login_sign_up": "Зареєструватися",
"login_about_title": "Про веб-клієнта",
"login_about_hide": "hide",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"login_about_hide": "hide",
"login_about_hide": "сховати",

Comment thread app/js/locales/uk-ua.json
Comment on lines +158 to +162
"user_status_last_seen": "був(а) в мережі {0}",
"user_status_recently": "був(а) в мережі тільки що",
"user_status_last_week": "був(а) в мережі протягом тижня",
"user_status_last_month": "був(а) в мережі протягом місяця",
"user_status_long_ago": "був(а) в мережі дуже давно",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"user_status_last_seen": "був(а) в мережі {0}",
"user_status_recently": "був(а) в мережі тільки що",
"user_status_last_week": "був(а) в мережі протягом тижня",
"user_status_last_month": "був(а) в мережі протягом місяця",
"user_status_long_ago": "був(а) в мережі дуже давно",
"user_status_last_seen": "був(ла) в мережі {0}",
"user_status_recently": "був(ла) в мережі тільки що",
"user_status_last_week": "був(ла) в мережі протягом тижня",
"user_status_last_month": "був(ла) в мережі протягом місяця",
"user_status_long_ago": "був(ла) в мережі дуже давно",

Comment thread app/js/locales/uk-ua.json
"conversation_group_created": "створив(а) групу",
"conversation_group_renamed": "змінив(ла) назва групи",
"conversation_group_photo_updated": "змінив(ла) фото групи",
"conversation_group_photo_removed": "видалив(а) фото групи",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"conversation_group_photo_removed": "видалив(а) фото групи",
"conversation_group_photo_removed": "видалив(ла) фото групи",

Comment thread app/js/locales/uk-ua.json
"conversation_group_photo_removed": "видалив(а) фото групи",
"conversation_returned_to_group": "повернувся(-лася) в групу",
"conversation_joined_group": "приєднався до групи",
"conversation_invited_user": "запросив(а) {user}",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"conversation_invited_user": "запросив(а) {user}",
"conversation_invited_user": "запросив(ла) {user}",

Comment thread app/js/locales/uk-ua.json
"conversation_joined_group": "приєднався до групи",
"conversation_invited_user": "запросив(а) {user}",
"conversation_invited_users": "{'one': 'запрошений {} користувач', 'other': 'запрошені {} користувачі'}",
"conversation_left_group": "залишив(а) групу",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"conversation_left_group": "залишив(а) групу",
"conversation_left_group": "залишив(ла) групу",

Comment thread app/js/locales/uk-ua.json
"conversation_removed_channel_photo": "Фото каналу видалено",
"conversation_pinned_message": "закріплене повідомлення",
"conversation_scored_X": "{'one': 'scored {}', 'other': 'scored {}'}",
"conversation_message_sent": "надіслав(а) повідомлення",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"conversation_message_sent": "надіслав(а) повідомлення",
"conversation_message_sent": "надіслав(ла) повідомлення",

Comment thread app/js/locales/uk-ua.json
"conversation_forwarded_X_messages": "{'один': 'відправлене {} повідомлення', 'інші': 'надіслані {} повідомлення'}",
"conversation_unknown_user": "Хтось",
"conversation_unknown_chat": "Невідомий чат",
"message_service_created_group": "створив(а) групу {group-name}",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"message_service_created_group": "створив(а) групу {group-name}",
"message_service_created_group": "створив(ла) групу {group-name}",

Comment thread app/js/locales/uk-ua.json
"message_service_created_group": "створив(а) групу {group-name}",
"message_service_changed_group_name": "змінив(ла) назва групи на {group-name}",
"message_service_changed_group_photo": "змінив(ла) фото групи",
"message_service_removed_group_photo": "видалив(а) фото групи",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"message_service_removed_group_photo": "видалив(а) фото групи",
"message_service_removed_group_photo": "видалив(ла) фото групи",

Comment thread app/js/locales/uk-ua.json
"message_service_changed_group_name": "змінив(ла) назва групи на {group-name}",
"message_service_changed_group_photo": "змінив(ла) фото групи",
"message_service_removed_group_photo": "видалив(а) фото групи",
"message_service_invited_user": "запросив(а) {user}",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"message_service_invited_user": "запросив(а) {user}",
"message_service_invited_user": "запросив(ла) {user}",

Comment thread app/js/locales/uk-ua.json
"message_service_invited_users": "invited {user} and {num-more} more",
"message_service_returned_to_group": "повернувся(-лася) в групу",
"message_service_kicked_user": "виключений {user}",
"message_service_left_group": "залишив(а) групу",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"message_service_left_group": "залишив(а) групу",
"message_service_left_group": "залишив(ла) групу",

Comment thread app/js/locales/uk-ua.json
"conversation_media_attachment": "Прикріплення",
"conversation_media_unsupported": "Вкладення не підтримується",
"conversation_search_peer": "Шукати в цьому чаті",
"conversation_group_created": "створив(а) групу",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"conversation_group_created": "створив(а) групу",
"conversation_group_created": "створив(ла) групу",

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants