File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import { TranslationContext } from '../boot/TranslationProvider';
18
18
import type { LocalizableText } from '../types' ;
19
19
import { getGlobalSettings } from '../directSelectors' ;
20
20
import { useGlobalSelector } from '../react-redux' ;
21
+ import WebLink from '../common/WebLink' ;
21
22
22
23
type Props = $ReadOnly < { |
23
24
navigation : AppNavigationProp < 'realm-input' > ,
@@ -172,7 +173,18 @@ export default function RealmInputScreen(props: Props): Node {
172
173
keyboardShouldPersistTaps = "always"
173
174
shouldShowLoadingBanner = { false }
174
175
>
175
- < ZulipTextIntl text = "Enter your Zulip server URL:" />
176
+ < ZulipTextIntl
177
+ text = { {
178
+ text : 'Enter your Zulip server URL: <z-link>(What’s this?)</z-link>' ,
179
+ values : {
180
+ 'z-link' : chunks => (
181
+ < WebLink url = { new URL ( 'https://zulip.com/help/logging-in#find-the-zulip-log-in-url' ) } >
182
+ { chunks }
183
+ </ WebLink >
184
+ ) ,
185
+ } ,
186
+ } }
187
+ />
176
188
< View style = { styles . inputWrapper } >
177
189
< TextInput
178
190
value = { realmInputValue }
Original file line number Diff line number Diff line change 106
106
"No unread messages" : " No unread messages" ,
107
107
"Pick account" : " Pick account" ,
108
108
"Welcome" : " Welcome" ,
109
- "Enter your Zulip server URL:" : " Enter your Zulip server URL:" ,
109
+ "Enter your Zulip server URL: <z-link>(What’s this?)</z-link> " : " Enter your Zulip server URL: <z-link>(What’s this?)</z-link> " ,
110
110
"e.g. zulip.example.com" : " e.g. zulip.example.com" ,
111
111
"Subscriptions" : " Subscriptions" ,
112
112
"Search" : " Search" ,
You can’t perform that action at this time.
0 commit comments