Skip to content

Commit

Permalink
use localized strings for missing about page items
Browse files Browse the repository at this point in the history
  • Loading branch information
kee23 committed Apr 29, 2020
1 parent a20a107 commit 1964d89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions screens/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class Home extends React.Component {
style={{ color: "#009bff" }}
onPress={() => Linking.openURL("https://www.banidb.com/")}
>
BaniDB
{Strings.baniDB}
</Text>{" "}
{Strings.about_5}
{"\n"}
Expand All @@ -130,7 +130,7 @@ class Home extends React.Component {
<Text
style={[styles.small, this.props.nightMode && styles.nightMode]}
>
&copy; {new Date().getFullYear()} Khalis Foundation
&copy; {new Date().getFullYear()} {Strings.khalis_foundation}
</Text>
</View>
<Text
Expand Down
3 changes: 2 additions & 1 deletion utils/localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ let Strings = new LocalizedStrings({
app_version: "App Version",
auto_scroll: "Auto Scroll",
bani_length: "Bani Length",
baniDB: "BaniDB",
bani_options: "Bani Options",
banidb_living_default: "BaniDB Living (default)",
bookmarks: "Bookmarks",
Expand All @@ -29,7 +30,6 @@ let Strings = new LocalizedStrings({
display_options: "Display Options",
donate: "Donate",
edit_bani_order: "Edit Bani Order",
edit_bani_order: "Edit Bani Order",
en_translations: "English Translations",
english: "English",
es_translations: "Spanish Translations",
Expand All @@ -49,6 +49,7 @@ let Strings = new LocalizedStrings({
iGurbani: "iGurbani",
ipa: "International Phonetic Alphabet",
keep_awake: "Keep Screen Awake",
khalis_foundation: "Khalis Foundation",
language: "Language",
large: "Large",
larivaar: "Larivaar",
Expand Down

0 comments on commit 1964d89

Please sign in to comment.