@shift72/core-template 0.6.0-alpha.0 → 1.0.0

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 (76) hide show
  1. package/.github/pull_request_template.md +47 -0
  2. package/.github/workflows/node.js.yml +1 -1
  3. package/CHANGELOG.md +35 -1
  4. package/kibble.json +2 -2
  5. package/package.json +1 -1
  6. package/site/ar_LB.all.json +41 -19
  7. package/site/ca_ES.all.json +33 -19
  8. package/site/da_DK.all.json +33 -19
  9. package/site/de_DE.all.json +33 -19
  10. package/site/el_EL.all.json +33 -19
  11. package/site/en_AU.all.json +17 -3
  12. package/site/es_ES.all.json +33 -19
  13. package/site/es_MX.all.json +30 -16
  14. package/site/et_ET.all.json +33 -19
  15. package/site/fi_FI.all.json +33 -19
  16. package/site/fr_FR.all.json +33 -19
  17. package/site/hr_HR.all.json +35 -19
  18. package/site/hu_HU.all.json +33 -19
  19. package/site/it_IT.all.json +33 -19
  20. package/site/ja_JP.all.json +31 -19
  21. package/site/lt_LT.all.json +37 -19
  22. package/site/nl_BE.all.json +32 -18
  23. package/site/no_NO.all.json +33 -19
  24. package/site/pl_PL.all.json +37 -19
  25. package/site/pt_BR.all.json +33 -19
  26. package/site/pt_PT.all.json +33 -19
  27. package/site/ru_RU.all.json +43 -25
  28. package/site/sr_SR.all.json +35 -19
  29. package/site/static/js/main.js +1 -1
  30. package/site/static/scripts/main.js.map +1 -1
  31. package/site/styles/_buttons.scss +32 -27
  32. package/site/styles/_can-be-watched-button.scss +0 -20
  33. package/site/styles/_carousel.scss +125 -307
  34. package/site/styles/_collections.scss +6 -11
  35. package/site/styles/_cta-buttons.scss +262 -0
  36. package/site/styles/_forms.scss +1 -2
  37. package/site/styles/_icons.scss +3 -1
  38. package/site/styles/_legacy.scss +1 -43
  39. package/site/styles/_meta-detail.scss +20 -194
  40. package/site/styles/_meta-item-tagline.scss +33 -0
  41. package/site/styles/_meta-item.scss +0 -4
  42. package/site/styles/_meta-sub-item.scss +116 -0
  43. package/site/styles/_mixins.scss +45 -0
  44. package/site/styles/_nav.scss +1 -1
  45. package/site/styles/_pages.scss +4 -13
  46. package/site/styles/_plans.scss +14 -0
  47. package/site/styles/_shift72.scss +4 -0
  48. package/site/styles/_variables.scss +2 -4
  49. package/site/styles/main.scss +2 -1
  50. package/site/templates/bundle/item.jet +2 -4
  51. package/site/templates/collection/carousel/carousel.jet +27 -0
  52. package/site/templates/collection/carousel/item/image.jet +5 -0
  53. package/site/templates/collection/carousel/item/synopsis.jet +5 -0
  54. package/site/templates/collection/carousel/item/tagline.jet +7 -0
  55. package/site/templates/collection/carousel/item/title.jet +3 -0
  56. package/site/templates/collection/carousel/item.jet +41 -0
  57. package/site/templates/collection/carousel/pagination.jet +9 -0
  58. package/site/templates/collection/page_collection.jet +2 -2
  59. package/site/templates/common/cta_buttons.jet +70 -0
  60. package/site/templates/common/social-media-buttons.jet +2 -2
  61. package/site/templates/film/item.jet +6 -16
  62. package/site/templates/items/sub_item.jet +22 -0
  63. package/site/templates/items/tagline.jet +2 -2
  64. package/site/templates/page/homepage.jet +2 -3
  65. package/site/templates/tv/detail.jet +10 -18
  66. package/site/tr_TR.all.json +33 -19
  67. package/site/uk_UA.all.json +37 -19
  68. package/site/zh_TW.all.json +31 -19
  69. package/site/styles/_homepage.scss +0 -3
  70. package/site/templates/bundle/buttons.jet +0 -6
  71. package/site/templates/bundle/extras.jet +0 -13
  72. package/site/templates/collection/carousel.jet +0 -27
  73. package/site/templates/collection/carousel_item.jet +0 -68
  74. package/site/templates/items/bonus_item.jet +0 -23
  75. package/site/templates/items/featured_item.jet +0 -61
  76. package/site/templates/tv/episode.jet +0 -21
@@ -1,11 +1,11 @@
1
1
  {{extends "../application/application.jet"}}
2
2
  {{import "../common/slider.jet"}}
3
3
  {{import "../items/tagline.jet"}}
4
- {{import "../items/bonus_item.jet"}}
4
+ {{import "../items/sub_item.jet"}}
5
5
  {{import "../collection/page_collection_item.jet"}}
