docs: Add notes on app.getLocale
This commit is contained in:
		
					parent
					
						
							
								996ad10344
							
						
					
				
			
			
				commit
				
					
						e23faceba0
					
				
			
		
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
					@ -341,6 +341,11 @@ Overrides the current application's name.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Returns the current application locale.
 | 
					Returns the current application locale.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					**Note:** When distributing your packaged app, you have to also ship the
 | 
				
			||||||
 | 
					`locales` folder.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					**Note:** On Windows you have to call it after the `ready` events gets emitted.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### `app.addRecentDocument(path)` _OS X_ _Windows_
 | 
					### `app.addRecentDocument(path)` _OS X_ _Windows_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* `path` String
 | 
					* `path` String
 | 
				
			||||||
| 
						 | 
					@ -576,4 +581,4 @@ Sets the `image` associated with this dock icon.
 | 
				
			||||||
[dock-menu]:https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/concepts/dockconcepts.html#//apple_ref/doc/uid/TP30000986-CH2-TPXREF103
 | 
					[dock-menu]:https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/concepts/dockconcepts.html#//apple_ref/doc/uid/TP30000986-CH2-TPXREF103
 | 
				
			||||||
[tasks]:http://msdn.microsoft.com/en-us/library/windows/desktop/dd378460(v=vs.85).aspx#tasks
 | 
					[tasks]:http://msdn.microsoft.com/en-us/library/windows/desktop/dd378460(v=vs.85).aspx#tasks
 | 
				
			||||||
[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx
 | 
					[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx
 | 
				
			||||||
[CFBundleURLTypes]: https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-102207-TPXREF115
 | 
					[CFBundleURLTypes]: https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-102207-TPXREF115
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue