stremiok 2.3.3 → 2.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +6 -5
  3. package/config.xml +1 -1
  4. package/css/style.css +5 -0
  5. package/index.html +42 -39
  6. package/js/app.js +7 -3
  7. package/js/downloads.js +16 -16
  8. package/js/epg.js +2 -3
  9. package/js/hubpreview.js +1 -1
  10. package/js/i18n.js +108 -0
  11. package/js/iptv.js +13 -13
  12. package/js/jellyfin.js +62 -29
  13. package/js/lang/ar.js +1941 -0
  14. package/js/lang/de.js +1941 -0
  15. package/js/lang/es.js +1941 -0
  16. package/js/lang/fi.js +1941 -0
  17. package/js/lang/fr.js +1941 -0
  18. package/js/lang/he.js +1941 -0
  19. package/js/lang/hi.js +1941 -0
  20. package/js/lang/it.js +1941 -0
  21. package/js/lang/ja.js +1941 -0
  22. package/js/lang/ko.js +1941 -0
  23. package/js/lang/languages.js +21 -0
  24. package/js/lang/pl.js +1941 -0
  25. package/js/lang/pt-BR.js +1941 -0
  26. package/js/lang/ru.js +1941 -0
  27. package/js/lang/tr.js +1941 -0
  28. package/js/lang/zh-CN.js +1941 -0
  29. package/js/local.js +9 -9
  30. package/js/netfolders.js +13 -13
  31. package/js/player-audio.js +17 -17
  32. package/js/player-controls.js +100 -100
  33. package/js/player-core.js +60 -57
  34. package/js/player-lang.js +22 -22
  35. package/js/player-quality.js +15 -15
  36. package/js/player-store.js +25 -18
  37. package/js/player-subs.js +69 -69
  38. package/js/plex.js +69 -21
  39. package/js/stremio-account.js +17 -12
  40. package/js/stremio-sync.js +641 -0
  41. package/js/stremio.js +79 -76
  42. package/js/stvod.js +4 -4
  43. package/js/trakt.js +23 -23
  44. package/js/tvapps.js +4 -4
  45. package/js/util.js +39 -27
  46. package/js/view-core.js +109 -92
  47. package/js/view-detail.js +135 -126
  48. package/js/view-discover.js +27 -27
  49. package/js/view-guide.js +13 -13
  50. package/js/view-home.js +148 -120
  51. package/js/view-search.js +25 -25
  52. package/js/view-settings.js +735 -643
  53. package/js/xtvod.js +2 -2
  54. package/js/youtube.js +17 -17
  55. package/js/ytplay.js +11 -6
  56. package/package.json +1 -1
  57. package/tizenbrew.html +1 -1
@@ -28,7 +28,7 @@
28
28
  // until you search a name; OK on one opens their page (their movies and series). Shaped
29
29
  // like an addon's catalog, so the pickers, search field, paging and focus work as they do
30
30
  // for titles; loadMore asks TMDB a page at a time (Stremio.tmdbPeople).
