From 80eb136adfc5dc02852ca0ff6af4fbbfe964a90a Mon Sep 17 00:00:00 2001 From: koudaiii Date: Tue, 10 Sep 2024 01:36:18 +0900 Subject: [PATCH 1/2] add comment about languageLabels --- src/content.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/content.js b/src/content.js index 6c54167..e7df1f8 100644 --- a/src/content.js +++ b/src/content.js @@ -1,7 +1,10 @@ // languageLabels is a dictionary that maps message from language codes to the corresponding language +// Default languageLabels is 'last updated on' +// Add more languageLabels as needed const languageLabels = { 'ja-jp': '英語版の更新日', // Add more language labels as needed + // ex. 'fr-fr': 'Dernière mise à jour le', }; (async () => { From c54b7ddcd62193a64d65e4c055c2cac87e1b9f56 Mon Sep 17 00:00:00 2001 From: koudaiii Date: Tue, 10 Sep 2024 01:39:16 +0900 Subject: [PATCH 2/2] cosmetic --- src/content.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/content.js b/src/content.js index e7df1f8..b321c73 100644 --- a/src/content.js +++ b/src/content.js @@ -3,8 +3,7 @@ // Add more languageLabels as needed const languageLabels = { 'ja-jp': '英語版の更新日', - // Add more language labels as needed - // ex. 'fr-fr': 'Dernière mise à jour le', + // Add more language labels as needed. For example: 'fr-fr': 'Dernière mise à jour le', }; (async () => {