Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix localization issues

Ammar Ahmed431c4eae1405
diff --git a/apps/mobile/app/components/properties/items.js b/apps/mobile/app/components/properties/items.js
index 972021c17..a13782acb 100644
--- a/apps/mobile/app/components/properties/items.js
+++ b/apps/mobile/app/components/properties/items.js
@@ -137,14 +137,13 @@ export const Items = ({ item, buttons, close }) => {
style={{
alignSelf: "flex-start",
paddingHorizontal: 0,
- width: topBarItemWidth
+ flex: 1
}}
>
<View
onPress={item.func}
style={{
height: topBarItemWidth,
- width: topBarItemWidth,
justifyContent: "center",
alignItems: "center",
textAlign: "center",
@@ -169,7 +168,7 @@ export const Items = ({ item, buttons, close }) => {
<Paragraph
textBreakStrategy="simple"
- size={SIZE.xxs + 1}
+ size={SIZE.xxs}
style={{ textAlign: "center" }}
>
{item.title}
@@ -242,7 +241,7 @@ export const Items = ({ item, buttons, close }) => {
showsHorizontalScrollIndicator={false}
contentContainerStyle={{
paddingRight: 25,
- gap: 5
+ gap: 15
}}
>
{topBarItems.map(renderTopBarItem)}
diff --git a/apps/mobile/app/screens/home/index.tsx b/apps/mobile/app/screens/home/index.tsx
index 8511b8763..3d219eaf0 100755
--- a/apps/mobile/app/screens/home/index.tsx
+++ b/apps/mobile/app/screens/home/index.tsx
@@ -78,7 +78,7 @@ export const Home = ({ navigation, route }: NavigationProps<"Notes">) => {
placeholder={{
title: route.name?.toLowerCase(),
paragraph: strings.notesEmpty(),
- button: strings.newNote(),
+ button: strings.createNewNote(),
action: openEditor,
loading: strings.loadingNotes()
}}
diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.po
index 37cd24e92..4e35307d1 100644
--- a/packages/intl/locale/en.po
+++ b/packages/intl/locale/en.po
@@ -1503,8 +1503,8 @@ msgid "Copy image"
msgstr "Copy image"
#: src/strings.ts:870
-msgid "Copy internal link"
-msgstr "Copy internal link"
+msgid "Copy link"
+msgstr "Copy link"
#: src/strings.ts:2200
msgid "Copy link text"
diff --git a/packages/intl/locale/pseudo-LOCALE.po b/packages/intl/locale/pseudo-LOCALE.po
index 44274a682..ba262a126 100644
--- a/packages/intl/locale/pseudo-LOCALE.po
+++ b/packages/intl/locale/pseudo-LOCALE.po
@@ -1496,7 +1496,7 @@ msgid "Copy image"
msgstr ""
#: src/strings.ts:870
-msgid "Copy internal link"
+msgid "Copy link"
msgstr ""
#: src/strings.ts:2200
diff --git a/packages/intl/src/strings.ts b/packages/intl/src/strings.ts
index 9123f329e..90d97407a 100644
--- a/packages/intl/src/strings.ts
+++ b/packages/intl/src/strings.ts
@@ -867,7 +867,7 @@ $headline$: Use starting line of the note as title.`,
removeFromNotebook: () => t`Remove from notebook`,
attachments: () => t`Attachments`,
history: () => t`History`,
- copyLink: () => t`Copy internal link`,
+ copyLink: () => t`Copy link`,
linkCopied: () => t`Link copied`,
readOnly: () => t`Read only`,
syncOff: () => t`Sync off`,