Skip to content

Commit 6f4587c

Browse files
t-regbsegorikftp
authored andcommitted
refactor: update icon property description and localization label for consistency
1 parent 0b47065 commit 6f4587c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tools/idea-plugin/src/main/kotlin/io/github/composegears/valkyrie/ui/screen/webimport/standard/model/StandardIcon.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import io.github.composegears.valkyrie.ui.screen.webimport.common.model.WebIcon
55
/**
66
* Standard icon model for icon providers that use inferred categories.
77
*
8-
* @property name The icon name/id used for API calls and file naming
8+
* @property name The raw icon name/id used for API calls
99
* @property displayName The human-readable name shown in the UI
1010
* @property exportName The canonical name used for generated symbol/file names
1111
* @property codepoint The Unicode codepoint for font-based icons
@@ -16,7 +16,7 @@ import io.github.composegears.valkyrie.ui.screen.webimport.common.model.WebIcon
1616
data class StandardIcon(
1717
override val name: String,
1818
val displayName: String,
19-
val exportName: String = displayName,
19+
val exportName: String = name,
2020
val codepoint: Int,
2121
val tags: List<String>,
2222
val category: InferredCategory,

tools/idea-plugin/src/main/resources/messages/Valkyrie.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ web.import.title.material=Material Symbols import
141141
web.import.title.lucide=Lucide icons import
142142
web.import.title.bootstrap=Bootstrap icons import
143143
web.import.title.remix=Remix Icon import
144-
web.import.title.boxicons=BoxIcons import
144+
web.import.title.boxicons=Box Icons import
145145
imagevectortoxml.picker.title=ImageVector to XML
146146
imagevectortoxml.picker.description=Drop ImageVector Kotlin file (.kt)
147147
imagevectortoxml.conversion.title=ImageVector to XML

0 commit comments

Comments
 (0)