diff --git a/script/crowdin/common.ts b/script/crowdin/common.ts index cb6614a9..004a475c 100644 --- a/script/crowdin/common.ts +++ b/script/crowdin/common.ts @@ -11,7 +11,7 @@ export const SOURCE_LOCALE: timer.SourceLocale = 'en' export const ALL_TRANS_LOCALES: timer.Locale[] = [ 'ja', 'zh_TW', - 'pt', + 'pt_PT', ] const CROWDIN_I18N_MAP: Record = { @@ -19,7 +19,7 @@ const CROWDIN_I18N_MAP: Record = { ja: 'ja', 'zh-CN': 'zh_CN', 'zh-TW': 'zh_TW', - 'pt-PT': 'pt', + 'pt-PT': 'pt_PT', } const I18N_CROWDIN_MAP: Record = { @@ -27,7 +27,7 @@ const I18N_CROWDIN_MAP: Record = { ja: 'ja', zh_CN: 'zh-CN', zh_TW: 'zh-TW', - pt: 'pt-PT' + pt_PT: 'pt-PT' } export const crowdinLangOf = (locale: timer.Locale) => I18N_CROWDIN_MAP[locale] diff --git a/src/app/components/help-us/progress-list.ts b/src/app/components/help-us/progress-list.ts index beb02d68..e1a53e2f 100644 --- a/src/app/components/help-us/progress-list.ts +++ b/src/app/components/help-us/progress-list.ts @@ -22,7 +22,7 @@ const localeCrowdMap: { [locale in SupportedLocale]: string } = { es: "es-ES", ko: "ko", pl: "pl", - pt: "pt-PT", + pt_PT: "pt-PT", ru: "ru", uk: "uk", fr: "fr", diff --git a/src/app/components/report/table/columns/operation.ts b/src/app/components/report/table/columns/operation.ts index 4f396f2f..758b4f01 100644 --- a/src/app/components/report/table/columns/operation.ts +++ b/src/app/components/report/table/columns/operation.ts @@ -48,7 +48,7 @@ const LOCALE_WIDTH: { [locale in timer.Locale]: number } = { zh_CN: 290, ja: 360, zh_TW: 290, - pt: 400, + pt_PT: 340, } const _default = defineComponent({ name: "OperationColumn", diff --git a/src/app/index.ts b/src/app/index.ts index e53ef4e7..e344738e 100644 --- a/src/app/index.ts +++ b/src/app/index.ts @@ -25,7 +25,7 @@ const locales: { [locale in timer.Locale]: () => Promise<{ default: Language }> zh_TW: () => import('element-plus/lib/locale/lang/zh-tw'), en: () => import('element-plus/lib/locale/lang/en'), ja: () => import('element-plus/lib/locale/lang/ja'), - pt: () => import('element-plus/lib/locale/lang/pt'), + pt_PT: () => import('element-plus/lib/locale/lang/pt'), } async function main() { diff --git a/src/guide/index.ts b/src/guide/index.ts index 9b30f67e..0c6fc7c9 100644 --- a/src/guide/index.ts +++ b/src/guide/index.ts @@ -20,7 +20,7 @@ const locales: { [locale in timer.Locale]: () => Promise<{ default: Language }> zh_TW: () => import('element-plus/lib/locale/lang/zh-tw'), en: () => import('element-plus/lib/locale/lang/en'), ja: () => import('element-plus/lib/locale/lang/ja'), - pt: () => import('element-plus/lib/locale/lang/pt'), + pt_PT: () => import('element-plus/lib/locale/lang/pt'), } async function main() { diff --git a/src/i18n/chrome/index.ts b/src/i18n/chrome/index.ts index 8b5edede..a4e9fc22 100644 --- a/src/i18n/chrome/index.ts +++ b/src/i18n/chrome/index.ts @@ -18,7 +18,7 @@ const _default: { [locale in FakedLocale]: any } = { zh_TW: compile(messages.zh_TW), en: compile(messages.en), ja: compile(messages.ja), - pt: compile(messages.pt) + pt_PT: compile(messages.pt_PT) } export default _default \ No newline at end of file diff --git a/src/i18n/chrome/message.ts b/src/i18n/chrome/message.ts index a3567a5d..7fde8076 100644 --- a/src/i18n/chrome/message.ts +++ b/src/i18n/chrome/message.ts @@ -42,11 +42,11 @@ const messages: Messages = { contextMenus: contextMenusMessages.ja, initial: initialMessages.ja, }, - pt: { - meta: metaMessages.pt, - base: baseMessages.pt, - contextMenus: contextMenusMessages.pt, - initial: initialMessages.pt, + pt_PT: { + meta: metaMessages.pt_PT, + base: baseMessages.pt_PT, + contextMenus: contextMenusMessages.pt_PT, + initial: initialMessages.pt_PT, } } diff --git a/src/i18n/index.ts b/src/i18n/index.ts index fa829c83..846492bb 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -16,7 +16,7 @@ export type FakedLocale = timer.Locale */ const FEEDBACK_LOCALE: timer.Locale = "en" -export const ALL_LOCALES: timer.Locale[] = ['en', 'zh_CN', 'zh_TW', 'ja', 'pt'] +export const ALL_LOCALES: timer.Locale[] = ['en', 'zh_CN', 'zh_TW', 'ja', 'pt_PT'] export const defaultLocale: timer.Locale = "zh_CN" @@ -28,8 +28,9 @@ const chrome2I18n: { [key: string]: timer.Locale } = { 'en-US': "en", 'en-GB': "en", 'ja': "ja", - 'pt-PT': 'pt', - 'pt-BR': 'pt', + 'pt': 'pt_PT', + 'pt-PT': 'pt_PT', + 'pt-BR': 'pt_PT', } const translationChrome2I18n: { [key: string]: timer.TranslatingLocale } = { diff --git a/src/i18n/message/app/analysis-resource.json b/src/i18n/message/app/analysis-resource.json index 0a1edb53..47680d24 100644 --- a/src/i18n/message/app/analysis-resource.json +++ b/src/i18n/message/app/analysis-resource.json @@ -107,7 +107,7 @@ "visitTitle": "訪問数の傾向" } }, - "pt": { + "pt_PT": { "common": { "focusTotal": "Tempo total de navegação", "visitTotal": "Total de visitas", diff --git a/src/i18n/message/app/confirm-resource.json b/src/i18n/message/app/confirm-resource.json index 87477087..ecd88c5b 100644 --- a/src/i18n/message/app/confirm-resource.json +++ b/src/i18n/message/app/confirm-resource.json @@ -15,7 +15,7 @@ "confirmMsg": "OK", "cancelMsg": "キャンセル" }, - "pt": { + "pt_PT": { "confirmMsg": "OK", "cancelMsg": "Não!" } diff --git a/src/i18n/message/app/dashboard-resource.json b/src/i18n/message/app/dashboard-resource.json index 034d203e..12c6539e 100644 --- a/src/i18n/message/app/dashboard-resource.json +++ b/src/i18n/message/app/dashboard-resource.json @@ -103,7 +103,7 @@ "decline": "減らす" } }, - "pt": { + "pt_PT": { "heatMap": { "title0": "Navegou mais de {hour} horas no último ano", "title1": "Navegue por menos de 1 hora no ano passado", diff --git a/src/i18n/message/app/data-manage-resource.json b/src/i18n/message/app/data-manage-resource.json index f568cd87..0de06be0 100644 --- a/src/i18n/message/app/data-manage-resource.json +++ b/src/i18n/message/app/data-manage-resource.json @@ -87,7 +87,7 @@ "importError": "ファイル形式エラー", "migrated": "正常にインポートされました" }, - "pt": { + "pt_PT": { "totalMemoryAlert": "O navegador fornece {size}MB para armazenar dados locais para cada extensão", "totalMemoryAlert1": "Não é possível determinar a memória máxima disponível permitida pelo navegador", "usedMemoryAlert": "{size}MB está atualmente em uso", diff --git a/src/i18n/message/app/habit-resource.json b/src/i18n/message/app/habit-resource.json index 8a817006..371c723a 100644 --- a/src/i18n/message/app/habit-resource.json +++ b/src/i18n/message/app/habit-resource.json @@ -67,7 +67,7 @@ "yAxisHour": "閲覧時間/時間" } }, - "pt": { + "pt_PT": { "sizes": { "fifteen": "Por 15 minutos", "halfHour": "Por meia hora", diff --git a/src/i18n/message/app/index.ts b/src/i18n/message/app/index.ts index 26be11be..086113dc 100644 --- a/src/i18n/message/app/index.ts +++ b/src/i18n/message/app/index.ts @@ -138,27 +138,27 @@ const _default: Messages = { helpUs: helpUsMessages.ja, button: buttonMessages.ja, }, - pt: { - dataManage: dataManageMessages.pt, - item: itemMessages.pt, - mergeCommon: mergeCommonMessages.pt, - report: reportMessages.pt, - whitelist: whitelistMessages.pt, - mergeRule: mergeRuleMessages.pt, - option: optionMessages.pt, - analysis: analysisMessages.pt, - menu: menuMessages.pt, - habit: habitMessages.pt, - limit: limitMessages.pt, - siteManage: siteManageManages.pt, - operation: operationMessages.pt, - confirm: confirmMessages.pt, - dashboard: dashboardMessages.pt, - calendar: calendarMessages.pt, - timeFormat: timeFormatMessages.pt, - duration: popupDurationMessages.pt, - helpUs: helpUsMessages.pt, - button: buttonMessages.pt, + pt_PT: { + dataManage: dataManageMessages.pt_PT, + item: itemMessages.pt_PT, + mergeCommon: mergeCommonMessages.pt_PT, + report: reportMessages.pt_PT, + whitelist: whitelistMessages.pt_PT, + mergeRule: mergeRuleMessages.pt_PT, + option: optionMessages.pt_PT, + analysis: analysisMessages.pt_PT, + menu: menuMessages.pt_PT, + habit: habitMessages.pt_PT, + limit: limitMessages.pt_PT, + siteManage: siteManageManages.pt_PT, + operation: operationMessages.pt_PT, + confirm: confirmMessages.pt_PT, + dashboard: dashboardMessages.pt_PT, + calendar: calendarMessages.pt_PT, + timeFormat: timeFormatMessages.pt_PT, + duration: popupDurationMessages.pt_PT, + helpUs: helpUsMessages.pt_PT, + button: buttonMessages.pt_PT, }, } diff --git a/src/i18n/message/app/limit-resource.json b/src/i18n/message/app/limit-resource.json index 1904eec3..4af1ed5b 100644 --- a/src/i18n/message/app/limit-resource.json +++ b/src/i18n/message/app/limit-resource.json @@ -123,7 +123,7 @@ }, "urlPlaceholder": "URLを直接貼り付けてください➡️" }, - "pt": { + "pt_PT": { "conditionFilter": "URL", "filterDisabled": "Apenas Habilitadas", "addTitle": "Criar", diff --git a/src/i18n/message/app/menu-resource.json b/src/i18n/message/app/menu-resource.json index 71b21f7f..b27b9bf3 100644 --- a/src/i18n/message/app/menu-resource.json +++ b/src/i18n/message/app/menu-resource.json @@ -79,7 +79,7 @@ "helpUs": "協力する", "userManual": "ユーザーマニュアル" }, - "pt": { + "pt_PT": { "dashboard": "Painel de Controlo", "data": "Os Meus Dados", "dataReport": "Registo", diff --git a/src/i18n/message/app/merge-rule-resource.json b/src/i18n/message/app/merge-rule-resource.json index e977702a..6ba2fa4f 100644 --- a/src/i18n/message/app/merge-rule-resource.json +++ b/src/i18n/message/app/merge-rule-resource.json @@ -59,7 +59,7 @@ "infoAlert4": "記入しない場合は、元のドメイン名が統合されないことを意味します", "infoAlert5": "一致するルールがない場合、デフォルトで {psl} より前のレベルになります" }, - "pt": { + "pt_PT": { "removeConfirmMsg": "{origin} será removido das regras personalizadas de mesclagem.", "originPlaceholder": "Site original", "mergedPlaceholder": "Mesclado", diff --git a/src/i18n/message/app/operation-resource.json b/src/i18n/message/app/operation-resource.json index 8a0726eb..03757ace 100644 --- a/src/i18n/message/app/operation-resource.json +++ b/src/i18n/message/app/operation-resource.json @@ -15,7 +15,7 @@ "confirmTitle": "動作確認", "successMsg": "正常に動作しました!" }, - "pt": { + "pt_PT": { "confirmTitle": "Confirmação de Ação", "successMsg": "Com êxito!" } diff --git a/src/i18n/message/app/option-resource.json b/src/i18n/message/app/option-resource.json index a944f66e..036125a4 100644 --- a/src/i18n/message/app/option-resource.json +++ b/src/i18n/message/app/option-resource.json @@ -335,7 +335,7 @@ "resetSuccess": "デフォルトに正常にリセット", "defaultValue": "デフォルト値:{default}" }, - "pt": { + "pt_PT": { "yes": "Sim", "no": "Não", "resetButton": "Reiniciar", diff --git a/src/i18n/message/app/report-resource.json b/src/i18n/message/app/report-resource.json index 8a533dec..e50886d1 100644 --- a/src/i18n/message/app/report-resource.json +++ b/src/i18n/message/app/report-resource.json @@ -103,7 +103,7 @@ } } }, - "pt": { + "pt_PT": { "mergeDate": "Mesclar Datas", "mergeDomain": "Mesclar URL", "hostPlaceholder": "URL parcial, e depois digite", diff --git a/src/i18n/message/app/site-manage-resource.json b/src/i18n/message/app/site-manage-resource.json index c19f2dc7..becce9eb 100644 --- a/src/i18n/message/app/site-manage-resource.json +++ b/src/i18n/message/app/site-manage-resource.json @@ -190,7 +190,7 @@ } } }, - "pt": { + "pt_PT": { "hostPlaceholder": "URL parcial, e depois digite", "aliasPlaceholder": "Nome parcial, e depois digite", "onlyDetected": "Apenas detetado", diff --git a/src/i18n/message/app/time-format-resource.json b/src/i18n/message/app/time-format-resource.json index 264df129..066590f8 100644 --- a/src/i18n/message/app/time-format-resource.json +++ b/src/i18n/message/app/time-format-resource.json @@ -23,7 +23,7 @@ "minute": "分単位で表示", "second": "秒単位で表示" }, - "pt": { + "pt_PT": { "default": "Formato padrão da hora", "hour": "Exibir em horas", "minute": "Exibir em minutos", diff --git a/src/i18n/message/app/whitelist-resource.json b/src/i18n/message/app/whitelist-resource.json index 3891ffda..e43f3d65 100644 --- a/src/i18n/message/app/whitelist-resource.json +++ b/src/i18n/message/app/whitelist-resource.json @@ -39,7 +39,7 @@ "placeholder": "URL", "errorInput": "無効なURL" }, - "pt": { + "pt_PT": { "addConfirmMsg": "{url} não será mais contado após adicionado à lista ignorada.", "removeConfirmMsg": "{url} será removido da lista ignorada.", "duplicateMsg": "Duplicado", diff --git a/src/i18n/message/common/base-resource.json b/src/i18n/message/common/base-resource.json index 25173898..012a7cdc 100644 --- a/src/i18n/message/common/base-resource.json +++ b/src/i18n/message/common/base-resource.json @@ -19,7 +19,7 @@ "allFunction": "すべての機能", "guidePage": "ユーザーマニュアル" }, - "pt": { + "pt_PT": { "currentVersion": "Versão: {version}", "allFunction": "Todas as Funções", "guidePage": "Manual do Utilizador" diff --git a/src/i18n/message/common/button-resource.json b/src/i18n/message/common/button-resource.json index 0097be62..d8610a90 100644 --- a/src/i18n/message/common/button-resource.json +++ b/src/i18n/message/common/button-resource.json @@ -47,7 +47,7 @@ "okey": "OK", "dont": "いいえ!" }, - "pt": { + "pt_PT": { "create": "Criar", "delete": "Excluir", "modify": "Modificar", diff --git a/src/i18n/message/common/calendar-resource.json b/src/i18n/message/common/calendar-resource.json index caa08900..74df2886 100644 --- a/src/i18n/message/common/calendar-resource.json +++ b/src/i18n/message/common/calendar-resource.json @@ -83,7 +83,7 @@ "last90Days": "過去 90 日間" } }, - "pt": { + "pt_PT": { "weekDays": "Seg|Ter|Qua|Qui|Sex|Sab|Dom", "months": "Jan|Fev|Mar|Abr|Maio|Jun|Jul|Ago|Set|Out|Nov|Dez", "dateFormat": "{d}/{m}/{y}", diff --git a/src/i18n/message/common/content-script-resource.json b/src/i18n/message/common/content-script-resource.json index b941b14c..15fa5fad 100644 --- a/src/i18n/message/common/content-script-resource.json +++ b/src/i18n/message/common/content-script-resource.json @@ -35,7 +35,7 @@ "timeLimitMsg": "【{appName}】によって制限されています", "more5Minutes": "さらに5分間見てください! ! 約束します!" }, - "pt": { + "pt_PT": { "closeAlert": "Você pode desligar as dicas acima na opção do {appName}!", "timeWithHour": "{hour} horas {minute} minutos {second} segundos", "timeWithMinute": "{minute} minuto(s) {second} segundo(s)", diff --git a/src/i18n/message/common/context-menus-resource.json b/src/i18n/message/common/context-menus-resource.json index 0984c414..c3811e7b 100644 --- a/src/i18n/message/common/context-menus-resource.json +++ b/src/i18n/message/common/context-menus-resource.json @@ -27,7 +27,7 @@ "repoPage": "ソースコード", "feedbackPage": "フィードバックの欠如" }, - "pt": { + "pt_PT": { "add2Whitelist": "Ignorar {host}", "removeFromWhitelist": "Habilitar {host}", "optionPage": "Opções", diff --git a/src/i18n/message/common/initial-resource.json b/src/i18n/message/common/initial-resource.json index 7c7d56e4..3481c65b 100644 --- a/src/i18n/message/common/initial-resource.json +++ b/src/i18n/message/common/initial-resource.json @@ -31,7 +31,7 @@ "txt": "TXT" } }, - "pt": { + "pt_PT": { "localFile": { "json": "Arquivos JSON", "pdf": "Arquivos PDF", diff --git a/src/i18n/message/common/item-resource.json b/src/i18n/message/common/item-resource.json index af2fffaa..dbfad7db 100644 --- a/src/i18n/message/common/item-resource.json +++ b/src/i18n/message/common/item-resource.json @@ -71,7 +71,7 @@ "importWholeData": "書き出す" } }, - "pt": { + "pt_PT": { "date": "Data", "host": "URL do Site", "focus": "Tempo de Navegação", diff --git a/src/i18n/message/common/locale-resource.json b/src/i18n/message/common/locale-resource.json index 4d3468e3..10e83ad2 100644 --- a/src/i18n/message/common/locale-resource.json +++ b/src/i18n/message/common/locale-resource.json @@ -15,7 +15,7 @@ "name": "日本語", "comma": "、" }, - "pt": { + "pt_PT": { "name": "Português", "comma": "," }, diff --git a/src/i18n/message/common/merge-resource.json b/src/i18n/message/common/merge-resource.json index 809d5182..be8179da 100644 --- a/src/i18n/message/common/merge-resource.json +++ b/src/i18n/message/common/merge-resource.json @@ -23,7 +23,7 @@ "level": "{level} 次ドメイン" } }, - "pt": { + "pt_PT": { "tagResult": { "blank": "Não Mesclar", "level": "Mantenha o Nível {level}" diff --git a/src/i18n/message/common/meta-resource.json b/src/i18n/message/common/meta-resource.json index 6c783b5f..0ac02eef 100644 --- a/src/i18n/message/common/meta-resource.json +++ b/src/i18n/message/common/meta-resource.json @@ -21,7 +21,7 @@ "description": "To be the BEST webtime tracker.", "slogan": "Insight & Improve" }, - "pt": { + "pt_PT": { "name": "Rastreador de Tempo", "marketName": "Rastreador de Tempo", "description": "Ser o MELHOR rastreador de tempo da web." diff --git a/src/i18n/message/common/popup-duration-resource.json b/src/i18n/message/common/popup-duration-resource.json index 9b3b912b..14116abb 100644 --- a/src/i18n/message/common/popup-duration-resource.json +++ b/src/i18n/message/common/popup-duration-resource.json @@ -23,7 +23,7 @@ "thisMonth": "今月の", "last30Days": "過去 30 日間" }, - "pt": { + "pt_PT": { "today": "Hoje", "thisWeek": "Esta Semana", "thisMonth": "Este Mês", diff --git a/src/i18n/message/guide/app-resource.json b/src/i18n/message/guide/app-resource.json index 99920ae1..cc60bfd6 100644 --- a/src/i18n/message/guide/app-resource.json +++ b/src/i18n/message/guide/app-resource.json @@ -27,7 +27,7 @@ "l2": "アイコン ポップアップ ページのフッターに [{button}] リンクがあり、同じ方法でクリックすることもできます。", "p2": "ポップアップ ページと背景ページは、この拡張機能の主な対話方法であり、それらを開く方法を理解すれば、完全に使用できます。" }, - "pt": { + "pt_PT": { "title": "Digite a página de gestão", "p1": "Com base nos ícones, a extensão fornece uma maneira mais conveniente de ver dados. Mas se quiser experimentar todas as funcionalidades, precisa visitar a página de gestão da extensão, por uma das duas seguintes maneiras.", "l1": "Pode clicar com o botão direito do rato no ícone da extensão e clicar em [{button}] no ementa pop-up.", diff --git a/src/i18n/message/guide/backup-resource.json b/src/i18n/message/guide/backup-resource.json index fe4e598a..c4e8a506 100644 --- a/src/i18n/message/guide/backup-resource.json +++ b/src/i18n/message/guide/backup-resource.json @@ -75,7 +75,7 @@ "tip": "リモート データは毎月のシャードに保存されるため、クエリ期間が長すぎないようにする必要があります。" } }, - "pt": { + "pt_PT": { "title": "Backup dos dados com GitHub Gist", "p1": "Esta extensão permite aos utilizadores fazer backup de dados usando o GitHub Gist{link} através de configurações simples.", "upload": { diff --git a/src/i18n/message/guide/home-resource.json b/src/i18n/message/guide/home-resource.json index 6789c206..c9300c1d 100644 --- a/src/i18n/message/guide/home-resource.json +++ b/src/i18n/message/guide/home-resource.json @@ -19,7 +19,7 @@ "button": "すぐに始めましょう", "download": "{browser} にインストール" }, - "pt": { + "pt_PT": { "desc": "O {appName} pode ajudá-lo a controlar o tempo gasto em sites de navegação e a contagem de visitas, com o que pode perceber e melhorar os seus hábitos na web.", "button": "Comece agora!", "download": "Instalar para {browser}" diff --git a/src/i18n/message/guide/index.ts b/src/i18n/message/guide/index.ts index 7c98e5f3..72463d00 100644 --- a/src/i18n/message/guide/index.ts +++ b/src/i18n/message/guide/index.ts @@ -96,20 +96,20 @@ const _default: Messages = { backup: backupMessages.ja, appMenu: appMenuMessages.ja, }, - pt: { - mergeCommon: mergeCommonMessages.pt, - layout: layoutMessages.pt, - home: homeMessages.pt, - start: startMessages.pt, - privacy: privacyMessages.pt, - meta: metaMessages.pt, - base: baseMessages.pt, - app: appMessages.pt, - merge: mergeMessages.pt, - virtual: virtualMessages.pt, - limit: limitMessages.pt, - backup: backupMessages.pt, - appMenu: appMenuMessages.pt, + pt_PT: { + mergeCommon: mergeCommonMessages.pt_PT, + layout: layoutMessages.pt_PT, + home: homeMessages.pt_PT, + start: startMessages.pt_PT, + privacy: privacyMessages.pt_PT, + meta: metaMessages.pt_PT, + base: baseMessages.pt_PT, + app: appMessages.pt_PT, + merge: mergeMessages.pt_PT, + virtual: virtualMessages.pt_PT, + limit: limitMessages.pt_PT, + backup: backupMessages.pt_PT, + appMenu: appMenuMessages.pt_PT, }, } diff --git a/src/i18n/message/guide/layout-resource.json b/src/i18n/message/guide/layout-resource.json index 341c0dc3..974e389f 100644 --- a/src/i18n/message/guide/layout-resource.json +++ b/src/i18n/message/guide/layout-resource.json @@ -35,7 +35,7 @@ "usage": "高度な使い方" } }, - "pt": { + "pt_PT": { "header": { "sourceCode": "Exibir código-fonte", "email": "Autor do contacto" diff --git a/src/i18n/message/guide/limit-resource.json b/src/i18n/message/guide/limit-resource.json index cc9a39f4..06a1a71c 100644 --- a/src/i18n/message/guide/limit-resource.json +++ b/src/i18n/message/guide/limit-resource.json @@ -43,7 +43,7 @@ "check": "最後に、右上隅の [テスト] ボタンを使用して、ターゲット URL が新しく追加されたルールに一致するかどうかを確認します。" } }, - "pt": { + "pt_PT": { "title": "Limitar tempo de navegação de todos os dias", "p1": "Se deseja limitar o tempo de navegação de certas URL por dia, pode fazê-lo criando uma regra diária de limite de tempo.", "step": { diff --git a/src/i18n/message/guide/merge-resource.json b/src/i18n/message/guide/merge-resource.json index 4fd4ebaa..239b67bd 100644 --- a/src/i18n/message/guide/merge-resource.json +++ b/src/i18n/message/guide/merge-resource.json @@ -127,7 +127,7 @@ "hitCol": "ヒットルール" } }, - "pt": { + "pt_PT": { "title": "Resumir dados de sites relacionados", "p1": "Esta extensão é contada pelo nome de domínio, por exemplo, {demo1} e {demo2} serão contados como 2 registos. Se quer ver os dados agregados para ambos os sites, precisará usar o recurso de mesclagem.", "p2": "Na maioria das páginas de exibição de dados, são suportadas consultas mescladas. E os utilizadores podem personalizar as regras de mesclagem na página de segundo plano{link}.", diff --git a/src/i18n/message/guide/privacy-resource.json b/src/i18n/message/guide/privacy-resource.json index 306762d1..4526d6ad 100644 --- a/src/i18n/message/guide/privacy-resource.json +++ b/src/i18n/message/guide/privacy-resource.json @@ -135,7 +135,7 @@ "p3": "私たちはあなたがデータを収集するのを手伝うだけですが、処分する権利はあなたのものでなければなりません." } }, - "pt": { + "pt_PT": { "title": "Declaração de privacidade", "alert": "Para fornecer serviços completos, esta extensão irá necessariamente coletar alguns dos seus dados pessoais durante o uso, consulte a seguinte declaração de privacidade para obter detalhes.", "scope": { diff --git a/src/i18n/message/guide/start-resource.json b/src/i18n/message/guide/start-resource.json index 946c1535..ea4eb771 100644 --- a/src/i18n/message/guide/start-resource.json +++ b/src/i18n/message/guide/start-resource.json @@ -43,7 +43,7 @@ "s3p1": "最後にアイコンをクリックしてポップアップページを開くと、今日、今週、今月のデータを円グラフで可視化して読むことができます。", "alert": "基本的な使い方を学んだので、試してみてください!!" }, - "pt": { + "pt_PT": { "title": "Iniciar", "p1": "Pode começar rapidamente a usar essa extensão em apenas 3 etapas fáceis.", "s1": "1. Fixar o ícone", diff --git a/src/i18n/message/guide/virtual-resource.json b/src/i18n/message/guide/virtual-resource.json index 7cb72c62..c038be51 100644 --- a/src/i18n/message/guide/virtual-resource.json +++ b/src/i18n/message/guide/virtual-resource.json @@ -43,7 +43,7 @@ "browse": "最後に、関連する URL を参照してデータを観察します。" } }, - "pt": { + "pt_PT": { "title": "Contar dados para URL específicos", "p1": "Se deseja contar o tempo de navegação e o número de visitas de certas URL, não apenas o nome de domínio, pode fazê-lo criando um site virtual.", "step": { diff --git a/src/i18n/message/popup/chart-resource.json b/src/i18n/message/popup/chart-resource.json index 7cd1b3f5..eafa8ec8 100644 --- a/src/i18n/message/popup/chart-resource.json +++ b/src/i18n/message/popup/chart-resource.json @@ -83,7 +83,7 @@ "updateVersionInfo": "最新バージョン:{version}", "updateVersionInfo4Firefox": "管理ページで {version} にアップグレードしてください" }, - "pt": { + "pt_PT": { "mergeHostLabel": "Mesclar Sítios Web", "fileName": "Lista_de_Horários_da_Web_{today}_por_{app}", "saveAsImageTitle": "Capturas", diff --git a/src/i18n/message/popup/index.ts b/src/i18n/message/popup/index.ts index b2d94b05..aff4391e 100644 --- a/src/i18n/message/popup/index.ts +++ b/src/i18n/message/popup/index.ts @@ -48,12 +48,12 @@ const _default: Messages = { meta: metaMessages.ja, base: baseMessages.ja, }, - pt: { - chart: chartMessages.pt, - duration: popupDurationMessages.pt, - item: itemMessages.pt, - meta: metaMessages.pt, - base: baseMessages.pt, + pt_PT: { + chart: chartMessages.pt_PT, + duration: popupDurationMessages.pt_PT, + item: itemMessages.pt_PT, + meta: metaMessages.pt_PT, + base: baseMessages.pt_PT, }, } diff --git a/src/util/constant/url.ts b/src/util/constant/url.ts index 188981a0..5b801706 100644 --- a/src/util/constant/url.ts +++ b/src/util/constant/url.ts @@ -67,7 +67,7 @@ export const UNINSTALL_QUESTIONNAIRE: { [locale in timer.Locale]: string } = { zh_TW: 'https://docs.google.com/forms/d/e/1FAIpQLSdK93q-548dK-2naoS3DaArdc7tEGoUY9JQvaXP5Kpov8h6-A/viewform?usp=sf_link', ja: 'https://docs.google.com/forms/d/e/1FAIpQLSdsB3onZuleNf6j7KJJLbcote647WV6yeUr-9m7Db5QXakfpg/viewform?usp=sf_link', en: 'https://docs.google.com/forms/d/e/1FAIpQLSflhZAFTw1rTUjAEwgxqCaBuhLBBthwEK9fIjvmwWfITLSK9A/viewform?usp=sf_link', - pt: 'https://docs.google.com/forms/d/e/1FAIpQLSflhZAFTw1rTUjAEwgxqCaBuhLBBthwEK9fIjvmwWfITLSK9A/viewform?usp=sf_link', + pt_PT: 'https://docs.google.com/forms/d/e/1FAIpQLSflhZAFTw1rTUjAEwgxqCaBuhLBBthwEK9fIjvmwWfITLSK9A/viewform?usp=sf_link', } /** diff --git a/types/timer/index.d.ts b/types/timer/index.d.ts index c9974ba2..63caea4c 100644 --- a/types/timer/index.d.ts +++ b/types/timer/index.d.ts @@ -16,7 +16,7 @@ declare namespace timer { // @since 0.9.0 | 'zh_TW' // @since 1.8.2 - | 'pt' + | 'pt_PT' /** * @since 0.8.0 */