6
- {{import "./episode.jet"}}
7
6
  {{import "../common/list.jet"}}
8
- {{import "../common/social-media-buttons.jet"}}
7
+ {{import "../common/cta_buttons.jet"}}
8
+
9
9
  {{block head()}}
10
10
  {{yield seo() tvseason}}
11
11
  {{end}}
@@ -35,17 +35,9 @@
35
35
  {{yield metaItemTagline() tvseason}}
36
36
  </div>
37
37
  <s72-availability-label data-slug="{{tvseason.Slug}}"></s72-availability-label>
38
- <div class="meta-detail-buttons">
39
- <s72-play-button data-slug="{{tvseason.Slug}}" data-title="{{tvseason.Title}}"></s72-play-button>
40
- <s72-pricing-buttons data-slug="{{tvseason.Slug}}" data-title="{{tvseason.Title}}"></s72-pricing-buttons>
41
- <div class="meta-detail-extras">
42
- {{if len(tvseason.Trailers) > 0 }}
43
- <s72-modal-player src="{{tvseason.Trailers[0].URL}}" class="s72-btn-trailer" data-slug="{{tvseason.Slug}}" data-label="{{i18n("play_trailer")}}" autoplay="querystring"></s72-modal-player>
44
- {{end}}
45
- <s72-userwishlist-button data-slug="{{tvseason.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
46
- {{yield socialMediaButtons(path=currentUrlPath)}}
47
- </div>
48
- </div>
38
+
39
+ {{yield ctaButtons(itemType="tvseason") tvseason}}
40
+
49
41
  <div class="element-switcher-wrapper">
50
42
  <s72-element-switcher>
51
43
  {{if isEnabled("element_switcher_enabled")}}
@@ -84,8 +76,8 @@
84
76
  <h2>{{i18n("meta_detail_episodes_title")}}</h2>
85
77
  {{yield list(itemsPerRow=4, itemLayout="portrait") content}}
86
78
  {{range episode := tvseason.Episodes}}
87
- <div class="episode-item">
88
- {{yield episodeCollectionItem(item=episode)}}
79
+ <div class="sub-item">
80
+ {{yield subItem(item=episode)}}
89
81
  </div>
90
82
  {{end}}
91
83
  {{end}}
@@ -97,8 +89,8 @@
97
89
  <h2>{{i18n("meta_detail_bonus_title")}}</h2>
98
90
  {{yield list(itemsPerRow=4, itemLayout="landscape") content}}
99
91
  {{range bonus := tvseason.Bonuses}}
100
- <div class="bonus-item">
101
- {{yield bonusItem(item=bonus)}}
92
+ <div class="sub-item">
93
+ {{yield subItem(item=bonus)}}
102
94
  </div>
103
95
  {{end}}
104
96
  {{end}}
@@ -152,7 +152,7 @@
152
152
  "other": "Bağlantı paylaşımı"
153
153
  },
154
154
  "social_media_buttons_copied_link": {
155
- "other": "Link kopyalandı!"
155
+ "other": "Bağlantı kopyalandı"
156
156
  },
157
157
  "social_media_buttons_copy_link": {
158
158
  "other": "Bağlantıyı kopyala"
@@ -660,7 +660,7 @@
660
660
  "other": "Kütüphanenizi görüntüle"
661
661
  },
662
662
  "shopping_complete_plan": {
663
- "other": "{{ .Title }} satın alma işleminiz başarılı oldu."
663
+ "other": "{{.Title}} satın alma işleminiz başarılı oldu."
664
664
  },
665
665
  "shopping_complete_rental_watch_window_start": {
666
666
  "one": "Artık önümüzdeki günde filmi izlemeye başlayabilirsiniz.",
@@ -1007,33 +1007,38 @@
1007
1007
  "other": "Fiyat"
1008
1008
  },
1009
1009
  "shopping_price_plan_note": {
1010
- "zero": "Her {{ .Interval }} .",
1011
- "one": "24 saatlik ücretsiz deneme süreniz sona erdikten sonra her {{ .Interval }}",
1012
- "other": "Her Ücretli {{ .Interval }} sizin sonra {{ .Count }} günlük ücretsiz deneme sürümü bitmeden."
1010
+ "one": "24 saatlik ücretsiz deneme süreniz sona erdikten sonra her {{.Interval}}",
1011
+ "other": "Her Ücretli {{.Interval}} sizin sonra {{.Count}} günlük ücretsiz deneme sürümü bitmeden."
1012
+ },
1013
+ "shopping_price_plan_note_without_trial": {
1014
+ "other": "Her {{.Interval}} ."
1013
1015
  },
1014
1016
  "shopping_price_plan_note_interval": {
1015
- "one": "{{ .Interval }}",
1016
- "other": "{{ .Count }} {{ .Interval }}"
1017
+ "one": "{{.Interval}}",
1018
+ "other": "{{.Count}} {{.Interval}}"
1017
1019
  },
