mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-10-31 08:11:10 +01:00 
			
		
		
		
	Serve English strings directly with /locales.ini
This commit is contained in:
		
							parent
							
								
									faeee3e09a
								
							
						
					
					
						commit
						e131f60071
					
				| @ -1,4 +1,4 @@ | ||||
| [en] | ||||
| [*] | ||||
| index.newPad = New Pad | ||||
| index.createOpenPad = or create/open a Pad with the name: | ||||
| pad.toolbar.bold.title = Bold (Ctrl-B) | ||||
|  | ||||
| @ -5,7 +5,9 @@ var Globalize = require('globalize') | ||||
| 
 | ||||
| var localesPath = __dirname+"/../../locales"; | ||||
| 
 | ||||
| var localeIndex = '[*]\r\n@import url(locales/en.ini)\r\n'; | ||||
| // Serve English strings directly with /locales.ini
 | ||||
| var localeIndex = fs.readFileSync(localesPath+'/en.ini')+'\r\n'; | ||||
| 
 | ||||
| exports.availableLangs = {en: 'English'}; | ||||
| 
 | ||||
| fs.readdir(localesPath, function(er, files) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user