mirror of
https://github.com/WenPai-org/git-embed-feicode.git
synced 2025-08-03 19:29:45 +08:00
Add i18n and release-aware download for repo card
This update adds internationalization to all user-facing strings in the block editor UI and repository card, and refactors download logic to support release ZIPs and branch ZIPs for GitHub, GitLab, Gitea, Forgejo, and custom platforms. The PHP backend now fetches release info, generates appropriate download URLs and filenames, and improves caching and debug logging. The block UI and card rendering are updated to use translated strings and new download button logic.
This commit is contained in:
parent
2f811072c5
commit
8beaadc3bc
7 changed files with 992 additions and 767 deletions
|
@ -13,24 +13,129 @@
|
|||
"Embed a Git repository with information and stats": [
|
||||
"嵌入包含信息和统计数据的 Git 仓库"
|
||||
],
|
||||
"Please enter repository owner and name": [
|
||||
"请输入仓库所有者和名称"
|
||||
],
|
||||
"Please enter custom domain for": [
|
||||
"请输入自定义域名:"
|
||||
],
|
||||
"Failed to fetch repository": [
|
||||
"获取仓库失败"
|
||||
],
|
||||
"Network error occurred": [
|
||||
"网络错误"
|
||||
],
|
||||
"Fetching repository data...": [
|
||||
"正在获取仓库数据..."
|
||||
],
|
||||
"Git Repository Embed": [
|
||||
"Git 仓库嵌入"
|
||||
],
|
||||
"Configure your repository details in the sidebar": [
|
||||
"在侧边栏配置您的仓库详情"
|
||||
],
|
||||
"Download": [
|
||||
"下载"
|
||||
],
|
||||
"Download ZIP": [
|
||||
"下载 ZIP"
|
||||
],
|
||||
"Repository Avatar": [
|
||||
"仓库头像"
|
||||
],
|
||||
"Owner Avatar": [
|
||||
"所有者头像"
|
||||
],
|
||||
"Repository has custom avatar": [
|
||||
"仓库有自定义头像"
|
||||
],
|
||||
"Stars:": [
|
||||
"星标:"
|
||||
],
|
||||
"Forks:": [
|
||||
"分叉:"
|
||||
],
|
||||
"Issues:": [
|
||||
"议题:"
|
||||
],
|
||||
"View Repository": [
|
||||
"查看仓库"
|
||||
],
|
||||
"Clone URL:": [
|
||||
"克隆链接:"
|
||||
],
|
||||
"Clone": [
|
||||
"克隆"
|
||||
],
|
||||
"Issues": [
|
||||
"议题"
|
||||
],
|
||||
"Forks": [
|
||||
"分叉"
|
||||
],
|
||||
"Repository Settings": [
|
||||
"仓库设置"
|
||||
],
|
||||
"Platform": [
|
||||
"平台"
|
||||
],
|
||||
"GitHub": [
|
||||
"GitHub"
|
||||
],
|
||||
"Gitea": [
|
||||
"Gitea"
|
||||
],
|
||||
"Forgejo": [
|
||||
"Forgejo"
|
||||
],
|
||||
"GitLab (Self-hosted)": [
|
||||
"GitLab(自托管)"
|
||||
],
|
||||
"Custom Git Service": [
|
||||
"自定义 Git 服务"
|
||||
],
|
||||
"Self-hosted Git service requires custom domain": [
|
||||
"自托管 Git 服务需要自定义域名"
|
||||
],
|
||||
"Custom Domain": [
|
||||
"自定义域名"
|
||||
],
|
||||
"e.g. git.example.com": [
|
||||
"例如:git.example.com"
|
||||
],
|
||||
"Enter the domain of your": [
|
||||
"输入您的"
|
||||
],
|
||||
"instance": [
|
||||
"实例域名"
|
||||
],
|
||||
"Custom Site Name (Optional)": [
|
||||
"自定义站点名称(可选)"
|
||||
],
|
||||
"e.g. Company Git": [
|
||||
"例如:公司 Git"
|
||||
],
|
||||
"Override the automatically detected site name": [
|
||||
"覆盖自动检测的站点名称"
|
||||
],
|
||||
"Repository Owner": [
|
||||
"仓库所有者"
|
||||
],
|
||||
"e.g. facebook": [
|
||||
"例如:facebook"
|
||||
],
|
||||
"Repository Name": [
|
||||
"仓库名称"
|
||||
],
|
||||
"e.g. react": [
|
||||
"例如:react"
|
||||
],
|
||||
"Fetch Repository": [
|
||||
"获取仓库"
|
||||
],
|
||||
"Fetching...": [
|
||||
"正在获取..."
|
||||
],
|
||||
"Display Options": [
|
||||
"显示选项"
|
||||
],
|
||||
|
@ -40,9 +145,21 @@
|
|||
"Show Avatar": [
|
||||
"显示头像"
|
||||
],
|
||||
"Shows repository avatar if available, otherwise owner avatar": [
|
||||
"如果可用,显示仓库头像,否则显示所有者头像"
|
||||
],
|
||||
"Avatar Size": [
|
||||
"头像大小"
|
||||
],
|
||||
"Small": [
|
||||
"小"
|
||||
],
|
||||
"Medium": [
|
||||
"中"
|
||||
],
|
||||
"Large": [
|
||||
"大"
|
||||
],
|
||||
"Show Description": [
|
||||
"显示描述"
|
||||
],
|
||||
|
@ -76,75 +193,6 @@
|
|||
"Button Style": [
|
||||
"按钮样式"
|
||||
],
|
||||
"Button Size": [
|
||||
"按钮大小"
|
||||
],
|
||||
"Style Options": [
|
||||
"样式选项"
|
||||
],
|
||||
"Card Style": [
|
||||
"卡片样式"
|
||||
],
|
||||
"Please enter repository owner and name": [
|
||||
"请输入仓库所有者和名称"
|
||||
],
|
||||
"Please enter custom domain for %s": [
|
||||
"请输入 %s 的自定义域名"
|
||||
],
|
||||
"Fetching repository data...": [
|
||||
"正在获取仓库数据..."
|
||||
],
|
||||
"Failed to fetch repository": [
|
||||
"获取仓库失败"
|
||||
],
|
||||
"Network error occurred": [
|
||||
"网络错误"
|
||||
],
|
||||
"Configure your repository details in the sidebar": [
|
||||
"在侧边栏配置您的仓库详情"
|
||||
],
|
||||
"Fetch Repository": [
|
||||
"获取仓库"
|
||||
],
|
||||
"Fetching...": [
|
||||
"正在获取..."
|
||||
],
|
||||
"Self-hosted Git service requires custom domain": [
|
||||
"自托管 Git 服务需要自定义域名"
|
||||
],
|
||||
"Enter the domain of your %s instance": [
|
||||
"输入您的 %s 实例域名"
|
||||
],
|
||||
"Override the automatically detected site name": [
|
||||
"覆盖自动检测的站点名称"
|
||||
],
|
||||
"Shows repository avatar if available, otherwise owner avatar": [
|
||||
"如果可用,显示仓库头像,否则显示所有者头像"
|
||||
],
|
||||
"GitHub": [
|
||||
"GitHub"
|
||||
],
|
||||
"Gitea": [
|
||||
"Gitea"
|
||||
],
|
||||
"Forgejo": [
|
||||
"Forgejo"
|
||||
],
|
||||
"GitLab (Self-hosted)": [
|
||||
"GitLab(自托管)"
|
||||
],
|
||||
"Custom Git Service": [
|
||||
"自定义 Git 服务"
|
||||
],
|
||||
"Small": [
|
||||
"小"
|
||||
],
|
||||
"Medium": [
|
||||
"中"
|
||||
],
|
||||
"Large": [
|
||||
"大"
|
||||
],
|
||||
"Default": [
|
||||
"默认"
|
||||
],
|
||||
|
@ -160,6 +208,15 @@
|
|||
"Ghost": [
|
||||
"幽灵"
|
||||
],
|
||||
"Button Size": [
|
||||
"按钮大小"
|
||||
],
|
||||
"Style Options": [
|
||||
"样式选项"
|
||||
],
|
||||
"Card Style": [
|
||||
"卡片样式"
|
||||
],
|
||||
"Minimal": [
|
||||
"简约"
|
||||
],
|
||||
|
@ -174,6 +231,54 @@
|
|||
],
|
||||
"Glassmorphism": [
|
||||
"玻璃态"
|
||||
],
|
||||
"Repository information required": [
|
||||
"需要仓库信息"
|
||||
],
|
||||
"Custom domain required for %s": [
|
||||
"%s 需要自定义域名"
|
||||
],
|
||||
"Failed to fetch repository data": [
|
||||
"获取仓库数据失败"
|
||||
],
|
||||
"Latest Code": [
|
||||
"最新代码"
|
||||
],
|
||||
"Git Service": [
|
||||
"Git 服务"
|
||||
],
|
||||
"Organization": [
|
||||
"组织"
|
||||
],
|
||||
"User": [
|
||||
"用户"
|
||||
],
|
||||
"Download %s (%s)": [
|
||||
"下载 %s (%s)"
|
||||
],
|
||||
"Download %s": [
|
||||
"下载 %s"
|
||||
],
|
||||
"Issues (%s)": [
|
||||
"议题 (%s)"
|
||||
],
|
||||
"Forks (%s)": [
|
||||
"分叉 (%s)"
|
||||
],
|
||||
"Click to copy clone URL": [
|
||||
"点击复制克隆链接"
|
||||
],
|
||||
"Copied!": [
|
||||
"已复制!"
|
||||
],
|
||||
"Please enter custom domain for %s": [
|
||||
"请输入 %s 的自定义域名"
|
||||
],
|
||||
"Insufficient permissions": [
|
||||
"权限不足"
|
||||
],
|
||||
"Cache cleared successfully": [
|
||||
"缓存清理成功"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -7,7 +7,7 @@ msgstr ""
|
|||
"Project-Id-Version: Git Embed for feiCode 1.0.1\n"
|
||||
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/git-embed-feicode\n"
|
||||
"POT-Creation-Date: 2024-12-31 12:00+0000\n"
|
||||
"PO-Revision-Date: 2025-07-31 17:43+0800\n"
|
||||
"PO-Revision-Date: 2025-08-01 01:09+0800\n"
|
||||
"Last-Translator: feiCode Team\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
|
@ -200,6 +200,9 @@ msgstr "查看仓库"
|
|||
msgid "Clone"
|
||||
msgstr "克隆"
|
||||
|
||||
msgid "Download %s (%s)"
|
||||
msgstr "下载 %s (%s)"
|
||||
|
||||
msgid "Download ZIP"
|
||||
msgstr "下载 ZIP"
|
||||
|
||||
|
|
|
@ -1,141 +1,338 @@
|
|||
# Copyright (C) 2024 feiCode
|
||||
# This file is distributed under the same license as the Git Embed for feiCode plugin.
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Git Embed for feiCode 1.0.1\n"
|
||||
"Project-Id-Version: Git Embed for feiCode 1.0.2\n"
|
||||
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/git-embed-feicode\n"
|
||||
"POT-Creation-Date: 2024-12-31 12:00+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"X-Generator: WordPress POT Generator\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
|
||||
#. Plugin Name of the plugin/theme
|
||||
msgid "Git Embed for feiCode"
|
||||
msgstr ""
|
||||
|
||||
#. Plugin Description of the plugin/theme
|
||||
msgid "Embed Git repositories from GitHub/Gitlab/Gitea/Forgejo and Self-hosted Git service with beautiful cards
|
||||
|
||||
"
|
||||
msgid "Embed Git repositories from GitHub/Gitlab/Gitea/Forgejo and Self-hosted Git service with beautiful cards"
|
||||
msgstr ""
|
||||
|
||||
#. Author of the plugin/theme
|
||||
msgid "feiCode"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:15
|
||||
#: assets/block.js:15
|
||||
msgid "Git Repository"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:16
|
||||
#: assets/block.js:16
|
||||
msgid "Embed a Git repository with information and stats"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:170
|
||||
#: assets/block.js:85
|
||||
msgid "Please enter repository owner and name"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:89
|
||||
msgid "Please enter custom domain for"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:104
|
||||
msgid "Failed to fetch repository"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:109
|
||||
msgid "Network error occurred"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:127
|
||||
msgid "Fetching repository data..."
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:140
|
||||
msgid "Git Repository Embed"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:141
|
||||
msgid "Configure your repository details in the sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:152
|
||||
msgid "Download"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:153
|
||||
msgid "Download ZIP"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:177
|
||||
msgid "Repository Avatar"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:177
|
||||
msgid "Owner Avatar"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:197
|
||||
msgid "Repository has custom avatar"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:217
|
||||
msgid "Stars:"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:221
|
||||
msgid "Forks:"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:225
|
||||
msgid "Issues:"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:237
|
||||
msgid "View Repository"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:241
|
||||
msgid "Clone URL:"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:244
|
||||
msgid "Clone"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:260
|
||||
msgid "Issues"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:268
|
||||
msgid "Forks"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:281
|
||||
msgid "Repository Settings"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:174
|
||||
#: assets/block.js:285
|
||||
msgid "Platform"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:185
|
||||
#: assets/block.js:287
|
||||
msgid "GitHub"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:288
|
||||
msgid "Gitea"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:289
|
||||
msgid "Forgejo"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:290
|
||||
msgid "GitLab (Self-hosted)"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:291
|
||||
msgid "Custom Git Service"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:294
|
||||
msgid "Self-hosted Git service requires custom domain"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:299
|
||||
msgid "Custom Domain"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:195
|
||||
#: assets/block.js:302
|
||||
msgid "e.g. git.example.com"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:303
|
||||
msgid "Enter the domain of your"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:303
|
||||
msgid "instance"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:308
|
||||
msgid "Custom Site Name (Optional)"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:205
|
||||
#: assets/block.js:311
|
||||
msgid "e.g. Company Git"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:312
|
||||
msgid "Override the automatically detected site name"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:317
|
||||
msgid "Repository Owner"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:214
|
||||
#: assets/block.js:320
|
||||
msgid "e.g. facebook"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:325
|
||||
msgid "Repository Name"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:227
|
||||
#: assets/block.js:328
|
||||
msgid "e.g. react"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:336
|
||||
msgid "Fetch Repository"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:336
|
||||
msgid "Fetching..."
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:339
|
||||
msgid "Display Options"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:231
|
||||
#: assets/block.js:343
|
||||
msgid "Show Site Information"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:235
|
||||
#: assets/block.js:347
|
||||
msgid "Show Avatar"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:240
|
||||
#: assets/block.js:350
|
||||
msgid "Shows repository avatar if available, otherwise owner avatar"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:353
|
||||
msgid "Avatar Size"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:252
|
||||
#: assets/block.js:355
|
||||
msgid "Small"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:356
|
||||
msgid "Medium"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:357
|
||||
msgid "Large"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:364
|
||||
msgid "Show Description"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:256
|
||||
#: assets/block.js:368
|
||||
msgid "Show Programming Language"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:260
|
||||
#: assets/block.js:372
|
||||
msgid "Show Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:264
|
||||
#: assets/block.js:376
|
||||
msgid "Show Action Buttons"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:269
|
||||
#: assets/block.js:380
|
||||
msgid "Button Options"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:273
|
||||
#: assets/block.js:384
|
||||
msgid "Show View Repository Button"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:278
|
||||
#: assets/block.js:389
|
||||
msgid "Show Clone Button"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:283
|
||||
#: assets/block.js:394
|
||||
msgid "Show Download ZIP Button"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:288
|
||||
#: assets/block.js:399
|
||||
msgid "Show Issues Button"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:293
|
||||
#: assets/block.js:404
|
||||
msgid "Show Forks Button"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:298
|
||||
#: assets/block.js:409
|
||||
msgid "Button Style"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:312
|
||||
#: assets/block.js:411
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:412
|
||||
msgid "Primary (Green)"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:413
|
||||
msgid "Secondary (Gray)"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:414
|
||||
msgid "Outline"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:415
|
||||
msgid "Ghost"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:422
|
||||
msgid "Button Size"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:326
|
||||
#: assets/block.js:433
|
||||
msgid "Style Options"
|
||||
msgstr ""
|
||||
|
||||
#: block.js:330
|
||||
#: assets/block.js:437
|
||||
msgid "Card Style"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:440
|
||||
msgid "Minimal"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:441
|
||||
msgid "Bordered"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:442
|
||||
msgid "Shadow"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:443
|
||||
msgid "Gradient"
|
||||
msgstr ""
|
||||
|
||||
#: assets/block.js:444
|
||||
msgid "Glassmorphism"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:85
|
||||
msgid "Repository information required"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:89
|
||||
#, php-format
|
||||
msgid "Custom domain required for %s"
|
||||
msgstr ""
|
||||
|
||||
|
@ -143,154 +340,75 @@ msgstr ""
|
|||
msgid "Failed to fetch repository data"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:672
|
||||
msgid "Insufficient permissions"
|
||||
#: git-embed-feicode.php:246
|
||||
msgid "Latest Code"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:684
|
||||
msgid "Cache cleared successfully"
|
||||
#: git-embed-feicode.php:429
|
||||
msgid "Git Service"
|
||||
msgstr ""
|
||||
|
||||
#. Error messages
|
||||
msgid "Please enter repository owner and name"
|
||||
msgstr ""
|
||||
|
||||
#, javascript-format
|
||||
msgid "Please enter custom domain for %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Fetching repository data..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Failed to fetch repository"
|
||||
msgstr ""
|
||||
|
||||
msgid "Network error occurred"
|
||||
msgstr ""
|
||||
|
||||
msgid "Configure your repository details in the sidebar"
|
||||
msgstr ""
|
||||
|
||||
msgid "Fetch Repository"
|
||||
msgstr ""
|
||||
|
||||
msgid "Fetching..."
|
||||
msgstr ""
|
||||
|
||||
#. Help texts
|
||||
msgid "Self-hosted Git service requires custom domain"
|
||||
msgstr ""
|
||||
|
||||
#, javascript-format
|
||||
msgid "Enter the domain of your %s instance"
|
||||
msgstr ""
|
||||
|
||||
msgid "Override the automatically detected site name"
|
||||
msgstr ""
|
||||
|
||||
msgid "Shows repository avatar if available, otherwise owner avatar"
|
||||
msgstr ""
|
||||
|
||||
#. Button labels
|
||||
msgid "View Repository"
|
||||
msgstr ""
|
||||
|
||||
msgid "Clone"
|
||||
msgstr ""
|
||||
|
||||
msgid "Download ZIP"
|
||||
msgstr ""
|
||||
|
||||
msgid "Issues"
|
||||
msgstr ""
|
||||
|
||||
msgid "Forks"
|
||||
msgstr ""
|
||||
|
||||
msgid "Copied!"
|
||||
msgstr ""
|
||||
|
||||
#. Stats labels
|
||||
msgid "Stars:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Forks:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Issues:"
|
||||
msgstr ""
|
||||
|
||||
#. Options
|
||||
msgid "GitHub"
|
||||
msgstr ""
|
||||
|
||||
msgid "Gitea"
|
||||
msgstr ""
|
||||
|
||||
msgid "Forgejo"
|
||||
msgstr ""
|
||||
|
||||
msgid "GitLab (Self-hosted)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Custom Git Service"
|
||||
msgstr ""
|
||||
|
||||
msgid "Small"
|
||||
msgstr ""
|
||||
|
||||
msgid "Medium"
|
||||
msgstr ""
|
||||
|
||||
msgid "Large"
|
||||
msgstr ""
|
||||
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
msgid "Primary (Green)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Secondary (Gray)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Outline"
|
||||
msgstr ""
|
||||
|
||||
msgid "Ghost"
|
||||
msgstr ""
|
||||
|
||||
msgid "Minimal"
|
||||
msgstr ""
|
||||
|
||||
msgid "Bordered"
|
||||
msgstr ""
|
||||
|
||||
msgid "Shadow"
|
||||
msgstr ""
|
||||
|
||||
msgid "Gradient"
|
||||
msgstr ""
|
||||
|
||||
msgid "Glassmorphism"
|
||||
msgstr ""
|
||||
|
||||
#. Tooltips and titles
|
||||
msgid "Click to copy clone URL"
|
||||
msgstr ""
|
||||
|
||||
msgid "Repository Avatar"
|
||||
msgstr ""
|
||||
|
||||
msgid "Owner Avatar"
|
||||
msgstr ""
|
||||
|
||||
msgid "Repository has custom avatar"
|
||||
msgstr ""
|
||||
|
||||
#. Owner types
|
||||
#: git-embed-feicode.php:537
|
||||
msgid "Organization"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:542
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:617
|
||||
#, php-format
|
||||
msgid "Download %s (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:625
|
||||
msgid "Download ZIP"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:679
|
||||
msgid "View Repository"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:687
|
||||
msgid "Clone"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:698
|
||||
#, php-format
|
||||
msgid "Download %s"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:705
|
||||
#, php-format
|
||||
msgid "Issues (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:714
|
||||
#, php-format
|
||||
msgid "Forks (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:754
|
||||
msgid "Click to copy clone URL"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:798
|
||||
msgid "Copied!"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:816
|
||||
msgid "Please enter repository owner and name"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:820
|
||||
#, php-format
|
||||
msgid "Please enter custom domain for %s"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:832
|
||||
msgid "Insufficient permissions"
|
||||
msgstr ""
|
||||
|
||||
#: git-embed-feicode.php:844
|
||||
msgid "Cache cleared successfully"
|
||||
msgstr ""
|
35
languages/git-embed-feicode.pot
Normal file
35
languages/git-embed-feicode.pot
Normal file
|
@ -0,0 +1,35 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Git Embed for feiCode\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-31 16:41+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: \n"
|
||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Loco https://localise.biz/\n"
|
||||
"X-Loco-Version: 2.8.0; wp-6.8.2; php-8.3.0-dev\n"
|
||||
"X-Domain: git-embed-feicode"
|
||||
|
||||
#. Description of the plugin
|
||||
msgid ""
|
||||
"Embed Git repositories from GitHub/Gitlab/Gitea/Forgejo and Self-hosted Git "
|
||||
"service with beautiful cards"
|
||||
msgstr ""
|
||||
|
||||
#. Author of the plugin
|
||||
msgid "feiCode"
|
||||
msgstr ""
|
||||
|
||||
#. Name of the plugin
|
||||
msgid "Git Embed for feiCode"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin
|
||||
msgid "https://cn.feicode.com"
|
||||
msgstr ""
|
Loading…
Add table
Add a link
Reference in a new issue