1018
- "shopping_enter_card_prompt_plan": {
1020
+ "shopping_enter_card_prompt_subscription": {
1019
1021
  "other": "Aboneliğinizi başlatmak için aşağıya kredi kartı bilgilerinizi girin."
1020
1022
  },
1023
+ "shopping_enter_card_prompt_plan": {
1024
+ "other": "Planınızı başlatmak için aşağıya kredi kartı bilgilerinizi girin."
1025
+ },
1021
1026
  "shopping_action_plan": {
1022
1027
  "other": "Tamamlayınız"
1023
1028
  },
1024
1029
  "shopping_complete_subscription": {
1025
- "other": "Abonelik satın alma işleminiz başarılı oldu. Artık {{ .Title }} ."
1030
+ "other": "Abonelik satın alma işleminiz başarılı oldu. Artık {{.Title}} ."
1026
1031
  },
1027
1032
  "shopping_complete_subscription_browse": {
1028
1033
  "other": "Sitede <a href=\"/\">gezinmekten</a> veya belirli bir şey <a href=\"/search.html\">aramaktan</a> çekinmeyin."
1029
1034
  },
1030
1035
  "shopping_info_plan_offer": {
1031
- "one": "{{ .Interval }} otomatik olarak yeniler",
1032
- "other": "Otomatik olarak her yeniler {{ .Count }} {{ .Interval }}"
1036
+ "one": "{{.Interval}} otomatik olarak yeniler",
1037
+ "other": "Otomatik olarak her yeniler {{.Count}} {{.Interval}}"
1033
1038
  },
1034
1039
  "shopping_info_trial_period_offer": {
1035
1040
  "one": "24 saatlik ücretsiz denemenizi şimdi deneyin!",
1036
- "other": "Ücretsiz {{ .Count }} günlük denemenizi deneyin!"
1041
+ "other": "Ücretsiz {{.Count}} günlük denemenizi deneyin!"
1037
1042
  },
1038
1043
  "plans_page_header": {
1039
1044
  "other": "Mevcut Planlar"
@@ -1051,7 +1056,7 @@
1051
1056
  "other": "Devamını oku"
1052
1057
  },
1053
1058
  "plan_page_header_text": {
1054
- "other": "Keyfini çıkarın {{ .Name }}"
1059
+ "other": "Keyfini çıkarın {{.Name}}"
1055
1060
  },
1056
1061
  "page_plan_explore_intro": {
1057
1062
  "other": "VEYA"
@@ -1107,6 +1112,9 @@
1107
1112
  "wcag_aria_label_carousel": {
1108
1113
  "other": "Atlıkarınca"
1109
1114
  },
1115
+ "wcag_aria_label_carousel_pagination": {
1116
+ "other": "sayfalandırma"
1117
+ },
1110
1118
  "wcag_aria_label_page_collection": {
1111
1119
  "other": "Sayfa Koleksiyonu"
1112
1120
  },
@@ -1288,21 +1296,27 @@
1288
1296
  "other": "aboneliklerim"
1289
1297
  },
1290
1298
  "usersubscriptions_subscription_expiry_trialing": {
1291
- "other": "İlk ödeme {{ .Expiry }}"
1299
+ "other": "İlk ödeme {{.Expiry}}"
1292
1300
  },
1293
1301
  "usersubscriptions_subscription_expiry_active": {
1294
- "other": "Sonraki {{ .Expiry }}"
1302
+ "other": "Sonraki {{.Expiry}}"
1295
1303
  },
1296
1304
  "usersubscriptions_subscription_expiry_past_due": {
1297
- "other": "Ödeme vadesi {{ .Expiry }}"
1305
+ "other": "Ödeme vadesi {{.Expiry}}"
1298
1306
  },
1299
1307
  "usersubscriptions_subscription_expiry_cancelled": {
1300
- "other": "Sona {{ .Expiry }}"
1308
+ "other": "Sona {{.Expiry}}"
1301
1309
  },
1302
1310
  "usersubscriptions_subscription_expiry_expired": {
1303
- "other": "Sona {{ .Expiry }}"
1311
+ "other": "Sona {{.Expiry}}"
1304
1312
  },
1305
1313
  "sponsor_image_alt": {
1306
1314
  "other": "sponsor logosu"
1315
+ },
1316
+ "subscribe_to_watch": {
1317
+ "other": "izlemek için abone ol"
1318
+ },
1319
+ "bundle_items_generic": {
1320
+ "other": "{{.Count}} öğeler"
1307
1321
  }
1308
- }
1322
+ }
@@ -154,7 +154,7 @@
154
154
  "other": "Поділитися посиланням"
155
155
  },
156
156
  "social_media_buttons_copied_link": {
157
- "other": "Посилання скопійовано в буфер обміну!"
157
+ "other": "Посилання скопійовано"
158
158
  },
