Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devforth/painterro
/ addTranslation
Method
addTranslation
js/translation.js:43–45 ·
view source on GitHub ↗
(name, dict)
Source
from the content-addressed store, hash-verified
41
}
42
43
addTranslation(name, dict) {
44
this.translations[name] = dict;
45
}
46
47
activate(trans) {
48
if
(this.translations[trans] !== undefined) {
Callers
1
setDefaults
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected