* Get the list of fallback locales * @param {string} [lc] If empty or undefined, defaults to `this.locale` * @returns {string[]}
(lc)
| 192 | * @returns {string[]} |
| 193 | */ |
| 194 | getFallback(lc) { |
| 195 | if (!lc) lc = this.locale; |
| 196 | return ( |
| 197 | this._fallback[lc] || |
| 198 | (lc === this.defaultLocale || !this.defaultLocale |
| 199 | ? [] |
| 200 | : [this.defaultLocale]) |
| 201 | ); |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * Set the fallback locale or locales for `lc` |
no outgoing calls
no test coverage detected