159
159
  "social_media_buttons_copy_link": {
160
160
  "other": "Копіювати посилання"
@@ -725,7 +725,7 @@
725
725
  "other": "Подивитися вашу бібліотеку"
726
726
  },
727
727
  "shopping_complete_plan": {
728
- "other": "Ваша покупка {{ .Title }} була успішною."
728
+ "other": "Ваша покупка {{.Title}} була успішною."
729
729
  },
730
730
  "shopping_complete_rental_watch_window_start": {
731
731
  "one": "Тепер ви можете почати дивитися фільм протягом наступного дня.",
@@ -1125,33 +1125,42 @@
1125
1125
  "other": "Ціна"
1126
1126
  },
1127
1127
  "shopping_price_plan_note": {
1128
- "zero": "Стягується через кожний {{ .Interval }} .",
1129
- "one": "Стягується кожні {{ .Interval }} після закінчення 24-годинної безкоштовної пробної версії.",
1130
- "other": "Заряджені кожен {{ .Interval }} після вашого {{ .Count }} дня закінчується безкоштовно суд."
1128
+ "one": "Стягується кожні {{.Interval}} після закінчення 24-годинної безкоштовної пробної версії.",
1129
+ "few": "Заряджені кожен {{.Interval}} після вашого {{.Count}} дня закінчується безкоштовно суд.",
1130
+ "many": "Заряджені кожен {{.Interval}} після вашого {{.Count}} дня закінчується безкоштовно суд.",
1131
+ "other": "Заряджені кожен {{.Interval}} після вашого {{.Count}} дня закінчується безкоштовно суд."
1132
+ },
1133
+ "shopping_price_plan_note_without_trial": {
1134
+ "other": "Стягується через кожний {{.Interval}} ."
1131
1135
  },
1132
1136
  "shopping_price_plan_note_interval": {
1133
- "one": "{{ .Interval }}",
1134
- "other": "{{ .Count }} {{ .Interval }}"
1137
+ "one": "{{.Interval}}",
1138
+ "few": "{{.Count}} {{.Interval}}",
1139
+ "many": "{{.Count}} {{.Interval}}",
1140
+ "other": "{{.Count}} {{.Interval}}"
1135
1141
  },
1136
- "shopping_enter_card_prompt_plan": {
1142
+ "shopping_enter_card_prompt_subscription": {
1137
1143
  "other": "Введіть дані своєї кредитної картки нижче, щоб розпочати підписку."
1138
1144
  },
1145
+ "shopping_enter_card_prompt_plan": {
1146
+ "other": "Введіть дані своєї кредитної картки нижче, щоб розпочати свій план."
1147
+ },
1139
1148
  "shopping_action_plan": {
1140
1149
  "other": "Завершено"
1141
1150
  },
1142
1151
  "shopping_complete_subscription": {
1143
- "other": "Ваша покупка підписки була успішною. Тепер ви підписані на {{ .Title }} ."
1152
+ "other": "Ваша покупка підписки була успішною. Тепер ви підписані на {{.Title}} ."
1144
1153
  },
1145
1154
  "shopping_complete_subscription_browse": {
1146
1155
  "other": "Не соромтеся <a href=\"/\">переглядати</a> сайт або <a href=\"/search.html\">шукати</a> щось конкретне."
1147
1156
  },
1148
1157
  "shopping_info_plan_offer": {
1149
- "one": "Автоматично поновлюється через кожний {{ .Interval }}",
1150
- "other": "Автоматично оновлює кожні {{ .Count }} {{ .Interval }} сек"
1158
+ "one": "Автоматично поновлюється через кожний {{.Interval}}",
1159
+ "other": "Автоматично оновлює кожні {{.Count}} {{.Interval}} сек"
1151
1160
  },
1152
1161
  "shopping_info_trial_period_offer": {
1153
1162
  "one": "Спробуйте безкоштовну 24-годинну пробну версію зараз!",
1154
- "other": "Спробуйте безкоштовну пробну версію {{ .Count }}"
1163
+ "other": "Спробуйте безкоштовну пробну версію {{.Count}}"
1155
1164
  },
1156
1165
  "plans_page_header": {
1157
1166
  "other": "Доступні плани"
@@ -1169,7 +1178,7 @@
1169
1178
  "other": "Детальніше"
1170
1179
  },
1171
1180
  "plan_page_header_text": {
1172
- "other": "Насолоджуйтесь {{ .Name }}"
1181
+ "other": "Насолоджуйтесь {{.Name}}"
1173
1182
  },
1174
1183
  "page_plan_explore_intro": {
1175
1184
  "other": "АБО"
@@ -1231,6 +1240,9 @@
1231
1240
  "wcag_aria_label_carousel": {
1232
1241
  "other": "Карусель"
1233
1242
  },
1243
+ "wcag_aria_label_carousel_pagination": {
1244
+ "other": "Пагінація"
1245
+ },
1234
1246
  "wcag_aria_label_page_collection": {
1235
1247
  "other": "Колекція сторінок"
1236
1248
  },
@@ -1316,21 +1328,27 @@
1316
1328
  "other": "Мої підписки"
1317
1329
  },
1318
1330
  "usersubscriptions_subscription_expiry_trialing": {
1319
- "other": "Перший платіж {{ .Expiry }}"
1331
+ "other": "Перший платіж {{.Expiry}}"
1320
1332
  },
1321
1333
  "usersubscriptions_subscription_expiry_active": {
1322
- "other": "Наступний платіж {{ .Expiry }}"
1334
+ "other": "Наступний платіж {{.Expiry}}"
1323
1335
  },
1324
1336
  "usersubscriptions_subscription_expiry_past_due": {
1325
- "other": "{{ .Expiry }}"
1337
+ "other": "{{.Expiry}}"
1326
1338
  },
1327
1339
  "usersubscriptions_subscription_expiry_cancelled": {
1328
- "other": "Закінчується {{ .Expiry }}"
1340
+ "other": "Закінчується {{.Expiry}}"
1329
1341
  },
1330
1342
  "usersubscriptions_subscription_expiry_expired": {
1331
- "other": "Завершено {{ .Expiry }} закінчився"
1343
+ "other": "Завершено {{.Expiry}} закінчився"
1332
1344
  },
1333
1345
  "sponsor_image_alt": {
1334
1346
  "other": "логотип спонсора"
1347
+ },
1348
+ "subscribe_to_watch": {
1349
+ "other": "Підпишіться на перегляд"
1350
+ },
1351
+ "bundle_items_generic": {
1352
+ "other": "{{.Count}} елементи"
1335
1353
  }
1336
- }
1354
+ }
@@ -155,7 +155,7 @@
155
155
  "other": "链接分享"
