mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 23:37:41 +00:00
4.13.1
* Changed: Improve the Translation Tester UI to make it considerably more useful. * Changed: Load a list of known strings from the server when in Capture Mode so that we can check to see which strings are actually new or changed. * Fixed: Drop-down menu options in the control center not being assigned localization keys. * Fixed: Durations not being localized correctly. * Fixed: i18n name collision for the Ban chat action.
This commit is contained in:
parent
7f0cad4bd4
commit
14e9f10685
15 changed files with 790 additions and 135 deletions
|
@ -315,6 +315,9 @@ export function substr_count(str, needle) {
|
|||
* @returns {*} The value at that point in the path, or undefined if part of the path doesn't exist.
|
||||
*/
|
||||
export function get(path, object) {
|
||||
if ( HOP.call(object, path) )
|
||||
return object[path];
|
||||
|
||||
if ( typeof path === 'string' )
|
||||
path = path.split('.');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue