mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Added comments to the gettext dictionaries generated by the xgettext tool.
The prefix to be searched for in the source code comments is TRN
This commit is contained in:
		
							parent
							
								
									eae6576162
								
							
						
					
					
						commit
						63a0d1aeee
					
				
					 4 changed files with 783 additions and 762 deletions
				
			
		| 
						 | 
				
			
			@ -46,7 +46,7 @@ https://github.com/prusa3d/Slic3r/tree/master/resources/localization/list.txt.
 | 
			
		|||
 | 
			
		||||
2.  Create template file(*.POT) with GNUgettext command:
 | 
			
		||||
    ```
 | 
			
		||||
        xgettext --keyword=L --from-code=UTF-8 --debug -o Slic3rPE.pot -f list.txt
 | 
			
		||||
        xgettext --keyword=L --add-comments=TRN --from-code=UTF-8 --debug -o Slic3rPE.pot -f list.txt
 | 
			
		||||
    ```
 | 
			
		||||
 | 
			
		||||
    Use flag `--from-code=UTF-8` to specify that the source strings are in UTF-8 encoding
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue