Skip to content

Commit

Permalink
Support multiple locale
Browse files Browse the repository at this point in the history
  • Loading branch information
chabose committed Sep 15, 2022
1 parent 5575b71 commit bc52a20
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
10 changes: 10 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"appName": {
"message": "needlles",
"description": ""
},
"appDesc": {
"message": "clock for two",
"description": ""
}
}
8 changes: 8 additions & 0 deletions _locales/ja/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"appName": {
"message": "needlles"
},
"appDesc": {
"message": "clock for two"
}
}
15 changes: 8 additions & 7 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"manifest_version": 2,
"name": "needlles",
"description": "clock for two",
"version": "0.9",
"manifest_version": 3,
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"default_locale": "en",
"version": "0.90",
"chrome_url_overrides": {
"newtab": "blank.html"
},
Expand All @@ -12,7 +13,7 @@
},
"permissions": [
],
"externally_connectable": {
},
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
"content_security_policy":{
"extension_pages": "script-src 'self' ; object-src 'self'"
}
}

0 comments on commit bc52a20

Please sign in to comment.