MOBILE-4362 scripts: Fix lang index keys
Co-authored-by: Pau Ferrer Ocaña <crazyserver@gmail.com>
This commit is contained in:
		
							parent
							
								
									834743f096
								
							
						
					
					
						commit
						93783d207a
					
				| @ -22,7 +22,7 @@ function copy_lang { | ||||
|     lang=$1 | ||||
| 
 | ||||
|     index_keys=$(jq -r 'to_entries[] | "\"\(.key)\","' langindex.json) | ||||
|     index_keys=$(echo "$index_keys" | sed 's/,*$//') | ||||
|     index_keys=${index_keys:0:-1} | ||||
| 
 | ||||
|     hyphenlang=${lang/_/-} | ||||
|     langfilepath=$LANG_PATH/$hyphenlang.json | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user