mirror of
https://github.com/wassname/talk.git
synced 2026-07-21 12:51:03 +08:00
Change translation strings
This commit is contained in:
@@ -20,7 +20,7 @@ const UserBoxAuthenticated: StatelessComponent<
|
||||
return (
|
||||
<Flex itemGutter="half" wrap>
|
||||
<Localized
|
||||
id="comments-userBoxAuthenticated-signedInAs"
|
||||
id="general-userBoxAuthenticated-signedInAs"
|
||||
username={<Username />}
|
||||
>
|
||||
<Typography variant="bodyCopy" container="div">
|
||||
@@ -28,7 +28,7 @@ const UserBoxAuthenticated: StatelessComponent<
|
||||
</Typography>
|
||||
</Localized>
|
||||
<Localized
|
||||
id="comments-userBoxAuthenticated-notYou"
|
||||
id="general-userBoxAuthenticated-notYou"
|
||||
button={
|
||||
<Button
|
||||
color="primary"
|
||||
|
||||
@@ -17,7 +17,7 @@ const UserBoxUnauthenticated: StatelessComponent<
|
||||
return (
|
||||
<Flex itemGutter alignItems="center">
|
||||
<MatchMedia gteWidth="sm">
|
||||
<Localized id="comments-userBoxUnauthenticated-joinTheConversation">
|
||||
<Localized id="general-userBoxUnauthenticated-joinTheConversation">
|
||||
<Typography
|
||||
className={styles.joinText}
|
||||
variant="bodyCopyBold"
|
||||
@@ -30,7 +30,7 @@ const UserBoxUnauthenticated: StatelessComponent<
|
||||
|
|
||||
</Typography>
|
||||
</MatchMedia>
|
||||
<Localized id="comments-userBoxUnauthenticated-signIn">
|
||||
<Localized id="general-userBoxUnauthenticated-signIn">
|
||||
<Button
|
||||
color="primary"
|
||||
size="small"
|
||||
@@ -40,7 +40,7 @@ const UserBoxUnauthenticated: StatelessComponent<
|
||||
Sign in
|
||||
</Button>
|
||||
</Localized>
|
||||
<Localized id="comments-userBoxUnauthenticated-register">
|
||||
<Localized id="general-userBoxUnauthenticated-register">
|
||||
<Button
|
||||
color="primary"
|
||||
size="small"
|
||||
|
||||
@@ -6,7 +6,7 @@ exports[`renders correctly 1`] = `
|
||||
wrap={true}
|
||||
>
|
||||
<Localized
|
||||
id="comments-userBoxAuthenticated-signedInAs"
|
||||
id="general-userBoxAuthenticated-signedInAs"
|
||||
username={<Username />}
|
||||
>
|
||||
<withPropsOnChange(Typography)
|
||||
@@ -25,7 +25,7 @@ exports[`renders correctly 1`] = `
|
||||
variant="underlined"
|
||||
/>
|
||||
}
|
||||
id="comments-userBoxAuthenticated-notYou"
|
||||
id="general-userBoxAuthenticated-notYou"
|
||||
>
|
||||
<withPropsOnChange(Typography)
|
||||
container={[Function]}
|
||||
|
||||
+3
-3
@@ -9,7 +9,7 @@ exports[`renders correctly 1`] = `
|
||||
gteWidth="sm"
|
||||
>
|
||||
<Localized
|
||||
id="comments-userBoxUnauthenticated-joinTheConversation"
|
||||
id="general-userBoxUnauthenticated-joinTheConversation"
|
||||
>
|
||||
<withPropsOnChange(Typography)
|
||||
className="UserBoxUnauthenticated-joinText"
|
||||
@@ -27,7 +27,7 @@ exports[`renders correctly 1`] = `
|
||||
</withPropsOnChange(Typography)>
|
||||
</MatchMediaWithContext>
|
||||
<Localized
|
||||
id="comments-userBoxUnauthenticated-signIn"
|
||||
id="general-userBoxUnauthenticated-signIn"
|
||||
>
|
||||
<withPropsOnChange(Button)
|
||||
color="primary"
|
||||
@@ -39,7 +39,7 @@ exports[`renders correctly 1`] = `
|
||||
</withPropsOnChange(Button)>
|
||||
</Localized>
|
||||
<Localized
|
||||
id="comments-userBoxUnauthenticated-register"
|
||||
id="general-userBoxUnauthenticated-register"
|
||||
>
|
||||
<withPropsOnChange(Button)
|
||||
color="primary"
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
### Localization for Embed Stream
|
||||
|
||||
## General
|
||||
|
||||
general-userBoxUnauthenticated-joinTheConversation = Join the conversation
|
||||
general-userBoxUnauthenticated-signIn = Sign in
|
||||
general-userBoxUnauthenticated-register = Register
|
||||
|
||||
general-userBoxAuthenticated-signedInAs =
|
||||
Signed in as <username></username>.
|
||||
|
||||
general-userBoxAuthenticated-notYou =
|
||||
Not you? <button>Sign Out</button>
|
||||
|
||||
## Comments Tab
|
||||
|
||||
comments-streamQuery-assetNotFound = Asset not found
|
||||
@@ -14,16 +26,6 @@ comments-permalinkPopover-copied = Copied
|
||||
comments-permalinkView-showAllComments = Show all comments
|
||||
comments-permalinkView-commentNotFound = Comment not found
|
||||
|
||||
comments-userBoxUnauthenticated-joinTheConversation = Join the conversation
|
||||
comments-userBoxUnauthenticated-signIn = Sign in
|
||||
comments-userBoxUnauthenticated-register = Register
|
||||
|
||||
comments-userBoxAuthenticated-signedInAs =
|
||||
Signed in as <username></username>.
|
||||
|
||||
comments-userBoxAuthenticated-notYou =
|
||||
Not you? <button>Sign Out</button>
|
||||
|
||||
comments-rte-bold =
|
||||
.title = Bold
|
||||
|
||||
|
||||
Reference in New Issue
Block a user