Update localization.md (#2263)

zio/stable
Bryan Lumbantobing 2023-12-22 06:58:42 +08:00 committed by GitHub
parent bc31da47fd
commit 64dc8ff342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import { Text } from "react-native";
const text = "Hello World"; const text = "Hello World";
<Text accessibilityLabel="Label is here">{text}</Text> <Text accessibilityLabel="Label is here">{text}</Text>
``` ```
In this case, you cannot use the `useLingui()` hook: In this case, you can use the `useLingui()` hook:
```jsx ```jsx
import { msg } from "@lingui/macro"; import { msg } from "@lingui/macro";
import { useLingui } from "@lingui/react"; import { useLingui } from "@lingui/react";
@ -116,4 +116,4 @@ export function Welcome() {
### Credits ### Credits
Please check each individual `messages.po` file for the credits of the translators. We are very grateful for their help! Please check each individual `messages.po` file for the credits of the translators. We are very grateful for their help!
If you would like to translate the Bluesky app into your language, please open a PR or issue on this repo. If you would like to translate the Bluesky app into your language, please open a PR or issue on this repo.