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) { } catch (e: any) {
Toast.show( 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', 'xmark',
) )
+1 -1
View File
@@ -142,7 +142,7 @@ function FeedgenErrorMessage({
} catch (err) { } catch (err) {
Toast.show( Toast.show(
_l( _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', 'exclamation-circle',
) )
+4 -4
View File
@@ -49,11 +49,11 @@ export function FeedShutdownMsg({feedUri}: {feedUri: string}) {
} catch (err: any) { } catch (err: any) {
Toast.show( 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', 'exclamation-circle',
) )
logger.error('Failed up update feeds', {message: err}) logger.error('Failed to update feeds', {message: err})
} }
}, [removeFeed, feedConfig, _, hasDiscoverPinned, setSelectedFeed]) }, [removeFeed, feedConfig, _, hasDiscoverPinned, setSelectedFeed])
@@ -68,11 +68,11 @@ export function FeedShutdownMsg({feedUri}: {feedUri: string}) {
} catch (err: any) { } catch (err: any) {
Toast.show( 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', 'exclamation-circle',
) )
logger.error('Failed up update feeds', {message: err}) logger.error('Failed to update feeds', {message: err})
} }
}, [ }, [
replaceFeedWithDiscover, replaceFeedWithDiscover,
+4 -4
View File
@@ -208,11 +208,11 @@ export function ProfileFeedScreenInner({
} catch (err) { } catch (err) {
Toast.show( 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', 'xmark',
) )
logger.error('Failed up update feeds', {message: err}) logger.error('Failed to update feeds', {message: err})
} }
}, [_, playHaptic, feedInfo, removeFeed, addSavedFeeds, savedFeedConfig]) }, [_, playHaptic, feedInfo, removeFeed, addSavedFeeds, savedFeedConfig])
@@ -543,11 +543,11 @@ function AboutSection({
} catch (err) { } catch (err) {
Toast.show( 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', 'xmark',
) )
logger.error('Failed up toggle like', {message: err}) logger.error('Failed to toggle like', {message: err})
} }
}, [playHaptic, isLiked, likeUri, unlikeFeed, likeFeed, feedInfo, _]) }, [playHaptic, isLiked, likeUri, unlikeFeed, likeFeed, feedInfo, _])