Skip to content

Commit 0eb5369

Browse files
committed
improve comments
1 parent 3021e64 commit 0eb5369

File tree

28 files changed

+150
-105
lines changed

28 files changed

+150
-105
lines changed

apps/expo/scripts/build-android.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ export $(xargs < ../../.env)
99
export GOOGLE_SERVICES_JSON=$(get_abs_filename google-services.json)
1010
SHORT_SHA=$(git rev-parse --short HEAD)
1111
eas build --platform android --profile production --non-interactive --local --output="./$SHORT_SHA.aab" --wait
12-
[ -f "$SHORT_SHA.aab" ] && eas submit --platform android --path="./$SHORT_SHA.aab" --non-interactive --wait
12+
[ -f "$SHORT_SHA.aab" ] && eas submit --platform android --path="./$SHORT_SHA.aab" --non-interactive
13+
[ -f "$SHORT_SHA.aab" ] && bundletool build-apks --bundle=$SHORT_SHA.aab --output=$SHORT_SHA.apks --mode=universal --ks=github-keystore.jks --ks-key-alias=github
14+
[ -f "$SHORT_SHA.apks" ] && mv $SHORT_SHA.apks $SHORT_SHA.zip && unzip $SHORT_SHA.zip "universal.apk" && mv universal.apk $SHORT_SHA.apk && rm $SHORT_SHA.zip

apps/expo/src/app/(tabs)/(feeds,search,notifications,self)/feeds/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const FeedsPageUnmemoized = ({ editing }: Props) => {
112112
msg({
113113
id: "following.feed",
114114
message: "Following",
115-
comment: "The name of the main feed.",
115+
comment: "'Following' - The name of the main feed",
116116
}),
117117
)}
118118
subtitle={_(msg`Posts from people you follow`)}

apps/expo/src/app/(tabs)/(feeds,search,notifications,self)/search/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,10 @@ const SuggestionCard = ({ item }: SuggestionCardProps) => {
443443
{follow.isIdle ? (
444444
<Trans>Follow</Trans>
445445
) : (
446-
<Trans id="following.action" comment="Following a user">
446+
<Trans
447+
id="following.action"
448+
comment="'Following' - following a user"
449+
>
447450
Following
448451
</Trans>
449452
)}

apps/expo/src/app/settings/feed.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default function FeedPreferences() {
5656
msg({
5757
id: "following.feed",
5858
message: "Following",
59-
comment: "The name of the main feed.",
59+
comment: "'Following' - The name of the main feed",
6060
}),
6161
);
6262

apps/expo/src/components/feeds-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ const SheetContent = ({
248248
msg({
249249
id: "following.feed",
250250
message: "Following",
251-
comment: "The name of the main feed.",
251+
comment: "'Following' - The name of the main feed",
252252
}),
253253
)}
254254
subtitle={_(msg`Posts from people you follow`)}

apps/expo/src/components/lists/follows-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const FollowsList = forwardRef<FollowsListRef>((__, ref) => {
5555
msg({
5656
id: "following.list",
5757
message: "Following",
58-
comment: "List of follows",
58+
comment: "'Following' - List of follows",
5959
}),
6060
)}
6161
ref={listRef}

apps/expo/src/components/lists/person-row.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const PersonRowUnmemoized = ({
4646
msg({
4747
id: "following.action",
4848
message: "Following",
49-
comment: "Following a user",
49+
comment: "'Following' - following a user",
5050
}),
5151
);
5252
} else if (followedBy) {

apps/expo/src/components/screens/profile/profile-info.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export const ProfileInfo = ({ profile, backButton }: Props) => {
391391
<Text className="ml-2 font-medium text-neutral-600 dark:text-neutral-300">
392392
<Trans
393393
id="following.action"
394-
comment="Following a user"
394+
comment="'Following' - following a user"
395395
>
396396
Following
397397
</Trans>

apps/expo/src/i18n/locales/be/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/expo/src/i18n/locales/be/messages.po

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,12 @@ msgid "{months} months ago"
6767
msgstr "{months} месяцаў таму"
6868

6969
#: src/lib/utils/time.ts:26
70-
msgid "{months}m"
71-
msgstr "{months} м."
70+
#~ msgid "{months}m"
71+
#~ msgstr "{months} м."
72+
73+
#: src/lib/utils/time.ts:26
74+
msgid "{months}M"
75+
msgstr ""
7276

7377
#: src/components/feed-row.tsx:99
7478
msgid "{name} feed"
@@ -917,27 +921,27 @@ msgstr "Вы падпісаліся"
917921
msgid "Followers"
918922
msgstr "Падпісчыкі"
919923

920-
#. The name of the main feed.
921-
#. The name of the main feed.
922-
#. The name of the main feed.
924+
#. 'Following' - The name of the main feed
925+
#. 'Following' - The name of the main feed
926+
#. 'Following' - The name of the main feed
923927
#. js-lingui-explicit-id
924928
#: src/app/(tabs)/(feeds,search,notifications,self)/feeds/index.tsx:112
925929
#: src/app/settings/feed.tsx:56
926930
#: src/components/feeds-button.tsx:248
927931
msgid "following.feed"
928932
msgstr ""
929933

930-
#. Following a user
931-
#. Following a user
932-
#. Following a user
934+
#. 'Following' - following a user
935+
#. 'Following' - following a user
936+
#. 'Following' - following a user
933937
#. js-lingui-explicit-id
934938
#: src/app/(tabs)/(feeds,search,notifications,self)/search/index.tsx:446
935939
#: src/components/lists/person-row.tsx:46
936940
#: src/components/screens/profile/profile-info.tsx:392
937941
msgid "following.action"
938942
msgstr ""
939943

940-
#. List of follows
944+
#. 'Following' - List of follows
941945
#. js-lingui-explicit-id
942946
#: src/components/lists/follows-list.tsx:55
943947
msgid "following.list"

0 commit comments

Comments
 (0)