mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-10-30 20:57:26 +00:00 
			
		
		
		
	Improve font helpers.
Log a warning on incorrect use.
This commit is contained in:
		| @@ -197,6 +197,9 @@ Error-handling routines for HackMyResume. | ||||
|  | ||||
|       case HMSTATUS.invalidHelperUse: | ||||
|         msg = printf( M2C( this.msgs.invalidHelperUse.msg ), ex.helper ); | ||||
|         if( ex.error ) { | ||||
|           msg += printf( '\n--> ' + M2C( this.msgs.invalidParamCount.msg ), ex.expected ); | ||||
|         } | ||||
|         quit = false; | ||||
|         etype = 'warning'; | ||||
|         break; | ||||
|   | ||||
| @@ -14,7 +14,7 @@ events: | ||||
|       - Merging **%s** | ||||
|       - " onto **%s**" | ||||
|   applyTheme: | ||||
|     msg: Applying **%s** theme (%s format%s) | ||||
|     msg: Applying **%s** theme (**%s** format%s) | ||||
|   afterBuild: | ||||
|     msg: | ||||
|       - "The **%s** theme says:" | ||||
| @@ -81,7 +81,7 @@ errors: | ||||
|   parseError: | ||||
|     msg: Invalid or corrupt JSON on line %s column %s. | ||||
|   invalidHelperUse: | ||||
|     msg: Warning: Invalid use of the **%s** theme helper. | ||||
|     msg: "**Warning**: Incorrect use of the **%s** theme helper." | ||||
|   fileSaveError: | ||||
|     msg: An error occurred while writing %s to disk: %s. | ||||
|   mixedMerge: | ||||
| @@ -92,3 +92,5 @@ errors: | ||||
|     msg: "An error occurred during template compilation." | ||||
|   themeLoad: | ||||
|     msg: "Applying **%s** theme (? formats)" | ||||
|   invalidParamCount: | ||||
|     msg: "Invalid number of parameters. Expected: **%s**." | ||||
|   | ||||
		Reference in New Issue
	
	Block a user