Skip to content
This repository was archived by the owner on Jul 13, 2025. It is now read-only.

Commit a1d316d

Browse files
committed
Add missing localization strings
1 parent a0e534c commit a1d316d

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/Components/TagList/init.lua

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ function TagList:render()
9494
local tag = unknownTags[i]
9595
children[tag] = StudioThemeAccessor.withTheme(function(theme)
9696
return Roact.createElement(Item, {
97-
Text = string.format("%s (click to import)", Util.escapeTextColored(tag, theme)),
97+
textKey = "TagList_ImportTag",
98+
textArgs = {
99+
Tag = Util.escapeTextColored(tag, theme),
100+
},
98101
RichText = true,
99102
Icon = "help",
100103
ButtonColor = Constants.LightRed,
@@ -115,7 +118,7 @@ function TagList:render()
115118
if #tags == 0 then
116119
children.NoResults = Roact.createElement(Item, {
117120
LayoutOrder = itemCount,
118-
Text = "No search results found.",
121+
textKey = "TagList_NoSearchResults",
119122
Icon = "cancel",
120123
TextProps = {
121124
Font = Enum.Font.SourceSansItalic,
@@ -134,7 +137,10 @@ function TagList:render()
134137
if props.searchTerm and #props.searchTerm > 0 and not searchTagExists then
135138
children.AddNew = Roact.createElement(Item, {
136139
LayoutOrder = itemCount,
137-
Text = string.format("Add tag %q...", props.searchTerm),
140+
textKey = "TagList_AddFromSearch",
141+
textArgs = {
142+
Tag = props.searchTerm,
143+
},
138144
Icon = "tag_blue_add",
139145

140146
leftClick = function(_rbx)

src/Localization.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ ColorPicker_HSV,,,,HSV,HSV
8181
ColorPicker_RGB,,,,RGB,RGB/RVA
8282
ColorPicker_Hex,,,,Hex,Hex
8383
TagList_AddNew,,,,Add new tag...,Agregar nueva etiqueta…
84+
TagList_AddFromSearch,,,,Add tag {Tag}...,Add tag {Tag}...
85+
TagList_ImportTag,,,,{Tag} (click to import),{Tag} (click to import)
86+
TagList_NoSearchResults,,,,No search results found.,No search results found.
8487
TagSettings_VisualizeAs,,,,Visualize as:,Visualizar como:
8588
TagSettings_ChangeIcon,,,,Change icon,Cambiar icono
8689
TagSettings_ChangeGroup,,,,Change group,Cambiar grupo

0 commit comments

Comments
 (0)