preparing document submission
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -8,6 +8,7 @@ export async function loadTranslation(lang){
|
||||
}
|
||||
|
||||
export function t(key,...args){
|
||||
if (key === undefined) return "";
|
||||
if (key instanceof Response) key = 'status.'+key.status;
|
||||
let set = translations.values;
|
||||
let keys = key.split('.');
|
||||
|
||||
Reference in New Issue
Block a user