31
- var PEOPLE = { type: 'people', id: 'people', name: 'Popular', label: 'Popular', __people: true,
31
+ var PEOPLE = { type: 'people', id: 'people', name: 'Popular', label: U.t('Popular'), __people: true,
32
32
  addon: { url: 'tmdb:people', base: 'tmdb:people', __local: true, manifest: { id: 'tmdb.people', name: 'TMDB' } },
33
33
  def: { extra: [{ name: 'search' }, { name: 'skip' }] } };
34
34
  function withPeople(cats) {
@@ -49,10 +49,10 @@
49
49
  var out = cats.slice();
50
50
  ['movie', 'series'].forEach(function (type) {
51
51
  var kind = type === 'series' ? 'tv' : 'movie';
52
- out.push(browseCat(type, 'trending', 'Trending this week', { list: 'trending' }));
53
- out.push(browseCat(type, 'popular', 'Popular', { list: 'popular' }));
52
+ out.push(browseCat(type, 'trending', U.t('Trending this week'), { list: 'trending' }));
53
+ out.push(browseCat(type, 'popular', U.t('Popular'), { list: 'popular' }));
54
54
  var provs = Stremio.tmdbProvidersKept(kind);
55
- if (provs) { provs.forEach(function (p) { out.push(browseCat(type, 'p' + p.id, 'On ' + p.name, { list: 'provider', provider: p.id })); }); }
55
+ if (provs) { provs.forEach(function (p) { out.push(browseCat(type, 'p' + p.id, U.t('On {service}', { service: p.name }), { list: 'provider', provider: p.id })); }); }
56
56
  else if (!_provAsked[kind]) { // (asked once: when they come, Discover is drawn again with them)
57
57
  _provAsked[kind] = true;
58
58
  Stremio.tmdbProviders(kind).then(function (list) {
@@ -90,7 +90,7 @@
90
90
  if (!opts && def.genres) { opts = def.genres; required = (def.extraRequired || []).indexOf('genre') !== -1; }
91
91
  if (!opts || !opts.length) { return null; }
92
92
  var years = opts.every(function (o) { return /^\d{4}$/.test('' + o); });
93
- return { options: opts, required: required, label: years ? 'Year' : 'Genre' };
93
+ return { options: opts, required: required, label: years ? U.t('Year') : U.t('Genre') };
94
94
  }
95
95
  // Where a search in this catalog goes: the catalog itself when it takes an optional
96
96
  // search (IPTV's do), else its addon's search catalog for the same type (a genre doesn't
@@ -143,7 +143,7 @@
143
143
  if (empty) { all[k] = { t: Date.now(), n: (all[k] ? all[k].n : 0) + 1 }; } else if (all[k]) { delete all[k]; } else { return; }
144
144
  U.store.set(EMPTY_KEY, all);
145
145
  }
146
- function catLabel(c) { return c.label + ' · ' + ((c.addon.manifest && c.addon.manifest.name) || 'Addon'); }
146
+ function catLabel(c) { return c.label + ' · ' + ((c.addon.manifest && c.addon.manifest.name) || U.t('Addon')); }
147
147
  function save() {
148
148
  U.store.set(DISCOVER_KEY, { type: _dv.type, cat: Stremio.catalogKey(_dv.cat), value: _dv.value || '' });
149
149
  }
@@ -189,7 +189,7 @@
189
189
  return;
190
190
  }
191
191
  _dv = { cats: null, items: [], seen: {}, gen: 0, focusFirst: true };
192
- s.querySelector('.discover-grid').appendChild(U.el('div', 'row-empty', 'Loading…'));
192
+ s.querySelector('.discover-grid').appendChild(U.el('div', 'row-empty', U.t('Loading…')));
193
193
  Focus.setScope(s, s.querySelector('.tab-pill.active') || undefined);
194
194
  Stremio.listCatalogs().then(function (all) {
195
195
  var cats = extras(all.filter(browsable));
@@ -220,15 +220,15 @@
220
220
  return p;
221
221
  }
222
222
  var types = typesOf(_dv.cats);
223
- pill('Type: ' + Stremio.prettyType(_dv.type) + ' ▾', function () {
224
- pickList('Type', types.map(function (t) { return [t, Stremio.prettyType(t)]; }), _dv.type, function (t) {
223
+ pill(U.t('Type:') + ' ' + Stremio.prettyType(_dv.type) + ' ▾', function () {
224
+ pickList(U.t('Type'), types.map(function (t) { return [t, Stremio.prettyType(t)]; }), _dv.type, function (t) {
225
225
  if (t === _dv.type) { return; }
226
226
  choose(t); reload();
227
227
  });
228
228
  });
229
229
  var ofType = _dv.cats.filter(function (c) { return c.type === _dv.type; });
230
- pill('Catalog: ' + catLabel(_dv.cat) + ' ▾', function () { // (.discover-cat: the one cut short when the bar is full)
231
- pickList('Catalog', ofType.map(function (c) { return [Stremio.catalogKey(c), catLabel(c)]; }), Stremio.catalogKey(_dv.cat), function (k) {
230
+ pill(U.t('Catalog:') + ' ' + catLabel(_dv.cat) + ' ▾', function () { // (.discover-cat: the one cut short when the bar is full)
231
+ pickList(U.t('Catalog'), ofType.map(function (c) { return [Stremio.catalogKey(c), catLabel(c)]; }), Stremio.catalogKey(_dv.cat), function (k) {
232
232
  var c = ofType.filter(function (x) { return Stremio.catalogKey(x) === k; })[0];
233
233
  if (!c || c === _dv.cat) { return; }
234
234
  choose(_dv.type, c); reload();
@@ -236,7 +236,7 @@
236
236
  }).className += ' discover-cat';
237
237
  var f = genreFilter(_dv.cat);
238
238
  if (f) {
239
- pill(f.label + ': ' + (_dv.value ? genreLabel(_dv.value) : 'All') + ' ▾', function () { genrePicker(f, false); });
239
+ pill(f.label + ': ' + (_dv.value ? genreLabel(_dv.value) : U.t('All')) + ' ▾', function () { genrePicker(f, false); });
240
240
  }
241
241
  // Search this catalog: type, then OK / the keyboard's Done
242
242
  var target = searchTarget(_dv.cat);
@@ -244,7 +244,7 @@
244
244
  var input = document.createElement('input');
245
245
  input.type = 'text';
246
246
  input.className = 'focusable discover-search';
247
- input.placeholder = _dv.cat.__people ? '🔍 Search a name' : '🔍 Search';
247
+ input.placeholder = '🔍 ' + (_dv.cat.__people ? U.t('Search a name') : U.t('Search'));
248
248
  input.value = _dv.query || '';
249
249
  input.__onselect = function () { input.focus(); };
250
250
  var apply = function () { setQuery(input.value); };
@@ -256,7 +256,7 @@
256
256
  setTimeout(function () { if (Focus.current() === input && ('' + input.value).trim() !== (_dv.query || '')) { apply(); } }, 0);
257
257
  }, false);
258
258
  bar.appendChild(input);
259
- if (_dv.query) { pill('✕ Clear', function () { setQuery(''); }); }
259
+ if (_dv.query) { pill('✕ ' + U.t('Clear'), function () { setQuery(''); }); }
260
260
  }
261
261
  bar.appendChild(U.el('div', 'discover-count'));
262
262
  updateCount();
@@ -267,8 +267,8 @@
267
267
  var gone = emptyGenres(), ck = Stremio.catalogKey(_dv.cat) + '|';
268
268
  var left = all ? [] : f.options.filter(function (o) { return leftOut(gone[ck + o]) && '' + o !== _dv.value; });
269
269
  var shown = f.options.filter(function (o) { return left.indexOf(o) === -1; });
270
- var opts = (f.required ? [] : [['', 'All']]).concat(shown.map(function (o) { return ['' + o, genreLabel(o)]; }));
271
- if (left.length) { opts.push([SHOW_ALL, 'Show ' + left.length + ' left out (empty lately)']); }
270
+ var opts = (f.required ? [] : [['', U.t('All')]]).concat(shown.map(function (o) { return ['' + o, genreLabel(o)]; }));
271
+ if (left.length) { opts.push([SHOW_ALL, U.t('Show {n} left out (empty lately)', { n: left.length })]); }
272
272
  pickList(f.label, opts, _dv.value || '', function (v) {
273
273
  if (v === SHOW_ALL) { genrePicker(f, true); return; }
274
274
  if (v === (_dv.value || '')) { return; }
@@ -278,7 +278,7 @@
278
278
  function searchAddonName() {
279
279
  if (_dv.cat && _dv.cat.__people) { return 'TMDB'; }
280
280
  var t = searchTarget(_dv.cat), a = t && t.cat.addon;
281
- return (a && a.manifest && a.manifest.name) || 'The addon';
281
+ return (a && a.manifest && a.manifest.name) || U.t('The addon');
282
282
  }
283
283
  function setQuery(q) {
284
284
  q = ('' + (q || '')).trim();
@@ -292,10 +292,10 @@
292
292
  var el = scr('discover').querySelector('.discover-count');
293
293
  if (!el) { return; }
294
294
  var n = _dv.items.length;
295
- var what = _dv.query ? (n === 1 ? ' result' : ' results') + ' for “' + _dv.query + '”' : (_dv.cat && _dv.cat.__people ? (n === 1 ? ' person' : ' people') : ' titles');
296
- el.textContent = _dv.loading ? (n ? n + what + ' · loading more…' : (_dv.query ? 'Searching…' : 'Loading…'))
297
- : _dv.error ? (_dv.query ? 'Search failed' : 'Couldn’t load this catalog')
298
- : (_dv.done ? n + what : n + what + ' so far') + (_dv.stale ? ' · from earlier: the addon sent nothing just now' : '');
295
+ var count = _dv.query ? U.tn(n, '{n} result for “{q}”', '{n} results for “{q}”', { q: _dv.query }) : (_dv.cat && _dv.cat.__people ? U.tn(n, '{n} person', '{n} people') : U.t('{n} titles', { n: n }));
296
+ el.textContent = _dv.loading ? (n ? count + ' · ' + U.t('loading more…') : (_dv.query ? U.t('Searching…') : U.t('Loading…')))
297
+ : _dv.error ? (_dv.query ? U.t('Search failed') : U.t('Couldn’t load this catalog'))
298
+ : (_dv.done ? count : U.t('{count} so far', { count: count })) + (_dv.stale ? ' · ' + U.t('from earlier: the addon sent nothing just now') : '');
299
299
  }
300
300
 
301
301
  // A new type / catalog / filter: start over from its first page, then focus its first title.
@@ -348,20 +348,20 @@
348
348
  _dv.cardEls = []; _dv.cols = 0;
349
349
  if (_dv.offset === undefined || _dv.offset > _dv.items.length) { _dv.offset = 0; }
350
350
  if (_dv.cats && !_dv.cats.length) {
351
- grid.appendChild(U.el('div', 'row-empty', 'No catalogs to browse. Add catalog addons in Settings.'));
351
+ grid.appendChild(U.el('div', 'row-empty', U.t('No catalogs to browse. Add catalog addons in Settings.')));
352
352
  return;
353
353
  }
354
354
  appendCards(_dv.items.slice(_dv.offset, _dv.offset + WINDOW));
355
355
  if (_dv.done && !_dv.items.length) {
356
356
  // (addons can answer nothing when they're busy, YouTubio among them: a way to ask again)
357
- var retry = U.el('div', 'pill focusable discover-retry', '↻ Try again');
357
+ var retry = U.el('div', 'pill focusable discover-retry', U.t('↻ Try again'));
358
358
  retry.__onselect = function () { reload(); };
359
359
  var empty = U.el('div', 'discover-empty'); // (the message, then the button under it: a line of their own, not cards)
360
360
  grid.appendChild(empty);
361
- empty.appendChild(U.el('div', 'row-empty', _dv.error ? (_dv.query ? searchAddonName() + ' didn’t answer this search (its search can be slow or busy). OK on the search field tries again.' : 'Couldn’t load this catalog.')
362
- : _dv.query ? (_dv.cat && _dv.cat.__people ? 'No one called “' + _dv.query + '” on TMDB.' : 'Nothing matches “' + _dv.query + '”.') : !_dv.value ? 'Nothing here.'
363
- : 'Nothing here. The addon lists “' + genreLabel(_dv.value) + '” but has nothing in it ' + (leftOut(emptyGenres()[Stremio.catalogKey(_dv.cat) + '|' + _dv.value])
364
- ? 'again; it’s left out of the list for a day.' : 'just now.')));
361
+ empty.appendChild(U.el('div', 'row-empty', _dv.error ? (_dv.query ? U.t('{addon} didn’t answer this search (its search can be slow or busy). OK on the search field tries again.', { addon: searchAddonName() }) : U.t('Couldn’t load this catalog.'))
362
+ : _dv.query ? (_dv.cat && _dv.cat.__people ? U.t('No one called “{q}” on TMDB.', { q: _dv.query }) : U.t('Nothing matches “{q}”.', { q: _dv.query })) : !_dv.value ? U.t('Nothing here.')
363
+ : (leftOut(emptyGenres()[Stremio.catalogKey(_dv.cat) + '|' + _dv.value])
364
+ ? U.t('Nothing here. The addon lists “{genre}” but has nothing in it again; it’s left out of the list for a day.', { genre: genreLabel(_dv.value) }) : U.t('Nothing here. The addon lists “{genre}” but has nothing in it just now.', { genre: genreLabel(_dv.value) }))));
365
365
  empty.appendChild(retry);
366
366
  }
367
367
  }
package/js/view-guide.js CHANGED
@@ -29,7 +29,7 @@
29
29
  stopFinding(); // (a lookup from the grid drawn before: stopped)
30
30
  var now = Date.now() / 1000, chans = EPG.guided(), was = _g;
31
31
  var g = _g = { el: rows, start: floorStep(now), live: true, chans: chans, lists: {}, asked: {}, failed: {}, got: {}, top: 0, nodes: [], at: Date.now(), gen: EPG.generation ? EPG.generation() : 0 }; // (live: the hours show the present, and follow the clock: tick)
32
- if (!chans.length) { rows.appendChild(U.el('div', 'row-empty', 'No TV guide yet (Settings › Content › IPTV › Guide link).')); return; }
32
+ if (!chans.length) { rows.appendChild(U.el('div', 'row-empty', U.t('No TV guide yet (Settings › Content › IPTV › Guide link).'))); return; }
33
33
  if (was && was.at && !was.reading && Date.now() - was.at < REUSE_MS && was.gen === g.gen && sameChans(was, chans)) {
34
34
  var f = Focus.current(), want = (f && was.box && was.box.contains(f) && f.__chan) ? (f.__loading ? { id: f.__chan, t: f.__t } : { id: f.__chan, start: f.__p.start }) : null;
35
35
  g.lists = was.lists; g.asked = was.asked; g.failed = was.failed || {}; g.got = was.got || {}; g.at = was.at; g.top = was.top;
@@ -39,7 +39,7 @@
39
39
  if (n && (want || !cur || !document.documentElement.contains(cur) || /\b(tab-pill|hchip)\b/.test(cur.className || ''))) { Focus.setScope(scr('home'), n); }
40
40
  return;
41
41
  }
42
- rows.appendChild(U.el('div', 'row-empty guide-loading', 'Reading the TV guide…'));
42
+ rows.appendChild(U.el('div', 'row-empty guide-loading', U.t('Reading the TV guide…')));
43
43
  ensure(g).then(function () {
44
44
  if (_g !== g || !document.documentElement.contains(rows)) { return; }
45
45
  var first = draw(g);
@@ -136,7 +136,7 @@
136
136
  if (loading) { loading.parentNode.removeChild(loading); }
137
137
  var box = U.el('div', 'guide'), now = Date.now() / 1000, end = g.start + SPAN, found = null, first = null;
138
138
  var head = U.el('div', 'guide-head'), hours = U.el('div', 'guide-hours');
139
- head.appendChild(U.el('div', 'guide-corner', EPG.dayTime(g.start).length > 5 ? EPG.dayTime(g.start).split(' ')[0] : 'Today'));
139
+ head.appendChild(U.el('div', 'guide-corner', EPG.dayTime(g.start).length > 5 ? EPG.dayTime(g.start).split(' ')[0] : U.t('Today')));
140
140
  for (var t = g.start; t < end; t += STEP) {
141
141
  var mark = U.el('div', 'guide-time', EPG.hhmm(t));
142
142
  mark.setAttribute('style', 'left: ' + pct((t - g.start) / SPAN) + '%');
@@ -165,11 +165,11 @@
165
165
  n.__goDOWN = function () { return vertical(g, r, 1, n); };
166
166
  }
167
167
  if (!(c.id in g.lists)) { // (not read yet: says so, and can be passed through)
168
- var wait = U.el('div', 'guide-prog guide-wait focusable', g.failed[c.id] ? 'Its TV guide didn’t come: asked again shortly' : 'Loading…');
168
+ var wait = U.el('div', 'guide-prog guide-wait focusable', g.failed[c.id] ? U.t('Its TV guide didn’t come: asked again shortly') : U.t('Loading…'));
169
169
  wait.setAttribute('style', 'left: 0%; width: 100%');
170
170
  wait.__p = { start: g.start, stop: end, title: '' }; wait.__loading = true;
171
171
  wait.__t = want && want.id === c.id && typeof want.t === 'number' ? want.t : Math.max(now, g.start);
172
- wait.__meta = { name: c.name, releaseInfo: 'Reading its TV guide…' };
172
+ wait.__meta = { name: c.name, releaseInfo: U.t('Reading its TV guide…') };
173
173
  hooks(wait, -1);
174
174
  wait.__onlongpress = function () { hold(g, r, null); };
175
175
  if (!c.guideOnly) { wait.__onselect = function () { playChannel(g, r); }; wait.__onplay = function () { playChannel(g, r, true); }; } // (OK: the channel, as for what's on now)
@@ -182,7 +182,7 @@
182
182
  var on = p.start <= now && now < p.stop, a = Math.max(p.start, g.start), b = Math.min(p.stop, end);
183
183
  var n = U.el('div', 'guide-prog focusable' + (on ? ' now' : ''), p.title);
184
184
  n.setAttribute('style', 'left: ' + pct((a - g.start) / SPAN) + '%; width: ' + pct((b - a) / SPAN) + '%');
185
- n.__meta = { name: p.title, releaseInfo: c.name + ' · ' + EPG.dayTime(p.start) + '–' + EPG.hhmm(p.stop) + (c.guideOnly ? ' · OK: find it in your addons' : ''), description: p.desc, picture: p.picture };
185
+ n.__meta = { name: p.title, releaseInfo: c.name + ' · ' + EPG.dayTime(p.start) + '–' + EPG.hhmm(p.stop) + (c.guideOnly ? ' · ' + U.t('OK: find it in your addons') : ''), description: p.desc, picture: p.picture };
186
186
  n.__p = p; n.__i = i;
187
187
  n.__onselect = function () { pick(g, r, p); };
188
188
  n.__onlongpress = function () { hold(g, r, p); };
@@ -207,7 +207,7 @@
207
207
  g.nodes[r] = nodes;
208
208
  });
209
209
  if (!any && g.chans.slice(g.top, g.top + ROWS).every(function (c) { return c.id in g.lists; })) {
210
- box.appendChild(U.el('div', 'row-empty guide-empty', 'Nothing on any channel in these hours.'));
210
+ box.appendChild(U.el('div', 'row-empty guide-empty', U.t('Nothing on any channel in these hours.')));
211
211
  }
212
212
  if (old) { g.el.removeChild(old); } // (the grid is all the tab has)
213
213
  g.el.appendChild(box);
@@ -308,7 +308,7 @@
308
308
  if (c.guideOnly) { findInAddons(p); return; }
309
309
  if (p.start <= now && now < p.stop) { playChannel(g, r); return; }
310
310
  U.toast(EPG.dayTime(p.start) + '–' + EPG.hhmm(p.stop) + ' ' + c.name + ' · ' + p.title + (p.desc ? ': ' + p.desc : '') +
311
- (p.stop <= now ? ' (already shown)' : ''), 8000);
311
+ (p.stop <= now ? ' ' + U.t('(already shown)') : ''), 8000);
312
312
  }
313
313
 
314
314
  // Hold OK on a program: ▶ Watch now (what's on now, a channel that plays), ★ Add to / Remove
@@ -316,14 +316,14 @@
316
316
  // OK). p: null for a channel whose guide hasn't come (Watch now, its favorites).
317
317
  function hold(g, r, p) {
318
318
  var c = g.chans[r], now = Date.now() / 1000, fav = IPTV.isFavorite(c.id), items = [];
319
- if (!c.guideOnly && (!p || (p.start <= now && now < p.stop))) { items.push(['play', '▶ Watch now']); }
320
- items.push(['fav', fav ? '★ Remove from favorites' : '★ Add to favorites']);
321
- if (p && p.title) { items.push(['find', '🔍 Find in your addons']); }
319
+ if (!c.guideOnly && (!p || (p.start <= now && now < p.stop))) { items.push(['play', U.t('▶ Watch now')]); }
320
+ items.push(['fav', fav ? U.t('★ Remove from favorites') : U.t('★ Add to favorites')]);
321
+ if (p && p.title) { items.push(['find', U.t('🔍 Find in your addons')]); }
322
322
  pickList(c.name + (p && p.title ? ' · ' + p.title : ''), items, items[0][0], function (v) {
323
323
  if (v === 'play') { if (p) { pick(g, r, p); } else { playChannel(g, r); } return; }
324
324
  if (v === 'find') { findInAddons(p); return; }
325
325
  IPTV.setFavorite(c.id, !fav);
326
- U.toast(fav ? 'Removed from favorites' : 'Added to favorites: ★ Favorites, first on the IPTV and Guide tabs', 3000);
326
+ U.toast(fav ? U.t('Removed from favorites') : U.t('Added to favorites: ★ Favorites, first on the IPTV and Guide tabs'), 3000);
327
327
  refreshAddonRows('local:iptv');
328
328
  });
329
329
  }
@@ -344,7 +344,7 @@
344
344
  function search() { App.openSearch(); Views.searchFor(p.title); }
345
345
  if (p.kind === 'series') { search(); return; }
346
346
  var gen = _finding, grid = _g, cancel = _findCancel = U.cancelToken();
347
- U.spinner(true, 'Looking for “' + p.title + '”…');
347
+ U.spinner(true, U.t('Looking for “{title}”…', { title: p.title }));
348
348
  function done(hit) {
349
349
  if (gen !== _finding) { return; }
350
350
  _findCancel = null;