diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/country-codes.ts | 5 | ||||
-rw-r--r-- | src/view/com/notifications/FeedItem.tsx | 8 | ||||
-rw-r--r-- | src/view/com/post-thread/PostThreadItem.tsx | 2 | ||||
-rw-r--r-- | src/view/com/posts/FeedItem.tsx | 2 |
4 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/country-codes.ts b/src/lib/country-codes.ts index ecfeb8eae..ae0152876 100644 --- a/src/lib/country-codes.ts +++ b/src/lib/country-codes.ts @@ -236,7 +236,10 @@ export const COUNTRY_CODES: CountryCodeMap[] = [ {code2: 'UG', name: 'Uganda (+256)'}, {code2: 'UA', name: 'Ukraine (+380)'}, {code2: 'AE', name: 'United Arab Emirates (+971)'}, - {code2: 'GB', name: 'United Kingdom of Great Britain and Northern Ireland (+44)'}, + { + code2: 'GB', + name: 'United Kingdom of Great Britain and Northern Ireland (+44)', + }, {code2: 'US', name: 'United States of America (+1)'}, {code2: 'UY', name: 'Uruguay (+598)'}, {code2: 'UZ', name: 'Uzbekistan (+998)'}, diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx index e9d8b63e2..0dfac2a83 100644 --- a/src/view/com/notifications/FeedItem.tsx +++ b/src/view/com/notifications/FeedItem.tsx @@ -167,11 +167,9 @@ let FeedItem = ({ icon = 'user-plus' iconStyle = [s.blue3 as FontAwesomeIconStyle] } else if (item.type === 'feedgen-like') { - action = _( - msg`liked your custom feed${ - item.subjectUri ? ` '${new AtUri(item.subjectUri).rkey}'` : '' - }`, - ) + action = item.subjectUri + ? _(msg`liked your custom feed '${new AtUri(item.subjectUri).rkey}'`) + : _(msg`liked your custom feed`) icon = 'HeartIconSolid' iconStyle = [ s.likeColor as FontAwesomeIconStyle, diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index cd218a062..c811cd12b 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -706,7 +706,7 @@ function ExpandedPostDetails({ <Text style={pal.textLight}>{niceDate(post.indexedAt)}</Text> {needsTranslation && ( <> - <Text style={[pal.textLight, s.ml5, s.mr5]}>•</Text> + <Text style={pal.textLight}> · </Text> <Link href={translatorUrl} title={_(msg`Translate`)}> <Text style={pal.link}> <Trans>Translate</Trans> diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx index 8dee4ed49..a8aff0510 100644 --- a/src/view/com/posts/FeedItem.tsx +++ b/src/view/com/posts/FeedItem.tsx @@ -205,7 +205,7 @@ let FeedItemInner = ({ title={_( msg`Reposted by ${sanitizeDisplayName( reason.by.displayName || reason.by.handle, - )})`, + )}`, )}> <FontAwesomeIcon icon="retweet" |