Skip to content

Commit

Permalink
[#609] Review: Fix strings naming
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinea committed Sep 8, 2023
1 parent 26f7fb3 commit 7c5e634
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ fun ComponentImageTile() {
modifier = Modifier.padding(horizontal = dimensionResource(id = com.orange.ods.R.dimen.spacing_m)),
outlinedChips = true
) {
Subtitle(textRes = R.string.component_image_tile_caption_display_type)
OdsChoiceChip(textRes = R.string.component_image_tile_caption_display_overlay, value = OdsImageTileLegendAreaDisplayType.Overlay)
OdsChoiceChip(textRes = R.string.component_image_tile_caption_display_below, value = OdsImageTileLegendAreaDisplayType.Below)
Subtitle(textRes = R.string.component_image_tile_legend_area_display_type)
OdsChoiceChip(textRes = R.string.component_image_tile_legend_area_display_type_overlay, value = OdsImageTileLegendAreaDisplayType.Overlay)
OdsChoiceChip(textRes = R.string.component_image_tile_legend_area_display_type_below, value = OdsImageTileLegendAreaDisplayType.Below)
OdsChoiceChip(textRes = R.string.component_element_none, value = OdsImageTileLegendAreaDisplayType.None)
}
OdsListItem(
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@
<string name="component_image_tile_sizes">Image tile sizes</string>
<string name="component_image_tile_small">Small image</string>
<string name="component_image_tile_large">Large image</string>
<string name="component_image_tile_caption_display_type">Caption display type</string>
<string name="component_image_tile_caption_display_overlay">Overlay</string>
<string name="component_image_tile_caption_display_below">Below</string>
<string name="component_image_tile_legend_area_display_type">Legend area display type</string>
<string name="component_image_tile_legend_area_display_type_overlay">Overlay</string>
<string name="component_image_tile_legend_area_display_type_below">Below</string>

<!-- Component List item -->
<string name="component_list_item">List item</string>
Expand Down

0 comments on commit 7c5e634

Please sign in to comment.