156
156
  },
157
157
  "social_media_buttons_copied_link": {
158
- "other": "链接已复制到剪贴板!"
158
+ "other": "鏈接已復制"
159
159
  },
160
160
  "social_media_buttons_copy_link": {
161
161
  "other": "复制链接"
@@ -714,7 +714,7 @@
714
714
  "other": "瀏覽已付費影片"
715
715
  },
716
716
  "shopping_complete_plan": {
717
- "other": "您已成功{{ .Title }}"
717
+ "other": "您已成功{{.Title}}"
718
718
  },
719
719
  "shopping_complete_rental_watch_window_start": {
720
720
  "one": "可於 1 天內開始觀看。",
@@ -1135,6 +1135,9 @@
1135
1135
  "wcag_aria_label_carousel": {
1136
1136
  "other": "輪播"
1137
1137
  },
1138
+ "wcag_aria_label_carousel_pagination": {
1139
+ "other": "分页"
1140
+ },
1138
1141
  "wcag_aria_label_page_collection": {
1139
1142
  "other": "收藏頁面"
1140
1143
  },
@@ -1169,33 +1172,36 @@
1169
1172
  "other": "價錢"
1170
1173
  },
1171
1174
  "shopping_price_plan_note": {
1172
- "zero": "每隔{{ .Interval }}充電。",
1173
- "one": "24 小時免費試用期結束後, {{ .Interval }}收費一次。",
1174
- "other": "{{ .Count }}天免費試用期結束後, {{ .Interval }}收費一次。"
1175
+ "other": "{{.Count}}天免費試用期結束後, {{.Interval}}收費一次。"
1176
+ },
1177
+ "shopping_price_plan_note_without_trial": {
1178
+ "other": "每隔{{.Interval}}充電。"
1175
1179
  },
1176
1180
  "shopping_price_plan_note_interval": {
1177
- "one": "{{ .Interval }}",
1178
- "other": "{{ .Count }} {{ .Interval }}"
1181
+ "other": "{{.Count}} {{.Interval}}"
1179
1182
  },
