Remove double an from error message strings (#5782)

* Update ProfileHeaderLabeler.tsx

* Update FeedErrorMessage.tsx

* Update FeedShutdownMsg.tsx

* Update ProfileFeed.tsx
This commit is contained in:
surfdude29
2024-10-17 10:37:32 +01:00
committed by GitHub
parent 7e4ecc6860
commit 34f1e4d71c
4 changed files with 10 additions and 10 deletions
@@ -108,7 +108,7 @@ let ProfileHeaderLabeler = ({
} catch (e: any) {
Toast.show(
_(
msg`There was an an issue contacting the server, please check your internet connection and try again.`,
msg`There was an issue contacting the server, please check your internet connection and try again.`,
),
'xmark',
)
+1 -1
View File
@@ -142,7 +142,7 @@ function FeedgenErrorMessage({
} catch (err) {
Toast.show(
_l(
msgLingui`There was an an issue removing this feed. Please check your internet connection and try again.`,
msgLingui`There was an issue removing this feed. Please check your internet connection and try again.`,
),
'exclamation-circle',
)
+4 -4
View File
@@ -49,11 +49,11 @@ export function FeedShutdownMsg({feedUri}: {feedUri: string}) {
} catch (err: any) {
Toast.show(
_(
msg`There was an an issue updating your feeds, please check your internet connection and try again.`,
msg`There was an issue updating your feeds, please check your internet connection and try again.`,
),
'exclamation-circle',
)
logger.error('Failed up update feeds', {message: err})
logger.error('Failed to update feeds', {message: err})
}
}, [removeFeed, feedConfig, _, hasDiscoverPinned, setSelectedFeed])
@@ -68,11 +68,11 @@ export function FeedShutdownMsg({feedUri}: {feedUri: string}) {
} catch (err: any) {
Toast.show(
_(
msg`There was an an issue updating your feeds, please check your internet connection and try again.`,
msg`There was an issue updating your feeds, please check your internet connection and try again.`,
),
'exclamation-circle',
)
logger.error('Failed up update feeds', {message: err})
logger.error('Failed to update feeds', {message: err})
}
}, [
replaceFeedWithDiscover,
+4 -4
View File
@@ -208,11 +208,11 @@ export function ProfileFeedScreenInner({
} catch (err) {
Toast.show(
_(
msg`There was an an issue updating your feeds, please check your internet connection and try again.`,
msg`There was an issue updating your feeds, please check your internet connection and try again.`,
),
'xmark',
)
logger.error('Failed up update feeds', {message: err})
logger.error('Failed to update feeds', {message: err})
}
}, [_, playHaptic, feedInfo, removeFeed, addSavedFeeds, savedFeedConfig])
@@ -543,11 +543,11 @@ function AboutSection({
} catch (err) {
Toast.show(
_(
msg`There was an an issue contacting the server, please check your internet connection and try again.`,
msg`There was an issue contacting the server, please check your internet connection and try again.`,
),
'xmark',
)
logger.error('Failed up toggle like', {message: err})
logger.error('Failed to toggle like', {message: err})
}
}, [playHaptic, isLiked, likeUri, unlikeFeed, likeFeed, feedInfo, _])