Skip to content

Commit

Permalink
improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius committed Feb 22, 2024
1 parent 3021e64 commit 0eb5369
Show file tree
Hide file tree
Showing 28 changed files with 150 additions and 105 deletions.
4 changes: 3 additions & 1 deletion apps/expo/scripts/build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ export $(xargs < ../../.env)
export GOOGLE_SERVICES_JSON=$(get_abs_filename google-services.json)
SHORT_SHA=$(git rev-parse --short HEAD)
eas build --platform android --profile production --non-interactive --local --output="./$SHORT_SHA.aab" --wait
[ -f "$SHORT_SHA.aab" ] && eas submit --platform android --path="./$SHORT_SHA.aab" --non-interactive --wait
[ -f "$SHORT_SHA.aab" ] && eas submit --platform android --path="./$SHORT_SHA.aab" --non-interactive
[ -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
[ -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
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const FeedsPageUnmemoized = ({ editing }: Props) => {
msg({
id: "following.feed",
message: "Following",
comment: "The name of the main feed.",
comment: "'Following' - The name of the main feed",
}),
)}
subtitle={_(msg`Posts from people you follow`)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,10 @@ const SuggestionCard = ({ item }: SuggestionCardProps) => {
{follow.isIdle ? (
<Trans>Follow</Trans>
) : (
<Trans id="following.action" comment="Following a user">
<Trans
id="following.action"
comment="'Following' - following a user"
>
Following
</Trans>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/app/settings/feed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function FeedPreferences() {
msg({
id: "following.feed",
message: "Following",
comment: "The name of the main feed.",
comment: "'Following' - The name of the main feed",
}),
);

Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/components/feeds-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const SheetContent = ({
msg({
id: "following.feed",
message: "Following",
comment: "The name of the main feed.",
comment: "'Following' - The name of the main feed",
}),
)}
subtitle={_(msg`Posts from people you follow`)}
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/components/lists/follows-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const FollowsList = forwardRef<FollowsListRef>((__, ref) => {
msg({
id: "following.list",
message: "Following",
comment: "List of follows",
comment: "'Following' - List of follows",
}),
)}
ref={listRef}
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/components/lists/person-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const PersonRowUnmemoized = ({
msg({
id: "following.action",
message: "Following",
comment: "Following a user",
comment: "'Following' - following a user",
}),
);
} else if (followedBy) {
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/components/screens/profile/profile-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export const ProfileInfo = ({ profile, backButton }: Props) => {
<Text className="ml-2 font-medium text-neutral-600 dark:text-neutral-300">
<Trans
id="following.action"
comment="Following a user"
comment="'Following' - following a user"
>
Following
</Trans>
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/i18n/locales/be/messages.js

Large diffs are not rendered by default.

22 changes: 13 additions & 9 deletions apps/expo/src/i18n/locales/be/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ msgid "{months} months ago"
msgstr "{months} месяцаў таму"

#: src/lib/utils/time.ts:26
msgid "{months}m"
msgstr "{months} м."
#~ msgid "{months}m"
#~ msgstr "{months} м."

#: src/lib/utils/time.ts:26
msgid "{months}M"
msgstr ""

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

#. The name of the main feed.
#. The name of the main feed.
#. The name of the main feed.
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/feeds/index.tsx:112
#: src/app/settings/feed.tsx:56
#: src/components/feeds-button.tsx:248
msgid "following.feed"
msgstr ""

#. Following a user
#. Following a user
#. Following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/search/index.tsx:446
#: src/components/lists/person-row.tsx:46
#: src/components/screens/profile/profile-info.tsx:392
msgid "following.action"
msgstr ""

#. List of follows
#. 'Following' - List of follows
#. js-lingui-explicit-id
#: src/components/lists/follows-list.tsx:55
msgid "following.list"
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/i18n/locales/cs/messages.js

Large diffs are not rendered by default.

22 changes: 13 additions & 9 deletions apps/expo/src/i18n/locales/cs/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ msgid "{months} months ago"
msgstr "Před {months} měsíci"

#: src/lib/utils/time.ts:26
msgid "{months}m"
msgstr "{months}m"
#~ msgid "{months}m"
#~ msgstr "{months}m"

#: src/lib/utils/time.ts:26
msgid "{months}M"
msgstr ""

#: src/components/feed-row.tsx:99
msgid "{name} feed"
Expand Down Expand Up @@ -917,27 +921,27 @@ msgstr "Sledovaný uživatel"
msgid "Followers"
msgstr "Sledující"

#. The name of the main feed.
#. The name of the main feed.
#. The name of the main feed.
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/feeds/index.tsx:112
#: src/app/settings/feed.tsx:56
#: src/components/feeds-button.tsx:248
msgid "following.feed"
msgstr "sledovaní.kanál"

#. Following a user
#. Following a user
#. Following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/search/index.tsx:446
#: src/components/lists/person-row.tsx:46
#: src/components/screens/profile/profile-info.tsx:392
msgid "following.action"
msgstr "sledovaní.akce"

#. List of follows
#. 'Following' - List of follows
#. js-lingui-explicit-id
#: src/components/lists/follows-list.tsx:55
msgid "following.list"
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/i18n/locales/de/messages.js

Large diffs are not rendered by default.

22 changes: 13 additions & 9 deletions apps/expo/src/i18n/locales/de/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ msgid "{months} months ago"
msgstr "vor {months} Monaten"

#: src/lib/utils/time.ts:26
msgid "{months}m"
msgstr "{months}m"
#~ msgid "{months}m"
#~ msgstr "{months}m"

#: src/lib/utils/time.ts:26
msgid "{months}M"
msgstr ""

#: src/components/feed-row.tsx:99
msgid "{name} feed"
Expand Down Expand Up @@ -917,27 +921,27 @@ msgstr "Benutzer, denen ich folge"
msgid "Followers"
msgstr "Benutzer, die mir folgen"

#. The name of the main feed.
#. The name of the main feed.
#. The name of the main feed.
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/feeds/index.tsx:112
#: src/app/settings/feed.tsx:56
#: src/components/feeds-button.tsx:248
msgid "following.feed"
msgstr ""

#. Following a user
#. Following a user
#. Following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/search/index.tsx:446
#: src/components/lists/person-row.tsx:46
#: src/components/screens/profile/profile-info.tsx:392
msgid "following.action"
msgstr ""

#. List of follows
#. 'Following' - List of follows
#. js-lingui-explicit-id
#: src/components/lists/follows-list.tsx:55
msgid "following.list"
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/i18n/locales/en/messages.js

Large diffs are not rendered by default.

20 changes: 12 additions & 8 deletions apps/expo/src/i18n/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ msgid "{months} months ago"
msgstr ""

#: src/lib/utils/time.ts:26
msgid "{months}m"
#~ msgid "{months}m"
#~ msgstr ""

#: src/lib/utils/time.ts:26
msgid "{months}M"
msgstr ""

#: src/components/feed-row.tsx:99
Expand Down Expand Up @@ -912,27 +916,27 @@ msgstr ""
msgid "Followers"
msgstr ""

#. The name of the main feed.
#. The name of the main feed.
#. The name of the main feed.
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/feeds/index.tsx:112
#: src/app/settings/feed.tsx:56
#: src/components/feeds-button.tsx:248
msgid "following.feed"
msgstr ""

#. Following a user
#. Following a user
#. Following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/search/index.tsx:446
#: src/components/lists/person-row.tsx:46
#: src/components/screens/profile/profile-info.tsx:392
msgid "following.action"
msgstr ""

#. List of follows
#. 'Following' - List of follows
#. js-lingui-explicit-id
#: src/components/lists/follows-list.tsx:55
msgid "following.list"
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/i18n/locales/es/messages.js

Large diffs are not rendered by default.

20 changes: 12 additions & 8 deletions apps/expo/src/i18n/locales/es/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ msgid "{months} months ago"
msgstr "Hace {months} meses"

#: src/lib/utils/time.ts:26
msgid "{months}m"
#~ msgid "{months}m"
#~ msgstr ""

#: src/lib/utils/time.ts:26
msgid "{months}M"
msgstr ""

#: src/components/feed-row.tsx:99
Expand Down Expand Up @@ -917,27 +921,27 @@ msgstr ""
msgid "Followers"
msgstr ""

#. The name of the main feed.
#. The name of the main feed.
#. The name of the main feed.
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/feeds/index.tsx:112
#: src/app/settings/feed.tsx:56
#: src/components/feeds-button.tsx:248
msgid "following.feed"
msgstr ""

#. Following a user
#. Following a user
#. Following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/search/index.tsx:446
#: src/components/lists/person-row.tsx:46
#: src/components/screens/profile/profile-info.tsx:392
msgid "following.action"
msgstr ""

#. List of follows
#. 'Following' - List of follows
#. js-lingui-explicit-id
#: src/components/lists/follows-list.tsx:55
msgid "following.list"
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/i18n/locales/fr/messages.js

Large diffs are not rendered by default.

22 changes: 13 additions & 9 deletions apps/expo/src/i18n/locales/fr/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ msgid "{months} months ago"
msgstr "Il y a {months} mois"

#: src/lib/utils/time.ts:26
msgid "{months}m"
msgstr "{months}m"
#~ msgid "{months}m"
#~ msgstr "{months}m"

#: src/lib/utils/time.ts:26
msgid "{months}M"
msgstr ""

#: src/components/feed-row.tsx:99
msgid "{name} feed"
Expand Down Expand Up @@ -917,27 +921,27 @@ msgstr "Utilisateur suivi"
msgid "Followers"
msgstr "Abonnés"

#. The name of the main feed.
#. The name of the main feed.
#. The name of the main feed.
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. 'Following' - The name of the main feed
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/feeds/index.tsx:112
#: src/app/settings/feed.tsx:56
#: src/components/feeds-button.tsx:248
msgid "following.feed"
msgstr ""

#. Following a user
#. Following a user
#. Following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. 'Following' - following a user
#. js-lingui-explicit-id
#: src/app/(tabs)/(feeds,search,notifications,self)/search/index.tsx:446
#: src/components/lists/person-row.tsx:46
#: src/components/screens/profile/profile-info.tsx:392
msgid "following.action"
msgstr ""

#. List of follows
#. 'Following' - List of follows
#. js-lingui-explicit-id
#: src/components/lists/follows-list.tsx:55
msgid "following.list"
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/i18n/locales/ja/messages.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0eb5369

Please sign in to comment.