[Editor] Update the id for a l10n string
This commit is contained in:
		
							parent
							
								
									03c6febc44
								
							
						
					
					
						commit
						ae2cf7e1e7
					
				| @ -258,7 +258,7 @@ editor_free_text_label=FreeText Annotation | |||||||
| editor_ink.title=Add Ink Annotation | editor_ink.title=Add Ink Annotation | ||||||
| editor_ink_label=Ink Annotation | editor_ink_label=Ink Annotation | ||||||
| 
 | 
 | ||||||
| freetext_default_content=Enter text… | free_text_default_content=Enter text… | ||||||
| 
 | 
 | ||||||
| # Editor Parameters | # Editor Parameters | ||||||
| editor_free_text_font_color=Font Color | editor_free_text_font_color=Font Color | ||||||
|  | |||||||
| @ -56,7 +56,7 @@ class FreeTextEditor extends AnnotationEditor { | |||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   static initialize(l10n) { |   static initialize(l10n) { | ||||||
|     this._l10nPromise = l10n.get("freetext_default_content"); |     this._l10nPromise = l10n.get("free_text_default_content"); | ||||||
|     const style = getComputedStyle(document.documentElement); |     const style = getComputedStyle(document.documentElement); | ||||||
| 
 | 
 | ||||||
|     if ( |     if ( | ||||||
|  | |||||||
| @ -82,7 +82,7 @@ const DEFAULT_L10N_STRINGS = { | |||||||
|   web_fonts_disabled: |   web_fonts_disabled: | ||||||
|     "Web fonts are disabled: unable to use embedded PDF fonts.", |     "Web fonts are disabled: unable to use embedded PDF fonts.", | ||||||
| 
 | 
 | ||||||
|   freetext_default_content: "Enter text…", |   free_text_default_content: "Enter text…", | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| function getL10nFallback(key, args) { | function getL10nFallback(key, args) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user