Skip to content

Commit 3f69c2f

Browse files
committed
feat: add more strings for i18n
1 parent 76220f2 commit 3f69c2f

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

src/lang/pt-br.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,18 @@
419419
"terminal:font family": "Família da Fonte",
420420
"terminal:convert eol": "Converter EOL",
421421
"terminal": "Terminal",
422+
<<<<<<< Updated upstream
422423
"allFileAccess": "Acesso total aos arquivos",
423424
"fonts": "Fontes",
424425
"sponsor": "Patrocinador"
426+
=======
427+
"allFileAccess": "All file access",
428+
"fonts": "Fonts",
429+
"sponsor": "Patrocinador",
430+
"downloads": "downloads",
431+
"reviews": "reviews",
432+
"overview": "Overview",
433+
"contributors": "Contributors",
434+
"quicktools:hyphen": "Insert hyphen symbol"
435+
>>>>>>> Stashed changes
425436
}

src/pages/plugin/plugin.view.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default (props) => {
137137
: downloads,
138138
)}
139139
</span>
140-
<span>downloads</span>
140+
<span>{strings.downloads}</span>
141141
</div>
142142
<div className="metric">
143143
<i className="icon favorite"></i>
@@ -153,7 +153,7 @@ export default (props) => {
153153
>
154154
<i className="icon chat_bubble"></i>
155155
<span className="metric-value">{commentCount}</span>
156-
<span>reviews</span>
156+
<span>{strings.reviews}</span>
157157
</div>
158158
</div>
159159
: null}
@@ -173,13 +173,13 @@ export default (props) => {
173173
<TabView id="plugin-tab" disableSwipe={true}>
174174
<div className="options" onclick={handleTabClick}>
175175
<span className="tab active" data-tab="overview" tabindex="0">
176-
Overview
176+
{strings.overview}
177177
</span>
178178
<span className="tab" data-tab="contributors" tabindex="0">
179-
Contributors
179+
{strings.contributors}
180180
</span>
181181
<span className="tab" data-tab="changelog" tabindex="0">
182-
Changelog
182+
{strings.changelog}
183183
</span>
184184
</div>
185185
<div className="tab-content">

0 commit comments

Comments
 (0)