Skip to content

Internationalization #193

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

Merged
merged 11 commits into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from 2 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
43 changes: 43 additions & 0 deletions src/_locales/de/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"appName": { "message": "Scrum-Helfer" },
"appDescription": { "message": "Berichten Sie über Ihren Entwicklungsfortschritt, indem Sie Ihre Git-Aktivität für einen ausgewählten Zeitraum automatisch abrufen" },
"disableLabel": { "message": "Deaktivieren" },
"enableLabel": { "message": "Aktivieren" },
"homeButtonTitle": { "message": "Zum Bericht gehen" },
"projectNameLabel": { "message": "Ihr Projektname" },
"projectNamePlaceholder": { "message": "Geben Sie Ihren Projektnamen ein" },
"githubUsernameLabel": { "message": "Ihr Github-Benutzername" },
"githubUsernamePlaceholder": { "message": "Erforderlich zum Abrufen Ihrer Beiträge" },
"contributionsLabel": { "message": "Ihre Beiträge abrufen zwischen:" },
"last7DaysLabel": { "message": "Letzte 7 Tage" },
"last1DayLabel": { "message": "Letzter Tag" },
"startDateLabel": { "message": "Startdatum:" },
"endDateLabel": { "message": "Enddatum:" },
"showOpenClosedLabel": { "message": "Offen/Geschlossen-Label anzeigen" },
"blockersLabel": { "message": "Was hindert Sie am Fortschritt?" },
"blockersPlaceholder": { "message": "Geben Sie Ihren Grund ein" },
"scrumReportLabel": { "message": "Scrum-Bericht" },
"generateReportButton": { "message": "Bericht erstellen" },
"copyReportButton": { "message": "Bericht kopieren" },
"settingsOrgNameLabel": { "message": "Organisationsname" },
"settingsOrgNamePlaceholder": { "message": "Geben Sie den Organisationsnamen ein" },
"setButton": { "message": "Einstellen" },
"githubTokenLabel": { "message": "Ihr Github-Token" },
"githubTokenPlaceholder": { "message": "Erforderlich für authentifizierte Anfragen" },
"showCommitsLabel": { "message": "Commits anzeigen, die innerhalb des Datumsbereichs in offenen PRs gemacht wurden" },
"cacheTTLLabel": { "message": "Cache-TTL eingeben" },
"cacheTTLUnit": { "message": "(in Minuten)" },
"cacheTTLPlaceholder": { "message": "Schreiben Sie die Cache-TTL in Minuten (Standard 10 Minuten)" },
"refreshDataButton": { "message": "Daten aktualisieren (Cache umgehen)" },
"refreshDataInfo": { "message": "Verwenden Sie diese Schaltfläche, um sofort neue Daten abzurufen." },
"noteTitle": { "message": "Hinweis:" },
"viewCodeButton": { "message": "Code anzeigen" },
"reportIssueButton": { "message": "Problem melden" },
"madeWithLoveBy": { "message": "Mit ❤️ gemacht von" },
"generatingButton": { "message": "Wird generiert..." },
"copiedButton": { "message": "Kopiert!" },
"orgChangedMessage": { "message": "Organisation geändert. Klicken Sie auf die Schaltfläche 'Generieren', um die GitHub-Aktivitäten abzurufen." },
"cacheClearedMessage": { "message": "Cache erfolgreich geleert. Klicken Sie auf \"Bericht erstellen\", um neue Daten abzurufen." },
"cacheClearedButton": { "message": "Cache geleert!" },
"extensionDisabledMessage": { "message": "Die Erweiterung ist deaktiviert. Aktivieren Sie sie in den Optionen, um Scrum-Berichte zu erstellen." }
}
166 changes: 166 additions & 0 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"appName": {
"message": "Scrum Helper",
"description": "The name of the extension."
},
"appDescription": {
"message": "Report your development progress by auto-fetching your Git activity for a selected period",
"description": "A brief description of what the extension does."
},
"disableLabel": {
"message": "Disable",
"description": "Label for the toggle switch to disable the extension."
},
"enableLabel": {
"message": "Enable",
"description": "Label for the toggle switch to enable the extension."
},
"homeButtonTitle": {
"message": "Go to Report",
"description": "Tooltip for the home button."
},
"projectNameLabel": {
"message": "Your Project Name",
"description": "Label for the project name input field."
},
"projectNamePlaceholder": {
"message": "Enter your project name",
"description": "Placeholder text for the project name input."
},
"githubUsernameLabel": {
"message": "Your Github Username",
"description": "Label for the GitHub username input field."
},
"githubUsernamePlaceholder": {
"message": "Required for fetching your contributions",
"description": "Placeholder text for the GitHub username input."
},
"contributionsLabel": {
"message": "Fetch your contributions between:",
"description": "Label for the date range selection."
},
"last7DaysLabel": {
"message": "Last 7 days",
"description": "Radio button option for the last 7 days."
},
"last1DayLabel": {
"message": "Last 1 day",
"description": "Radio button option for the last 1 day."
},
"startDateLabel": {
"message": "Start Date:",
"description": "Label for the start date picker."
},
"endDateLabel": {
"message": "End Date:",
"description": "Label for the end date picker."
},
"showOpenClosedLabel": {
"message": "Show Open/Closed Label",
"description": "Label for the checkbox to show open/closed status on PRs/issues."
},
"blockersLabel": {
"message": "What is blocking you from making progress?",
"description": "Label for the input field for blockers."
},
"blockersPlaceholder": {
"message": "Enter your reason",
"description": "Placeholder text for the blockers input field."
},
"scrumReportLabel": {
"message": "Scrum Report",
"description": "Heading for the generated scrum report."
},
"generateReportButton": {
"message": "Generate Report",
"description": "Text for the 'Generate Report' button."
},
"copyReportButton": {
"message": "Copy Report",
"description": "Text for the 'Copy Report' button."
},
"settingsOrgNameLabel": {
"message": "Organization Name",
"description": "Label for the organization name input in settings."
},
"settingsOrgNamePlaceholder": {
"message": "Enter organization name",
"description": "Placeholder for the organization name input."
},
"setButton": {
"message": "Set",
"description": "Text for the 'Set' button for the organization."
},
"githubTokenLabel": {
"message": "Your Github Token",
"description": "Label for the GitHub token input."
},
"githubTokenPlaceholder": {
"message": "Required for making authenticated requests",
"description": "Placeholder for the GitHub token input."
},
"showCommitsLabel": {
"message": "Show commits made within date range in Open PRs",
"description": "Label for the checkbox to show commits in open PRs."
},
"cacheTTLLabel": {
"message": "Enter cache TTL",
"description": "Label for the cache time-to-live input."
},
"cacheTTLUnit": {
"message": "(in minutes)",
"description": "Unit for the cache TTL."
},
"cacheTTLPlaceholder": {
"message": "Write Cache TTL in minutes (Default 10 minutes)",
"description": "Placeholder for the cache TTL input."
},
"refreshDataButton": {
"message": "Refresh Data (bypass cache)",
"description": "Text for the button to refresh data, ignoring the cache."
},
"refreshDataInfo": {
"message": "Use this button to fetch fresh data immediately.",
"description": "Informational text below the refresh button."
},
"noteTitle": {
"message": "Note:",
"description": "Title for the notes section."
},
"viewCodeButton": {
"message": "View Code",
"description": "Text for the button to view the source code on GitHub."
},
"reportIssueButton": {
"message": "Report Issue",
"description": "Text for the button to report an issue on GitHub."
},
"madeWithLoveBy": {
"message": "Made with ❤️ by",
"description": "Footer credit text."
},
"generatingButton": {
"message": "Generating...",
"description": "Text shown on the generate button when the report is being created."
},
"copiedButton": {
"message": "Copied!",
"description": "Text shown on the copy button after a successful copy."
},
"orgChangedMessage": {
"message": "Organization changed. Click Generate button to fetch the GitHub activities.",
"description": "Message shown in the report area after the organization is changed."
},
"cacheClearedMessage": {
"message": "Cache cleared successfully. Click \"Generate Report\" to fetch fresh data.",
"description": "Message shown in the report area after the cache is cleared."
},
"cacheClearedButton": {
"message": "Cache Cleared!",
"description": "Text on the refresh button after the cache is cleared."
},
"extensionDisabledMessage": {
"message": "Extension is disabled. Enable it from the options to generate scrum reports.",
"description": "Message shown when the extension is disabled."
}
}
43 changes: 43 additions & 0 deletions src/_locales/es/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"appName": { "message": "Ayudante de Scrum" },
"appDescription": { "message": "Informe su progreso de desarrollo obteniendo automáticamente su actividad de Git para un período seleccionado" },
"disableLabel": { "message": "Desactivar" },
"enableLabel": { "message": "Activar" },
"homeButtonTitle": { "message": "Ir al Informe" },
"projectNameLabel": { "message": "Nombre de su Proyecto" },
"projectNamePlaceholder": { "message": "Ingrese el nombre de su proyecto" },
"githubUsernameLabel": { "message": "Su Nombre de Usuario de Github" },
"githubUsernamePlaceholder": { "message": "Requerido para obtener sus contribuciones" },
"contributionsLabel": { "message": "Obtener sus contribuciones entre:" },
"last7DaysLabel": { "message": "Últimos 7 días" },
"last1DayLabel": { "message": "Último día" },
"startDateLabel": { "message": "Fecha de Inicio:" },
"endDateLabel": { "message": "Fecha de Fin:" },
"showOpenClosedLabel": { "message": "Mostrar Etiqueta Abierto/Cerrado" },
"blockersLabel": { "message": "¿Qué le impide progresar?" },
"blockersPlaceholder": { "message": "Ingrese su motivo" },
"scrumReportLabel": { "message": "Informe de Scrum" },
"generateReportButton": { "message": "Generar Informe" },
"copyReportButton": { "message": "Copiar Informe" },
"settingsOrgNameLabel": { "message": "Nombre de la Organización" },
"settingsOrgNamePlaceholder": { "message": "Ingrese el nombre de la organización" },
"setButton": { "message": "Establecer" },
"githubTokenLabel": { "message": "Su Token de Github" },
"githubTokenPlaceholder": { "message": "Requerido para realizar solicitudes autenticadas" },
"showCommitsLabel": { "message": "Mostrar commits realizados dentro del rango de fechas en PRs abiertos" },
"cacheTTLLabel": { "message": "Ingresar TTL de caché" },
"cacheTTLUnit": { "message": "(en minutos)" },
"cacheTTLPlaceholder": { "message": "Escriba el TTL de caché en minutos (Predeterminado 10 minutos)" },
"refreshDataButton": { "message": "Actualizar Datos (omitir caché)" },
"refreshDataInfo": { "message": "Use este botón para obtener datos nuevos inmediatamente." },
"noteTitle": { "message": "Nota:" },
"viewCodeButton": { "message": "Ver Código" },
"reportIssueButton": { "message": "Reportar Problema" },
"madeWithLoveBy": { "message": "Hecho con ❤️ por" },
"generatingButton": { "message": "Generando..." },
"copiedButton": { "message": "¡Copiado!" },
"orgChangedMessage": { "message": "Organización cambiada. Haga clic en el botón Generar para obtener las actividades de GitHub." },
"cacheClearedMessage": { "message": "Caché borrado con éxito. Haga clic en \"Generar Informe\" para obtener datos nuevos." },
"cacheClearedButton": { "message": "¡Caché Borrado!" },
"extensionDisabledMessage": { "message": "La extensión está desactivada. Actívela desde las opciones para generar informes de scrum." }
}
43 changes: 43 additions & 0 deletions src/_locales/fr/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"appName": { "message": "Assistant Scrum" },
"appDescription": { "message": "Rapportez votre progression de développement en récupérant automatiquement votre activité Git pour une période sélectionnée" },
"disableLabel": { "message": "Désactiver" },
"enableLabel": { "message": "Activer" },
"homeButtonTitle": { "message": "Aller au Rapport" },
"projectNameLabel": { "message": "Nom de votre Projet" },
"projectNamePlaceholder": { "message": "Entrez le nom de votre projet" },
"githubUsernameLabel": { "message": "Votre Nom d'utilisateur Github" },
"githubUsernamePlaceholder": { "message": "Requis pour récupérer vos contributions" },
"contributionsLabel": { "message": "Récupérer vos contributions entre :" },
"last7DaysLabel": { "message": "7 derniers jours" },
"last1DayLabel": { "message": "Dernier jour" },
"startDateLabel": { "message": "Date de début :" },
"endDateLabel": { "message": "Date de fin :" },
"showOpenClosedLabel": { "message": "Afficher l'étiquette Ouvert/Fermé" },
"blockersLabel": { "message": "Qu'est-ce qui vous empêche de progresser ?" },
"blockersPlaceholder": { "message": "Entrez votre raison" },
"scrumReportLabel": { "message": "Rapport Scrum" },
"generateReportButton": { "message": "Générer le Rapport" },
"copyReportButton": { "message": "Copier le Rapport" },
"settingsOrgNameLabel": { "message": "Nom de l'Organisation" },
"settingsOrgNamePlaceholder": { "message": "Entrez le nom de l'organisation" },
"setButton": { "message": "Définir" },
"githubTokenLabel": { "message": "Votre Jeton Github" },
"githubTokenPlaceholder": { "message": "Requis pour effectuer des requêtes authentifiées" },
"showCommitsLabel": { "message": "Afficher les commits effectués dans la plage de dates dans les PR ouverts" },
"cacheTTLLabel": { "message": "Entrer le TTL du cache" },
"cacheTTLUnit": { "message": "(en minutes)" },
"cacheTTLPlaceholder": { "message": "Écrivez le TTL du cache en minutes (Par défaut 10 minutes)" },
"refreshDataButton": { "message": "Actualiser les Données (ignorer le cache)" },
"refreshDataInfo": { "message": "Utilisez ce bouton pour récupérer des données fraîches immédiatement." },
"noteTitle": { "message": "Note :" },
"viewCodeButton": { "message": "Voir le Code" },
"reportIssueButton": { "message": "Signaler un Problème" },
"madeWithLoveBy": { "message": "Fait avec ❤️ par" },
"generatingButton": { "message": "Génération..." },
"copiedButton": { "message": "Copié !" },
"orgChangedMessage": { "message": "Organisation modifiée. Cliquez sur le bouton Générer pour récupérer les activités GitHub." },
"cacheClearedMessage": { "message": "Cache vidé avec succès. Cliquez sur \"Générer le Rapport\" pour récupérer des données fraîches." },
"cacheClearedButton": { "message": "Cache Vidé !" },
"extensionDisabledMessage": { "message": "L'extension est désactivée. Activez-la dans les options pour générer des rapports scrum." }
}
43 changes: 43 additions & 0 deletions src/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"appName": { "message": "Scrum 助手" },
"appDescription": { "message": "通过自动获取选定时间段内的 Git 活动来报告您的开发进度" },
"disableLabel": { "message": "禁用" },
"enableLabel": { "message": "启用" },
"homeButtonTitle": { "message": "转到报告" },
"projectNameLabel": { "message": "您的项目名称" },
"projectNamePlaceholder": { "message": "输入您的项目名称" },
"githubUsernameLabel": { "message": "您的 Github 用户名" },
"githubUsernamePlaceholder": { "message": "获取您的贡献所必需" },
"contributionsLabel": { "message": "获取您在此期间的贡献:" },
"last7DaysLabel": { "message": "过去 7 天" },
"last1DayLabel": { "message": "昨天" },
"startDateLabel": { "message": "开始日期:" },
"endDateLabel": { "message": "结束日期:" },
"showOpenClosedLabel": { "message": "显示打开/关闭标签" },
"blockersLabel": { "message": "什么阻碍了您的进展?" },
"blockersPlaceholder": { "message": "输入您的原因" },
"scrumReportLabel": { "message": "Scrum 报告" },
"generateReportButton": { "message": "生成报告" },
"copyReportButton": { "message": "复制报告" },
"settingsOrgNameLabel": { "message": "组织名称" },
"settingsOrgNamePlaceholder": { "message": "输入组织名称" },
"setButton": { "message": "设置" },
"githubTokenLabel": { "message": "您的 Github 令牌" },
"githubTokenPlaceholder": { "message": "进行身份验证请求所必需" },
"showCommitsLabel": { "message": "在打开的 PR 中显示日期范围内的提交" },
"cacheTTLLabel": { "message": "输入缓存 TTL" },
"cacheTTLUnit": { "message": "(分钟)" },
"cacheTTLPlaceholder": { "message": "以分钟为单位写入缓存 TTL(默认为 10 分钟)" },
"refreshDataButton": { "message": "刷新数据(绕过缓存)" },
"refreshDataInfo": { "message": "使用此按钮立即获取新数据。" },
"noteTitle": { "message": "注意:" },
"viewCodeButton": { "message": "查看代码" },
"reportIssueButton": { "message": "报告问题" },
"madeWithLoveBy": { "message": "由 ❤️ 制作" },
"generatingButton": { "message": "正在生成..." },
"copiedButton": { "message": "已复制!" },
"orgChangedMessage": { "message": "组织已更改。单击“生成”按钮以获取 GitHub 活动。" },
"cacheClearedMessage": { "message": "缓存已成功清除。单击“生成报告”以获取新数据。" },
"cacheClearedButton": { "message": "缓存已清除!" },
"extensionDisabledMessage": { "message": "扩展已禁用。请在选项中启用它以生成 scrum 报告。" }
}
4 changes: 3 additions & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"96": "icons/icon.png",
"48": "icons/icon.png"
},

"background": {
"service_worker": "scripts/background.js"
},
Expand Down Expand Up @@ -51,5 +52,6 @@
"*://*.office.com/*",
"*://*.yahoo.com/*",
"https://api.github.com/*"
]
],
"default_locale": "en"
}
Loading