File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed
library/panes/media/local
wp-dashboard/src/components/editorSettings Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ function useUploader() {
102102 // The file is too large for the site anyway, abort.
103103 if ( ! isFileSizeWithinLimits ( file ) ) {
104104 const message = sprintf (
105- /* translators: first %s is the file size in MB and second %s is the upload file limit in MB */
105+ /* translators: 1: the file size in MB. 2: is the upload file limit in MB */
106106 __ (
107107 'Your file is %1$sMB and the upload limit is %2$sMB. Please resize and try again!' ,
108108 'web-stories'
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export const ACCESSIBILITY_COPY = {
7676 fontSizeTooSmall : {
7777 title : sprintf (
7878 /* translators: %d: minimum font size. */
79- __ ( 'Increase font size to %s or above' , 'web-stories' ) ,
79+ __ ( 'Increase font size to %d or above' , 'web-stories' ) ,
8080 MIN_FONT_SIZE
8181 ) ,
8282 footer : sprintf (
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ function BasicColorList({
137137 const title = ! isEditMode
138138 ? patternAsBackground
139139 : sprintf (
140- /* translators: First %s is the color type, second %s is the color as a string */
140+ /* translators: 1: the color type. 2: the color as a string */
141141 __ ( 'Delete %1$s color: %2$s' , 'web-stories' ) ,
142142 colorType ,
143143 patternAsBackground
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ const shortcuts = {
237237 } }
238238 >
239239 { sprintf (
240- /* translators: 1 : Shift key. */
240+ /* translators: %s : Shift key. */
241241 __ ( '<lkbd>%s</lkbd> <span>+ click</span>' , 'web-stories' ) ,
242242 prettifyShortcut ( 'shift' )
243243 ) }
@@ -384,7 +384,7 @@ const shortcuts = {
384384 } }
385385 >
386386 { sprintf (
387- /* translators: 1 : Shift key. */
387+ /* translators: %s : Shift key. */
388388 __ (
389389 '<lkbd>%s</lkbd> <span>+ arrow keys</span>' ,
390390 'web-stories'
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ function MediaPane(props) {
210210 { isSearching && media . length > 0 && (
211211 < SearchCount >
212212 { sprintf (
213- /* translators: %d : number of results. */
213+ /* translators: %s : number of results. */
214214 _n (
215215 '%s result found.' ,
216216 '%s results found.' ,
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ function DurationIndicator() {
6060 < Tooltip
6161 position = { Placement . Top }
6262 title = { sprintf (
63- /* translators: %s : number of minutes */
63+ /* translators: %d : number of minutes */
6464 _n (
6565 'Maximum duration is %d minute' ,
6666 'Maximum duration is %d minutes' ,
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ function EditorSettings() {
296296 const errorText =
297297 files . length === 1
298298 ? sprintf (
299- /* translators: 1: minimum width, 2: minimum height */
299+ /* translators: %s: image dimensions in pixels. */
300300 __ (
301301 'Sorry, this file is too small. Make sure your logo is larger than %s.' ,
302302 'web-stories'
You can’t perform that action at this time.
0 commit comments