1180
- "shopping_enter_card_prompt_plan": {
1183
+ "shopping_enter_card_prompt_subscription": {
1181
1184
  "other": "在下面輸入您的信用卡詳細信息以開始訂閱。"
1182
1185
  },
1186
+ "shopping_enter_card_prompt_plan": {
1187
+ "other": "在下面输入您的信用卡详细信息以开始您的计划。"
1188
+ },
1183
1189
  "shopping_action_plan": {
1184
1190
  "other": "完全的"
1185
1191
  },
1186
1192
  "shopping_complete_subscription": {
1187
- "other": "您的訂閱購買成功。您現在訂閱了{{ .Title }} 。"
1193
+ "other": "您的訂閱購買成功。您現在訂閱了{{.Title}} 。"
1188
1194
  },
1189
1195
  "shopping_complete_subscription_browse": {
1190
1196
  "other": "隨意<a href=\"/\">瀏覽</a>網站,或<a href=\"/search.html\">搜索</a>特定內容。"
1191
1197
  },
1192
1198
  "shopping_info_plan_offer": {
1193
- "one": "{{ .Interval }}自動更新",
1194
- "other": "自動更新每個{{ .Count }} {{ .Interval }}"
1199
+ "one": "{{.Interval}}自動更新",
1200
+ "other": "自動更新每個{{.Count}} {{.Interval}}"
1195
1201
  },
1196
1202
  "shopping_info_trial_period_offer": {
1197
1203
  "one": "立即試用您的 24 小時免費試用版!",
1198
- "other": "免費{{ .Count }}天!"
1204
+ "other": "免費{{.Count}}天!"
1199
1205
  },
1200
1206
  "plans_page_header": {
1201
1207
  "other": "可用計劃"
@@ -1213,7 +1219,7 @@
1213
1219
  "other": "閱讀更多"
1214
1220
  },
1215
1221
  "plan_page_header_text": {
1216
- "other": "享受{{ .Name }}"
1222
+ "other": "享受{{.Name}}"
1217
1223
  },
1218
1224
  "page_plan_explore_intro": {
1219
1225
  "other": "或者"
@@ -1288,21 +1294,27 @@
1288
1294
  "other": "我的订阅"
1289
1295
  },
1290
1296
  "usersubscriptions_subscription_expiry_trialing": {
1291
- "other": "第一次付款{{ .Expiry }}"
1297
+ "other": "第一次付款{{.Expiry}}"
1292
1298
  },
1293
1299
  "usersubscriptions_subscription_expiry_active": {
1294
- "other": "下次付款{{ .Expiry }}"
1300
+ "other": "下次付款{{.Expiry}}"
1295
1301
  },
1296
1302
  "usersubscriptions_subscription_expiry_past_due": {
1297
- "other": "到期付款{{ .Expiry }}"
1303
+ "other": "到期付款{{.Expiry}}"
1298
1304
  },
1299
1305
  "usersubscriptions_subscription_expiry_cancelled": {
1300
- "other": "結束{{ .Expiry }}"
1306
+ "other": "結束{{.Expiry}}"
1301
1307
  },
1302
1308
  "usersubscriptions_subscription_expiry_expired": {
1303
- "other": "結束{{ .Expiry }}"
1309
+ "other": "結束{{.Expiry}}"
1304
1310
  },
1305
1311
  "sponsor_image_alt": {
1306
1312
  "other": "赞助商标志"
1313
+ },
1314
+ "subscribe_to_watch": {
1315
+ "other": "订阅观看"
1316
+ },
1317
+ "bundle_items_generic": {
1318
+ "other": "{{.Count}} 项目"
1307
1319
  }
1308
- }
1320
+ }
@@ -1,3 +0,0 @@
1
- .other-sliders {
2
- padding-top: 20px;
3
- }
@@ -1,6 +0,0 @@
1
- {{block bundleButtons(class, slug, title, promoURL)}}
2
- <div class="{{class}}">
3
- <s72-pricing-buttons data-slug="{{slug}}" data-title="{{title}}"></s72-pricing-buttons>
4
- {{yield bundleExtras(class="meta-detail-extras", slug=slug, promoURL=promoURL)}}
5
- </div>
6
- {{end}}
@@ -1,13 +0,0 @@
1
- {{import "../common/social-media-buttons.jet"}}
2
-
3
- {{block bundleExtras(class, promoURL, slug)}}
4
- <div class="{{class}}">
5
- {{if len(promoURL) > 0}}
6
- <s72-modal-player src="{{promoURL}}" class="s72-btn-trailer" data-slug="{{slug}}" data-label="{{i18n("play_trailer")}}" autoplay="querystring"></s72-modal-player>
7
- {{end}}
8
-
9
- <s72-userwishlist-button data-slug="{{slug}}" class="btn-wishlist"></s72-userwishlist-button>
10
-
11
- {{yield socialMediaButtons(path=currentUrlPath)}}
12
- </div>
13
- {{end}}
@@ -1,27 +0,0 @@
1
- {{import "./carousel_item.jet"}}
2
-
3
- {{block pageCollectionCarousel()}}
4
-
5
- {{if len(.Items) > 0}}
6
- <s72-carousel>
7
- <section class="page-collection page-collection-carousel" aria-label="{{i18n("wcag_aria_label_carousel")}}">
8
- <h2 class="sr-only">{{i18n("wcag_carousel_h2")}}</h2>
9
- <div class="s72-carousel-slides">
10
- {{range item := .Items}}
11
- {{yield carouselItem(item=item)}}
12
- {{end}}
13
- </div>
14
-
15
- <div class="s72-carousel-pagination">
16
- {{range index, item := .Items}}
17
- <div class="s72-carousel-page" data-page-index="{{index}}" data-slug="{{item.Slug}}"><span class="fa fa-circle"></span></div>
18
- {{end}}
19
- </div>
20
-
21
- <!-- Controls -->
22
- <a class="left s72-carousel-control"><span class="fa fa-angle-left"></span></a>
23
- <a class="right s72-carousel-control"><span class="fa fa-angle-right"></span></a>
24
- </section>
25
- </s72-carousel>
26
- {{end}}
27
- {{end}}
@@ -1,68 +0,0 @@
1
- {{import "../items/tagline.jet"}}
2
- {{import "../common/awards/carousel.jet"}}
3
- {{import "../common/sponsor-image.jet"}}
4
-
5
- {{block carouselItem(item)}}
6
- {{ trailer := "" }}
7
-
8
- {{ if isset(item.InnerItem["Trailers"]) && len(item.InnerItem.Trailers) > 0}}
9
- {{ trailer = item.InnerItem.Trailers[0].URL }}
10
- {{ else if(item.InnerItem["PromoURL"] && len(item.InnerItem.PromoURL) > 0) }}
11
- {{ trailer = item.InnerItem.PromoURL }}
12
- {{ end }}
13
-
14
- <div class="s72-carousel-item" data-slug="{{item.Slug}}">
15
- <a href="{{routeToSlug(item.Slug)}}" class="carousel-item-link" aria-label="{{item.Title}}">
16
-
17
- {{if isset(item.Images["Carousel"])}}
18
- <s72-image src="{{item.Images.Carousel}}" alt="{{item.Title}}" class="carousel-item-image"></s72-image>
19
- {{end}}
20
-
21
- {{if !isset(item["PageType"]) || item.PageType != "external"}}
22
- <div class="carousel-item-caption">
23
- {{if item.ItemType == "film"}}
24
- {{yield sponsor(hideLink="true") item.InnerItem}}
25
- {{end}}
26
- <div class="meta-item-content">
27
- <h3>{{item.GetTitle(i18n)}}
28
- {{if isset(item.InnerItem["ReleaseDate"]) && item.InnerItem.ReleaseDate.Year() > 1}}
29
- <small>({{item.InnerItem.ReleaseDate.Year()}})</small>
30
- {{end}}
31
- </h3>
32
- <div class="meta-item-tagline-and-classification">
33
- {{yield metaItemTagline() item.InnerItem}}
34
- </div>
35
- <s72-availability-label data-slug="{{item.Slug}}"></s72-availability-label>
36
- <div class="meta-item-buttons">
37
- <s72-play-button data-slug="{{item.Slug}}"></s72-play-button>
38
- <s72-pricing-buttons data-slug="{{item.Slug}}"></s72-pricing-buttons>
39
- {{ if item.ItemType == "film" }}
40
- <can-be-watched-button data-slug="{{item.InnerItem.Slug}}" data-url="{{ item.InnerItem.CustomFields.GetString("can_be_watched_button_link", "") }}" data-label="{{ item.InnerItem.CustomFields.GetString("can_be_watched_button_text", "can_be_watched_button_text") }}"></can-be-watched-button>
41
- {{ end }}
42
- <div class="meta-item-extras">
43
- {{if len(trailer) > 0 }}
44
- <div class="s72-btn-trailer btn-trailer" data-url="{{routeToSlug(item.Slug)}}?autoplay">
45
- <button class="s72-btn s72-btn-play btn-sm s72-btn-trailer">
46
- <span class="s72-btn-play-icon"><s72-play-icon></s72-play-icon></span>
47
- <span class="verb s72-btn-play-label">{{i18n("play_trailer")}}</span>
48
- </button>
49
- </div>
50
- {{end}}
51
- <s72-userwishlist-button data-slug="{{item.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
52
- <s72-share-buttons item="::item.meta" class="hidden-sm hidden-xs pull-right"></s72-share-buttons>
53
- </div>
54
- </div>
55
-
56
- <div class="meta-item-synopsis">
57
- <p>{{item.InnerItem.Tagline | stripHTML}}</p>
58
- </div>
59
- {{yield awardsCarousel() item.InnerItem}}
60
- </div>
61
- </div>
62
- {{end}}
63
- <div class="left-gradient"></div>
64
- <div class="right-gradient"></div>
65
- <div class="bottom-gradient"></div>
66
- </a>
67
- </div>
68
- {{end}}
@@ -1,23 +0,0 @@
1
- {{ block bonusItem(item) }}
2
- <div class="bonus">
3
- <div class="poster">
4
- <s72-availability-status slug="{{item.Slug}}"></s72-availability-status>
5
- <s72-image src="{{item.Images.Landscape}}" alt="" class="poster-image poster-image-landscape"></s72-image>
6
- <s72-play-button data-slug="{{item.Slug}}" title="{{item.Title}}"></s72-play-button>
7
- </div>
8
- <div class="caption">
9
- <div class="bonus-item-title">
10
- <h3>{{item.Title}}</h3>
11
- {{if item.Runtime > 0 }}
12
- <span class="runtime">
13
- {{if item.Runtime.Hours() > 0}}
14
- {{item.Runtime.Hours()}}{{i18n("runtime_hours")}}
15
- {{end}}
16
- {{item.Runtime.Minutes()}}{{i18n("runtime_minutes")}}
17
- </span>
18
- {{end}}
19
- </div>
20
- <div class="synopsis">{{item.Overview | raw}}</div>
21
- </div>
22
- </div>
23
- {{ end }}
@@ -1,61 +0,0 @@
1
- {{import "../items/tagline.jet"}}
2
-
3
- {{block featuredItem(item, image="Landscape")}}
4
- <div class="meta-item featured-meta-item meta-item-{{item.ItemType|lower}}">
5
- <a href="{{routeToSlug(item.Slug)}}" aria-label="{{item.Title}}">
6
- {{if isset(item.Images[image])}}
7
- <s72-image src="{{item.Images[image]}}" alt="{{item.Title}}" class="meta-item-img featured-meta-item-img"></s72-image>
8
- {{end}}
9
-
10
- <!-- <s72-availability-status data-slug="{{item.Slug}}"></s72-availability-status> -->
11
- <s72-availability-label data-slug="{{item.Slug}}"></s72-availability-label>
12
-
13
- {{if !isset(item["PageType"]) || item.PageType != "external"}}
14
-
15
- <s72-userwishlist-button data-slug="{{item.Slug}}" class="btn-wishlist" data-layout="quick-button"></s72-userwishlist-button>
16
-
17
- <div class="meta-item-body featured-meta-item-body">
18
- <div class="meta-item-title">{{item.Title}}</div>
19
-
20
- <div class="meta-item-text">
21
- {{yield metaItemTagline() item.InnerItem}}
22
- </div>
23
-
24
- {{if isset(item.InnerItem["Tagline"])}}
25
- <div class="meta-item-synopsis hidden-md">
26
- <p>{{item.InnerItem.Tagline | stripHTML}}</p>
27
- </div>
28
- {{end}}
29
-
30
- <div class="meta-item-buttons">
31
- <s72-play-button data-slug="{{item.Slug}}"></s72-play-button>
32
- <s72-pricing-buttons data-slug="{{item.Slug}}"></s72-pricing-buttons>
33
- {{if isset(item.InnerItem["Trailers"]) && len(item.InnerItem.Trailers) > 0}}
34
- <s72-modal-player src="{{item.InnerItem.Trailers[0].URL}}" class="btn-sm" data-slug="{{item.Slug}}" data-label="{{i18n("play_trailer")}}"></s72-modal-player>
35
- {{end}}
36
- </div>
37
-
38
-
39
- <!--div class="content">
40
- <h3>{{item.Title}} {{if isset(item["season"])}}<span class="small">{{item.season}}</span>{{end}}</h3>
41
-
42
- {*<p class="tagline">{{item.ReleaseDate}}</p>*}
43
-
44
- {*<p class="synopsis visible-sm">{{item.Tagline}}</p>*}
45
-
46
- <div class="buttons">
47
- <watch-button data-slug="item.Slug"></watch-button>
48
- <pricing-buttons data-slug="item.Slug"></pricing-buttons>
49
- </div>
50
-
51
- {*<p class="synopsis visible-md visible-lg">{{item.Tagline}}</p>*}
52
-
53
- <share-buttons item="::item.meta" class="hidden-sm hidden-xs pull-right"></share-buttons>
54
- <trailer-button item="::item.meta" button-class="btn-sm" class="hidden-sm hidden-xs"></trailer-button>
55
-
56
- </div -->
57
- </div>
58
- {{end}}
59
- </a>
60
- </div>
61
- {{end}}
@@ -1,21 +0,0 @@
1
- {{block episodeCollectionItem(item)}}
2
- <div class="episode">
3
- <div class="poster">
4
- <s72-availability-status data-slug="{{item.Slug}}"></s72-availability-status>
5
- <s72-image src="{{item.Images.Landscape}}" alt="{{item.Title}}" class="poster-image poster-image-landscape" border="0"></s72-image>
6
- <s72-play-button data-slug="{{item.Slug}}" data-title="{{item.Title}}" data-label="false"></s72-play-button>
7
- </div>
8
- <div class="caption">
9
- {{if item.Runtime > 0 }}
10
- <span class="runtime pull-right">
11
- {{if item.Runtime.Hours() > 0}}
12
- {{item.Runtime.Hours()}}{{i18n("runtime_hours")}}
13
- {{end}}
14
- {{item.Runtime.Minutes()}}{{i18n("runtime_minutes")}}
15
- </span>
16
- {{end}}
17
- <h3>{{item.Title}}</h3>
18
- <div class="synopsis">{{item.Overview | raw}}</div>
19
- </div>
20
- </div>
21
- {{end}}