Skip to content

Commit

Permalink
Languages
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKotato committed Jan 2, 2024
1 parent 0b67d4b commit a31c5af
Show file tree
Hide file tree
Showing 15 changed files with 3,713 additions and 0 deletions.
263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/alttg.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/ar.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/de.json

Large diffs are not rendered by default.

264 changes: 264 additions & 0 deletions Telegram/Resources/langs/rewrites/es.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/fa.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/fr.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/he.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/it.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/pl.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/pt-br.json

Large diffs are not rendered by default.

278 changes: 278 additions & 0 deletions Telegram/Resources/langs/rewrites/ru.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/tr.json

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions Telegram/Resources/langs/rewrites/uk.json

Large diffs are not rendered by default.

264 changes: 264 additions & 0 deletions Telegram/Resources/langs/rewrites/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
{
"ktg_intro_about": "欢迎使用基于 Telegram Desktop 的非官方客户端。",
"ktg_about_text1": "实验性的非正式 {tdesktop_link} 分支。",
"ktg_about_text1_tdesktop": "Telegram Desktop",
"ktg_about_text3": "访问 {channel_link} 或 {faq_link} 了解更多。\n",
"ktg_about_text3_channel": "Kotatogram 频道",
"ktg_new_version": "Kotatogram Desktop 已更新到 {version} (TD {td_version})\n\n访问此链接查看完整版本更新说明:\n{link}",
"ktg_open_from_tray": "打开 Kotatogram",
"ktg_quit_from_tray": "退出 Kotatogram",
"ktg_tray_icon_text": "Kotatogram 仍在运行,您可以在“设置”页面中更改此设置。\n如果该图标从任务栏菜单中消失,您可将其从隐藏的图标拖到此处。",
"ktg_error_start_minimized_passcoded": "您已经设置了本地密码,因此无法从最小化中打开 Kotatogram Desktop。 \n它将要求您输入密码,然后才能使用。",
"ktg_proxy_unsupported": "您当前使用的 Kotatogram Desktop 版本不支持此类型的代理,或者代理链接无效。 \n请尝试将 Kotatogram Desktop 更新到最新版。",
"ktg_update_telegram": "更新 Kotatogram",
"ktg_settings_auto_start": "开机启动 Kotatogram",
"ktg_settings_add_sendto": "将 Kotatogram 添加至“发送到”菜单",
"ktg_theme_no_desktop": "抱歉,此主题未包含 Kotatogram Desktop 可用的版本。",
"ktg_download_path_default_radio": "系统“下载”目录下的 Kotatogram 文件夹",
"ktg_passcode_about": "设置本地密码后,对话列表顶部将显示一个锁定图标。 单击它可以锁定应用程序。\n\n注意:如果您忘记了本地密码,则需要在 Kotatogram Desktop 中重新登录账号。",
"ktg_message_unsupported": "您的 Kotatogram Desktop 版本无法查看此消息。\n请在设置中更新到最新版,或访问链接下载安装 {link}",
"ktg_bot_share_location_unavailable": "抱歉,Kotatogram Desktop 暂不支持位置共享。",
"ktg_theme_editor_need_unlock": "您需要解锁 Kotatogram 才能保存您的主题。",
"ktg_payments_not_supported": "抱歉,Kotatogram Desktop 暂不支持付款。 \n请使用移动客户端进行此操作。",
"ktg_no_mic_permission": "Kotatogram 需要访问您的麦克风,以便您可以拨打电话和录制语音。",
"ktg_passport_app_out_of_date": "抱歉,您的应用程序版本过旧,无法处理此请求。 \n请更新 Kotatogram 到最新版。",
"ktg_export_progress": "您现在可以关闭此窗口。 \n但在数据导出完成之前,请不要退出 Kotatogram。",
"ktg_language_not_ready_about": "很遗憾,这个自定义语言包 ({lang_name}) 不包含适用于 Kotatogram Desktop 的数据。\n您可以使用 {link} 为此语言包做出贡献。",
"ktg_outdated_soon": "否则,Kotatogram Desktop 将在 {date} 停止更新。",
"ktg_outdated_now": "这样 Kotatogram Desktop 可以更新到最新版。",
"ktg_mac_menu_show": "显示 Kotatogram",
"ktg_settings_kotato": "Kotatogram 设置",
"ktg_user_status_unaccessible": "账号无法访问或已注销",
"ktg_settings_show_json_settings": "显示设置文件",
"ktg_settings_restart": "重启 Kotatogram",
"ktg_copy_btn_callback": "复制 callback 数据",
"ktg_pinned_message_show": "显示已置顶消息",
"ktg_pinned_message_hide": "隐藏已置顶消息",
"ktg_settings_chats": "对话",
"ktg_settings_sticker_height": "贴纸高度: {pixels}px",
"ktg_settings_sticker_scale_both": "应用于贴纸宽度",
"ktg_settings_sticker_scale_both_about": "启用后,贴纸最大宽度将随着贴纸高度而改变。",
"ktg_settings_emoji_outline": "大表情 Emoji",
"ktg_settings_disable_up_edit": "禁用向上键编辑消息",
"ktg_settings_auto_scroll_unfocused": "Unfocused auto-scroll",
"ktg_settings_always_show_scheduled": "总是显示定时消息",
"ktg_settings_chat_list_compact": "紧凑型对话列表",
"ktg_fonts_title": "字体",
"ktg_settings_fonts": "更改字体",
"ktg_fonts_reset": "重置",
"ktg_fonts_about": "您需要重启应用才能应用并查看已更改设置。",
"ktg_fonts_main": "主字体",
"ktg_fonts_semibold": "半粗体",
"ktg_fonts_semibold_is_bold": "粗体",
"ktg_fonts_monospaced": "等宽字体",
"ktg_fonts_use_system_font": "使用系统字体",
"ktg_fonts_use_original_metrics": "使用 Open Sans 的高度",
"ktg_settings_network": "网络",
"ktg_settings_net_speed_boost": "提升上传速度",
"ktg_net_speed_boost_title": "提升上传速度",
"ktg_net_speed_boost_desc": "警告:在慢速网络上将此参数更改为较高的值可能会变得更糟。 使用风险自负。\n\n您需要重启应用才能应用并查看已更改设置。",
"ktg_net_speed_boost_default": "禁用",
"ktg_net_speed_boost_slight": "轻微",
"ktg_net_speed_boost_medium": "中等",
"ktg_net_speed_boost_big": "较大",
"ktg_settings_system": "系统",
"ktg_settings_qt_scale": "Qt 缩放引擎",
"ktg_settings_gtk_integration": "GTK 集成",
"ktg_settings_file_dialog_type": "文件选择对话框",
"ktg_file_dialog_type_default": "默认",
"ktg_file_dialog_disabled_on_build": "编译时被禁用",
"ktg_file_dialog_disabled_by_option": "被选项禁用",
"ktg_settings_other": "其他",
"ktg_profile_copy_id": "复制 ID",
"ktg_profile_bot_id": "机器人 ID",
"ktg_profile_user_id": "用户 ID",
"ktg_profile_group_id": "群组 ID",
"ktg_profile_supergroup_id": "超级群组 ID",
"ktg_profile_channel_id": "频道 ID",
"ktg_settings_show_phone_number": "在左侧面板中显示手机号码",
"ktg_settings_call_confirm": "呼叫前确认",
"ktg_call_sure": "您确定要呼叫此成员吗?",
"ktg_call_button": "呼叫",
"ktg_settings_ffmpeg_multithread": "Multithread video decoding",
"ktg_settings_ffmpeg_multithread_about": "When enabled, CPU and RAM consumption is higher, video decodes faster. When disabled, CPU and RAM consumption is lower, video decodes slower. The more CPU cores you have, the more RAM consumption you have when this option is enabled. You can set exact number of threads in the JSON configuration file.",
"ktg_settings_external_video_player": "External video player",
"ktg_settings_external_video_player_about": "When this option is enabled, autoplay is force-disabled and system video player is used to play videos.",
"ktg_settings_adaptive_bubbles": "自适应气泡",
"ktg_settings_disable_sound_from_tray": "关闭声音",
"ktg_settings_enable_sound_from_tray": "打开声音",
"ktg_settings_recent_stickers_limit": {
"zero": "最近贴纸: 显示 {count} 贴纸",
"one": "最近贴纸: 显示 {count} 贴纸",
"two": "最近贴纸: 显示 {count} 贴纸",
"few": "最近贴纸: 显示 {count} 贴纸",
"many": "最近贴纸: 显示 {count} 贴纸",
"other": "最近贴纸: 显示 {count} 贴纸"
},
"ktg_settings_recent_stickers_limit_none": "最近贴纸: 隐藏所有",
"ktg_filters_default": "默认分组",
"ktg_filters_context_edit_all": "编辑分组",
"ktg_filters_context_make_default": "设为默认分组",
"ktg_filters_context_reset_default": "重置默认分组",
"ktg_settings_filters": "分组",
"ktg_settings_filters_only_unmuted_counter": "对话上不显示计数",
"ktg_settings_filters_hide_edit": "隐藏编辑按钮",
"ktg_settings_filters_hide_folder_names": "紧凑型分组",
"ktg_settings_top_bar_mute": "资源顶部显示\"关闭声音\"按钮",
"ktg_settings_messages": "消息",
"ktg_settings_filters_hide_all": "隐藏\"对话\"分组\n",
"ktg_hide_pinned_message": "隐藏",
"ktg_stickers_copy_title": "复制名称",
"ktg_stickers_title_copied": "贴纸包名称已复制到剪切板",
"ktg_context_show_messages_from": "筛选成员消息",
"ktg_settings_userpic_rounding": "个人资料中的图片",
"ktg_settings_userpic_rounding_none": "正方形",
"ktg_settings_userpic_rounding_small": "较小",
"ktg_settings_userpic_rounding_big": "较大",
"ktg_settings_userpic_rounding_full": "圆形",
"ktg_settings_userpic_rounding_desc": "您需要重启应用才能应用并查看已更改设置。",
"ktg_settings_tray_icon": "任务栏图标",
"ktg_settings_tray_icon_default": "默认",
"ktg_settings_tray_icon_blue": "蓝色",
"ktg_settings_tray_icon_green": "绿色",
"ktg_settings_tray_icon_orange": "橙色",
"ktg_settings_tray_icon_red": "红色",
"ktg_settings_tray_icon_legacy": "旧版",
"ktg_settings_tray_icon_desc": "如果您不喜欢下方选项中任何一个图标,可以将 icon.png 放在您的个人资料文件夹中,但是您需要重启应用才能看到效果。\n\n选择下面的图标不需要重启应用。",
"ktg_settings_disable_tray_counter": "任务栏图标不显示计数",
"ktg_settings_use_telegram_panel_icon": "询问系统 Telegram 图标",
"ktg_settings_chat_id": "资料信息显示对话 ID",
"ktg_settings_chat_id_desc": "您可以在此处选择所需的格式。\n\nTelegram API 按原样使用 ID,但 Bot API 在组的开头添加减号,在频道和超级群组的开头添加-100,以在仅使用一个字段的情况下作出区分。\n\n如果您已经打开了配置文件面板,请重新打开它以查看更改。",
"ktg_settings_chat_id_disable": "隐藏",
"ktg_settings_chat_id_telegram": "Telegram API\n",
"ktg_settings_chat_id_bot": "Bot API\n",
"ktg_message_id": "消息 ID: {id}\n",
"ktg_emoji_panel_hover": "鼠标悬停显示表情符号面板",
"ktg_local_storage_limit_days": {
"zero": "{count} 天",
"one": "{count} 天",
"two": "{count} 天",
"few": "{count} 天",
"many": "{count} 天",
"other": "{count} 天"
},
"ktg_settings_monospace_large_bubbles": "使用等距展开气泡",
"ktg_bot_id_copied": "机器人 ID 已复制到剪切板",
"ktg_user_id_copied": "成员 UID 已复制到剪切板",
"ktg_group_id_copied": "群组 ID 已复制到剪切板",
"ktg_supergroup_id_copied": "超级群 ID 已复制到剪切板",
"ktg_channel_id_copied": "频道 ID 已复制到剪切板",
"ktg_phone_copied": "手机号码已复制到剪切板",
"ktg_mention_copied": "用户名已复制到剪切板",
"ktg_status_mutual_contact": "双向联系人",
"ktg_status_contact": "联系人",
"ktg_status_non_contact": "非联系人",
"ktg_supergroup_status": "超级群",
"ktg_group_status_not_in": "不是成员",
"ktg_channel_status_not_in": "未订阅",
"ktg_group_status_owner": "创建者",
"ktg_group_status_admin": "管理员",
"ktg_too_many_accounts_warning": "警告!不建议同时使用太多帐户,因为这会增加内存消耗,并可能导致崩溃。\n\n您确定要添加一个新帐户吗?",
"ktg_account_add_anyway": "仍然添加",
"ktg_media_selected_gif": {
"zero": "{count} GIF",
"one": "{count} GIF",
"two": "{count} GIF",
"few": "{count} GIF",
"many": "{count} GIF",
"other": "{count} GIF"
},
"ktg_media_type_gif": "GIF",
"ktg_profile_gif": {
"zero": "{count} GIF",
"one": "{count} GIF",
"two": "{count} GIF",
"few": "{count} GIF",
"many": "{count} GIF",
"other": "{count} GIF"
},
"ktg_media_gif_empty": "暂无 GIF",
"ktg_rights_chat_send_stickers": "发送贴纸",
"ktg_rights_chat_send_gif": "发送 GIF",
"ktg_rights_chat_send_games": "发送游戏",
"ktg_rights_chat_use_inline": "使用 Inline 机器人",
"ktg_admin_log_banned_send_stickers": "发送贴纸",
"ktg_admin_log_banned_send_gif": "发送 GIF",
"ktg_admin_log_banned_send_games": "发送游戏",
"ktg_admin_log_banned_use_inline": "使用 Inline 机器人",
"ktg_forward_go_to_chat": "打开对话",
"ktg_settings_forward": "转发",
"ktg_settings_forward_retain_selection": "转发后保留选择",
"ktg_settings_forward_chat_on_click": "点击打开对话",
"ktg_settings_forward_chat_on_click_description": "无论此选项如何,您仍然可以长按 Ctrl 键选择多个对话",
"ktg_forward_menu_quoted": "引用",
"ktg_forward_menu_unquoted": "无引用转发(含说明)",
"ktg_forward_menu_uncaptioned": "无引用转发(无说明)",
"ktg_forward_menu_default_albums": "保留相册",
"ktg_forward_menu_group_all_media": "所有媒体",
"ktg_forward_menu_separate_messages": "分开发送",
"ktg_forward_subtitle_unquoted": "无引用转发",
"ktg_forward_subtitle_uncaptioned": "无标题",
"ktg_forward_subtitle_group_all_media": "相册",
"ktg_forward_subtitle_separate_messages": "逐一转发",
"ktg_profile_mention_user": "@成员",
"ktg_filters_exclude_not_owned": "不是我创建的",
"ktg_filters_exclude_not_admin": "不是我管理的",
"ktg_filters_exclude_owned": "我创建的",
"ktg_filters_exclude_admin": "我管理的",
"ktg_filters_exclude_not_recent": "此会话中未打开",
"ktg_filters_exclude_filtered": "来自于其他分组",
"ktg_filters_create_cloud": "新建同步分组",
"ktg_filters_create_local": "新建本地分组",
"ktg_filters_description": "同步分组可以在所有 Telegram 客户端之间同步,但是本地分组具有更多功能。",
"ktg_filters_new_cloud": "新建同步分组",
"ktg_filters_new_local": "新建本地分组",
"ktg_filters_edit_cloud": "编辑同步分组",
"ktg_filters_edit_local": "编辑本地分组",
"ktg_filters_local": "本地分组",
"ktg_filters_cloud": "同步分组",
"ktg_filters_cloud_limit": "抱歉,您无法创建更多同步分组。 您可以改为创建本地分组。",
"ktg_filters_hide_folder": "隐藏分组",
"ktg_filters_hide_button": "隐藏按钮",
"ktg_filters_hide_all_chats_toast": "\"对话\" 分组已隐藏。\n您可以在 Kotatogram 设置中将其显示出来。",
"ktg_filters_hide_edit_toast": "编辑按钮已隐藏。\n您可以在 Kotatogram 设置中将其显示出来。",
"ktg_settings_telegram_sites_autologin": "Auto-login on Telegram sites",
"ktg_mute_for_selected_time": "For selected time",
"ktg_send_preview": "Send preview",
"ktg_send_silent_preview": "Send preview silent",
"ktg_reminder_preview": "Remind with preview",
"ktg_schedule_preview": "Send preview scheduled",
"ktg_language_reloaded": "Kotatogram-specific language strings were reloaded.",
"ktg_notifications_mute_seconds": {
"zero": "seconds",
"one": "second",
"two": "seconds",
"few": "seconds",
"many": "seconds",
"other": "seconds"
},
"ktg_notifications_mute_minutes": {
"zero": "minutes",
"one": "minute",
"two": "minutes",
"few": "minutes",
"many": "minutes",
"other": "minutes"
},
"ktg_notifications_mute_hours": {
"zero": "hours",
"one": "hour",
"two": "hours",
"few": "hours",
"many": "hours",
"other": "hours"
},
"ktg_notifications_mute_days": {
"zero": "days",
"one": "day",
"two": "days",
"few": "days",
"many": "days",
"other": "days"
},
"dummy_last_string": ""
}
14 changes: 14 additions & 0 deletions Telegram/Resources/qrc/telegram/telegram.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,20 @@
<file alias="io.github.kotatogram.desktop">../../../../lib/xdg/io.github.kotatogram.desktop</file>
</qresource>
<qresource prefix="/ktg_lang">
<file alias="alttg.json">../../langs/rewrites/alttg.json</file>
<file alias="ar.json">../../langs/rewrites/ar.json</file>
<file alias="de.json">../../langs/rewrites/de.json</file>
<file alias="en.json">../../langs/rewrites/en.json</file>
<file alias="es.json">../../langs/rewrites/es.json</file>
<file alias="fa.json">../../langs/rewrites/fa.json</file>
<file alias="fr.json">../../langs/rewrites/fr.json</file>
<file alias="he.json">../../langs/rewrites/he.json</file>
<file alias="it.json">../../langs/rewrites/it.json</file>
<file alias="pl.json">../../langs/rewrites/pl.json</file>
<file alias="pt-br.json">../../langs/rewrites/pt-br.json</file>
<file alias="ru.json">../../langs/rewrites/ru.json</file>
<file alias="tr.json">../../langs/rewrites/tr.json</file>
<file alias="uk.json">../../langs/rewrites/uk.json</file>
<file alias="zh.json">../../langs/rewrites/zh.json</file>
</qresource>
</RCC>

0 comments on commit a31c5af

Please sign in to comment.