Skip to content

Commit

Permalink
feat: add GIF string resource
Browse files Browse the repository at this point in the history
  • Loading branch information
huhx committed Aug 3, 2022
1 parent aa440d9 commit 7de55a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ fun AssetImage(
) {
Text(
modifier = Modifier.padding(horizontal = 6.dp, vertical = 1.dp),
text = "GIF",
text = stringResource(R.string.text_gif),
color = Color.White,
fontSize = 10.sp
)
Expand Down
3 changes: 2 additions & 1 deletion compose_image_picker/src/main/res/values-en/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="text_done">Done</string>
<string name="text_asset_select">Select</string>
<string name="text_select_button">Next(%1$d/%2$d)</string>
<string name="text_gif">GIF</string>

<string name="label_camera" formatted="false">Camera</string>
<string name="label_camera">Camera</string>
<string name="label_album">Album</string>
</resources>
1 change: 1 addition & 0 deletions compose_image_picker/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<string name="text_done">确定</string>
<string name="text_asset_select">选择</string>
<string name="text_select_button">下一步(%1$d/%2$d)</string>
<string name="text_gif">GIF</string>

<string name="label_camera">拍摄</string>
<string name="label_album">相册</string>
Expand Down

0 comments on commit 7de55a1

Please sign in to comment.