dugway 1.0.14 → 1.2.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 (58) hide show
  1. checksums.yaml +4 -4
  2. data/.bundle/config +2 -0
  3. data/.github/workflows/main.yml +1 -1
  4. data/.gitignore +1 -0
  5. data/README.md +9 -0
  6. data/lib/dugway/application.rb +5 -3
  7. data/lib/dugway/assets/big_cartel_logo.svg +4 -0
  8. data/lib/dugway/cli/build.rb +18 -1
  9. data/lib/dugway/cli/server.rb +2 -2
  10. data/lib/dugway/cli/templates/source/settings.json +8 -0
  11. data/lib/dugway/cli/validate.rb +20 -2
  12. data/lib/dugway/controller.rb +5 -1
  13. data/lib/dugway/liquid/drops/account_drop.rb +4 -0
  14. data/lib/dugway/liquid/drops/features_drop.rb +144 -0
  15. data/lib/dugway/liquid/drops/product_drop.rb +8 -0
  16. data/lib/dugway/liquid/drops/products_drop.rb +1 -1
  17. data/lib/dugway/liquid/drops/related_products_drop.rb +88 -0
  18. data/lib/dugway/liquid/drops/theme_drop.rb +23 -0
  19. data/lib/dugway/liquid/drops/translations_drop.rb +122 -0
  20. data/lib/dugway/liquifier.rb +44 -8
  21. data/lib/dugway/store.rb +7 -2
  22. data/lib/dugway/theme.rb +169 -3
  23. data/lib/dugway/version.rb +1 -1
  24. data/lib/dugway.rb +31 -1
  25. data/locales/storefront.de.yml +79 -0
  26. data/locales/storefront.en-CA.yml +79 -0
  27. data/locales/storefront.en-GB.yml +79 -0
  28. data/locales/storefront.en-US.yml +79 -0
  29. data/locales/storefront.es-ES.yml +79 -0
  30. data/locales/storefront.es-MX.yml +79 -0
  31. data/locales/storefront.fr-CA.yml +79 -0
  32. data/locales/storefront.fr-FR.yml +79 -0
  33. data/locales/storefront.id.yml +79 -0
  34. data/locales/storefront.it.yml +79 -0
  35. data/locales/storefront.ja.yml +79 -0
  36. data/locales/storefront.ko.yml +79 -0
  37. data/locales/storefront.nl.yml +79 -0
  38. data/locales/storefront.pl.yml +79 -0
  39. data/locales/storefront.pt-BR.yml +79 -0
  40. data/locales/storefront.pt-PT.yml +79 -0
  41. data/locales/storefront.ro.yml +79 -0
  42. data/locales/storefront.sv.yml +79 -0
  43. data/locales/storefront.tr.yml +79 -0
  44. data/locales/storefront.zh-CN.yml +79 -0
  45. data/locales/storefront.zh-TW.yml +79 -0
  46. data/log/dugway.log +1 -0
  47. data/spec/features/page_rendering_spec.rb +4 -4
  48. data/spec/fixtures/theme/layout.html +2 -0
  49. data/spec/fixtures/theme/settings.json +6 -0
  50. data/spec/spec_helper.rb +4 -0
  51. data/spec/units/dugway/liquid/drops/features_drop_spec.rb +182 -0
  52. data/spec/units/dugway/liquid/drops/product_drop_spec.rb +36 -0
  53. data/spec/units/dugway/liquid/drops/related_products_drop_spec.rb +80 -0
  54. data/spec/units/dugway/liquid/drops/theme_drop_spec.rb +45 -0
  55. data/spec/units/dugway/liquid/drops/translations_drop_spec.rb +292 -0
  56. data/spec/units/dugway/store_spec.rb +37 -0
  57. data/spec/units/dugway/theme_spec.rb +456 -0
  58. metadata +35 -2
@@ -0,0 +1,79 @@
1
+ pl:
2
+ storefront:
3
+ navigation:
4
+ all: "Wszystkie"
5
+ all_products: "Wszystkie produkty"
6
+ back_to_site: "Powrót do strony"
7
+ cart: "Koszyk"
8
+ categories: "Kategorie"
9
+ contact: "Kontakt"
10
+ home: "Strona główna"
11
+ item: "produkt"
12
+ items: "przedmioty"
13
+ more: "Więcej"
14
+ next: "Następny"
15
+ newest: "Najnowsze"
16
+ pages: "Strony"
17
+ previous: "Poprzedni"
18
+ products: "Produkty"
19
+ quick_view: "Szybki podgląd"
20
+ search: "Szukaj"
21
+ shop: "Sklep"
22
+ social: "Obserwuj nas"
23
+ subscribe: "Subskrybuj"
24
+ top_selling: "Najlepiej sprzedające się"
25
+ view: "Zobacz"
26
+ view_all: "Zobacz wszystko"
27
+ # "Sort By" translations are used in very few themes, and are not exposed in theme settings for sellers to configure
28
+ sort_by: Sortuj według
29
+ sort_by_featured: Polecane
30
+ sort_by_on_sale: W promocji
31
+ sort_by_top_selling: Najlepiej sprzedające się
32
+ sort_by_alphabetically_a_to_z: Alfabetycznie (A do Z)
33
+ sort_by_alphabetically_z_to_a: Alfabetycznie (Z do A)
34
+ sort_by_date_new_to_old: Data (od najnowszych)
35
+ sort_by_date_old_to_new: Data (od najstarszych)
36
+ sort_by_price_low_to_high: Cena (od najniższej)
37
+ sort_by_price_high_to_low: Cena (od najwyższej)
38
+ home:
39
+ all_products: "Wszystkie produkty"
40
+ featured: "Wyróżnione"
41
+ featured_categories: "Wyróżnione kategorie"
42
+ featured_products: "Wyróżnione produkty"
43
+ featured_video: ""
44
+ products:
45
+ add_to_cart: "Dodaj do koszyka"
46
+ added: "Dodano!" # Used in few themes, intentionally not exposed in theme settings
47
+ adding: "Dodawanie..." # Used in few themes, intentionally not exposed in theme settings
48
+ almost_sold_out: "Zostało tylko kilka!"
49
+ coming_soon: "Wkrótce dostępne"
50
+ description: "Opis"
51
+ in_stock: "w magazynie"
52
+ inventory: "Stan magazynowy"
53
+ low_inventory: "Ograniczona ilość"
54
+ no_products: "Nie znaleziono produktów"
55
+ on_sale: "W promocji"
56
+ related_products: "Może Ci się spodobać"
57
+ reset: "Resetuj"
58
+ search_results: "Wyniki wyszukiwania"
59
+ select: "Wybierz"
60
+ select_variant: "Wybierz opcję"
61
+ sold_out: "Wyprzedane"
62
+ cart:
63
+ checkout: "Do kasy"
64
+ continue_shopping: "Kontynuuj zakupy"
65
+ empty_cart: "Twój koszyk jest pusty"
66
+ quantity_abbreviated: "Szt."
67
+ quantity: "Sztuk"
68
+ remove: "Usuń"
69
+ share_this_cart: "Udostępnij ten koszyk"
70
+ share_this_cart_link_copy_success: "Link skopiowany!"
71
+ subtotal: "Suma częściowa"
72
+ view_cart: "Zobacz koszyk"
73
+ contact:
74
+ email: "E-mail"
75
+ form_success: "Dziękujemy! Twoja wiadomość została wysłana i wkrótce się z Tobą skontaktujemy."
76
+ message: "Wiadomość"
77
+ name: "Imię i nazwisko"
78
+ send_button: "Wyślij wiadomość"
79
+ subject: "Temat"
@@ -0,0 +1,79 @@
1
+ pt-BR:
2
+ storefront:
3
+ navigation:
4
+ all: "Todos"
5
+ all_products: "Todos os produtos"
6
+ back_to_site: "Voltar ao site"
7
+ cart: "Carrinho"
8
+ categories: "Categorias"
9
+ contact: "Contato"
10
+ home: "Início"
11
+ item: "item"
12
+ items: "itens"
13
+ more: "Mais"
14
+ next: "Próximo"
15
+ newest: "Mais recentes"
16
+ pages: "Páginas"
17
+ previous: "Anterior"
18
+ products: "Produtos"
19
+ quick_view: "Ver rápido"
20
+ search: "Buscar"
21
+ shop: "Loja"
22
+ social: "Siga-nos"
23
+ subscribe: "Assinar"
24
+ top_selling: "Mais vendidos"
25
+ view: "Ver"
26
+ view_all: "Ver tudo"
27
+ # "Sort By" translations are used in very few themes, and are not exposed in theme settings for sellers to configure
28
+ sort_by: Ordenar por
29
+ sort_by_featured: Em destaque
30
+ sort_by_on_sale: Em promoção
31
+ sort_by_top_selling: Mais vendidos
32
+ sort_by_alphabetically_a_to_z: Alfabética (A a Z)
33
+ sort_by_alphabetically_z_to_a: Alfabética (Z a A)
34
+ sort_by_date_new_to_old: Data (mais recente)
35
+ sort_by_date_old_to_new: Data (mais antigo)
36
+ sort_by_price_low_to_high: Preço (menor para maior)
37
+ sort_by_price_high_to_low: Preço (maior para menor)
38
+ home:
39
+ all_products: "Todos os produtos"
40
+ featured: "Destaque"
41
+ featured_categories: "Categorias em destaque"
42
+ featured_products: "Produtos em destaque"
43
+ featured_video: ""
44
+ products:
45
+ add_to_cart: "Adicionar"
46
+ added: "Adicionado!" # Used in few themes, intentionally not exposed in theme settings
47
+ adding: "Adicionando..." # Used in few themes, intentionally not exposed in theme settings
48
+ almost_sold_out: "Restam poucos!"
49
+ coming_soon: "Em breve"
50
+ description: "Descrição"
51
+ in_stock: "em estoque"
52
+ inventory: "Estoque"
53
+ low_inventory: "Quantidades limitadas"
54
+ no_products: "Nenhum produto encontrado"
55
+ on_sale: "Em promoção"
56
+ related_products: "Você também pode gostar"
57
+ reset: "Redefinir"
58
+ search_results: "Resultados da busca"
59
+ select: "Selecione"
60
+ select_variant: "Selecionar opção"
61
+ sold_out: "Esgotado"
62
+ cart:
63
+ checkout: "Comprar"
64
+ continue_shopping: "Continuar comprando"
65
+ empty_cart: "Seu carrinho está vazio"
66
+ quantity_abbreviated: "Qtd"
67
+ quantity: "Quantidade"
68
+ remove: "Remover"
69
+ share_this_cart: "Compartilhar este carrinho"
70
+ share_this_cart_link_copy_success: "Link copiado!"
71
+ subtotal: "Subtotal"
72
+ view_cart: "Ver carrinho"
73
+ contact:
74
+ email: "Email"
75
+ form_success: "Obrigado! Sua mensagem foi enviada e retornaremos em breve."
76
+ message: "Mensagem"
77
+ name: "Nome"
78
+ send_button: "Enviar mensagem"
79
+ subject: "Assunto"
@@ -0,0 +1,79 @@
1
+ pt-PT:
2
+ storefront:
3
+ navigation:
4
+ all: "Todos"
5
+ all_products: "Todos os produtos"
6
+ back_to_site: "Voltar ao site"
7
+ cart: "Carrinho"
8
+ categories: "Categorias"
9
+ contact: "Contacto"
10
+ home: "Início"
11
+ item: "item"
12
+ items: "itens"
13
+ more: "Mais"
14
+ next: "Seguinte"
15
+ newest: "Mais recentes"
16
+ pages: "Páginas"
17
+ previous: "Anterior"
18
+ products: "Produtos"
19
+ quick_view: "Vista rápida"
20
+ search: "Pesquisar"
21
+ shop: "Loja"
22
+ social: "Siga-nos"
23
+ subscribe: "Subscrever"
24
+ top_selling: "Mais vendidos"
25
+ view: "Ver"
26
+ view_all: "Ver tudo"
27
+ # "Sort By" translations are used in very few themes, and are not exposed in theme settings for sellers to configure
28
+ sort_by: Ordenar por
29
+ sort_by_featured: Em destaque
30
+ sort_by_on_sale: Em promoção
31
+ sort_by_top_selling: Mais vendidos
32
+ sort_by_alphabetically_a_to_z: Alfabética (A a Z)
33
+ sort_by_alphabetically_z_to_a: Alfabética (Z a A)
34
+ sort_by_date_new_to_old: Data (mais recente)
35
+ sort_by_date_old_to_new: Data (mais antigo)
36
+ sort_by_price_low_to_high: Preço (menor para maior)
37
+ sort_by_price_high_to_low: Preço (maior para menor)
38
+ home:
39
+ all_products: "Todos os produtos"
40
+ featured: "Em destaque"
41
+ featured_categories: "Categorias em destaque"
42
+ featured_products: "Produtos em destaque"
43
+ featured_video: ""
44
+ products:
45
+ add_to_cart: "Adicionar"
46
+ added: "Adicionado!" # Used in few themes, intentionally not exposed in theme settings
47
+ adding: "A adicionar..." # Used in few themes, intentionally not exposed in theme settings
48
+ almost_sold_out: "Restam poucos!"
49
+ coming_soon: "Brevemente"
50
+ description: "Descrição"
51
+ in_stock: "em stock"
52
+ inventory: "Stock"
53
+ low_inventory: "Quantidades limitadas"
54
+ no_products: "Nenhum produto encontrado"
55
+ on_sale: "Em saldo"
56
+ related_products: "Poderá também gostar"
57
+ reset: "Repor"
58
+ search_results: "Resultados da pesquisa"
59
+ select: "Selecione"
60
+ select_variant: "Selecionar opção"
61
+ sold_out: "Esgotado"
62
+ cart:
63
+ checkout: "Comprar"
64
+ continue_shopping: "Continuar a comprar"
65
+ empty_cart: "O seu carrinho está vazio"
66
+ quantity_abbreviated: "Qtd"
67
+ quantity: "Quantidade"
68
+ remove: "Remover"
69
+ share_this_cart: "Partilhar este carrinho"
70
+ share_this_cart_link_copy_success: "Link copiado!"
71
+ subtotal: "Subtotal"
72
+ view_cart: "Ver carrinho"
73
+ contact:
74
+ email: "Email"
75
+ form_success: "Obrigado! A sua mensagem foi enviada e responderemos brevemente."
76
+ message: "Mensagem"
77
+ name: "Nome"
78
+ send_button: "Enviar mensagem"
79
+ subject: "Assunto"
@@ -0,0 +1,79 @@
1
+ ro:
2
+ storefront:
3
+ navigation:
4
+ all: "Toate"
5
+ all_products: "Toate produsele"
6
+ back_to_site: "Înapoi la site"
7
+ cart: "Coș"
8
+ categories: "Categorii"
9
+ contact: "Contact"
10
+ home: "Acasă"
11
+ item: "articol"
12
+ items: "produse"
13
+ more: "Mai mult"
14
+ next: "Următorul"
15
+ newest: "Cele mai noi"
16
+ pages: "Pagini"
17
+ previous: "Anterior"
18
+ products: "Produse"
19
+ quick_view: "Vedere rapidă"
20
+ search: "Caută"
21
+ shop: "Magazin"
22
+ social: "Urmărește-ne"
23
+ subscribe: "Abonează-te"
24
+ top_selling: "Cele mai vândute"
25
+ view: "Vizualizare"
26
+ view_all: "Vizualizează toate"
27
+ # "Sort By" translations are used in very few themes, and are not exposed in theme settings for sellers to configure
28
+ sort_by: Sortează după
29
+ sort_by_featured: Recomandate
30
+ sort_by_on_sale: În ofertă
31
+ sort_by_top_selling: Cele mai vândute
32
+ sort_by_alphabetically_a_to_z: Alfabetic (A la Z)
33
+ sort_by_alphabetically_z_to_a: Alfabetic (Z la A)
34
+ sort_by_date_new_to_old: Dată (de la nou la vechi)
35
+ sort_by_date_old_to_new: Dată (de la vechi la nou)
36
+ sort_by_price_low_to_high: Preț (de la mic la mare)
37
+ sort_by_price_high_to_low: Preț (de la mare la mic)
38
+ home:
39
+ all_products: "Toate produsele"
40
+ featured: "Recomandate"
41
+ featured_categories: "Categorii recomandate"
42
+ featured_products: "Produse recomandate"
43
+ featured_video: ""
44
+ products:
45
+ add_to_cart: "Adaugă în coș"
46
+ added: "Adăugat!" # Used in few themes, intentionally not exposed in theme settings
47
+ adding: "Se adaugă..." # Used in few themes, intentionally not exposed in theme settings
48
+ almost_sold_out: "Aproape epuizat!"
49
+ coming_soon: "În curând"
50
+ description: "Descriere"
51
+ in_stock: "în stoc"
52
+ inventory: "Stoc"
53
+ low_inventory: "Stoc limitat"
54
+ no_products: "Nu s-au găsit produse"
55
+ on_sale: "La reducere"
56
+ related_products: "V-ar putea interesa"
57
+ reset: "Resetează"
58
+ search_results: "Rezultatele căutării"
59
+ select: "Selectează"
60
+ select_variant: "Alege opțiunea"
61
+ sold_out: "Epuizat"
62
+ cart:
63
+ checkout: "Comandă"
64
+ continue_shopping: "Continuă cumpărăturile"
65
+ empty_cart: "Coșul tău este gol"
66
+ quantity_abbreviated: "Cant."
67
+ quantity: "Cantitate"
68
+ remove: "Elimină"
69
+ share_this_cart: "Distribuie acest coș"
70
+ share_this_cart_link_copy_success: "Link copiat!"
71
+ subtotal: "Subtotal"
72
+ view_cart: "Vezi coșul"
73
+ contact:
74
+ email: "Email"
75
+ form_success: "Mulțumim! Mesajul tău a fost trimis și îți vom răspunde în curând."
76
+ message: "Mesaj"
77
+ name: "Nume"
78
+ send_button: "Trimite mesaj"
79
+ subject: "Subiect"
@@ -0,0 +1,79 @@
1
+ sv:
2
+ storefront:
3
+ navigation:
4
+ all: "Alla"
5
+ all_products: "Alla produkter"
6
+ back_to_site: "Tillbaka till hemsidan"
7
+ cart: "Varukorg"
8
+ categories: "Kategorier"
9
+ contact: "Kontakt"
10
+ home: "Hem"
11
+ item: "vara"
12
+ items: "artiklar"
13
+ more: "Mer"
14
+ next: "Nästa"
15
+ newest: "Senaste"
16
+ pages: "Sidor"
17
+ previous: "Föregående"
18
+ products: "Produkter"
19
+ quick_view: "Snabbvy"
20
+ search: "Sök"
21
+ shop: "Butik"
22
+ social: "Följ oss"
23
+ subscribe: "Prenumerera"
24
+ top_selling: "Mest sålda"
25
+ view: "Visa"
26
+ view_all: "Visa alla"
27
+ # "Sort By" translations are used in very few themes, and are not exposed in theme settings for sellers to configure
28
+ sort_by: Sortera efter
29
+ sort_by_featured: Utvalda
30
+ sort_by_on_sale: Rea
31
+ sort_by_top_selling: Populära
32
+ sort_by_alphabetically_a_to_z: Alfabetisk (A till Z)
33
+ sort_by_alphabetically_z_to_a: Alfabetisk (Z till A)
34
+ sort_by_date_new_to_old: Datum (nyast först)
35
+ sort_by_date_old_to_new: Datum (äldst först)
36
+ sort_by_price_low_to_high: Pris (lägst först)
37
+ sort_by_price_high_to_low: Pris (högst först)
38
+ home:
39
+ all_products: "Alla produkter"
40
+ featured: "Utvalda"
41
+ featured_categories: "Utvalda kategorier"
42
+ featured_products: "Utvalda produkter"
43
+ featured_video: ""
44
+ products:
45
+ add_to_cart: "Lägg till"
46
+ added: "Tillagd!" # Used in few themes, intentionally not exposed in theme settings
47
+ adding: "Lägger till..." # Used in few themes, intentionally not exposed in theme settings
48
+ almost_sold_out: "Endast få kvar!"
49
+ coming_soon: "Kommer snart"
50
+ description: "Beskrivning"
51
+ in_stock: "i lager"
52
+ inventory: "Lagerstatus"
53
+ low_inventory: "Begränsat antal"
54
+ no_products: "Inga produkter hittades"
55
+ on_sale: "På rea"
56
+ related_products: "Du kanske också gillar"
57
+ reset: "Återställ"
58
+ search_results: "Sökresultat"
59
+ select: "Välj"
60
+ select_variant: "Välj alternativ"
61
+ sold_out: "Slutsåld"
62
+ cart:
63
+ checkout: "Till kassan"
64
+ continue_shopping: "Fortsätt handla"
65
+ empty_cart: "Din varukorg är tom"
66
+ quantity_abbreviated: "Ant."
67
+ quantity: "Antal"
68
+ remove: "Ta bort"
69
+ share_this_cart: "Dela denna varukorg"
70
+ share_this_cart_link_copy_success: "Länk kopierad!"
71
+ subtotal: "Delsumma"
72
+ view_cart: "Visa varukorg"
73
+ contact:
74
+ email: "E-post"
75
+ form_success: "Tack! Ditt meddelande har skickats och vi återkommer till dig snart."
76
+ message: "Meddelande"
77
+ name: "Namn"
78
+ send_button: "Skicka meddelande"
79
+ subject: "Ämne"
@@ -0,0 +1,79 @@
1
+ tr:
2
+ storefront:
3
+ navigation:
4
+ all: "Tümü"
5
+ all_products: "Tüm ürünler"
6
+ back_to_site: "Siteye dön"
7
+ cart: "Sepet"
8
+ categories: "Kategoriler"
9
+ contact: "İletişim"
10
+ home: "Ana sayfa"
11
+ item: "ürün"
12
+ items: "ürün"
13
+ more: "Daha fazla"
14
+ next: "Sonraki"
15
+ newest: "En yeni"
16
+ pages: "Sayfalar"
17
+ previous: "Önceki"
18
+ products: "Ürünler"
19
+ quick_view: "Hızlı görünüm"
20
+ search: "Ara"
21
+ shop: "Mağaza"
22
+ social: "Bizi takip edin"
23
+ subscribe: "Abone Ol"
24
+ top_selling: "Çok satanlar"
25
+ view: "Görüntüle"
26
+ view_all: "Tümünü görüntüle"
27
+ # "Sort By" translations are used in very few themes, and are not exposed in theme settings for sellers to configure
28
+ sort_by: Sırala
29
+ sort_by_featured: Öne Çıkanlar
30
+ sort_by_on_sale: İndirimde
31
+ sort_by_top_selling: En Çok Satanlar
32
+ sort_by_alphabetically_a_to_z: Alfabetik (A'dan Z'ye)
33
+ sort_by_alphabetically_z_to_a: Alfabetik (Z'den A'ya)
34
+ sort_by_date_new_to_old: Tarih (Yeniden Eskiye)
35
+ sort_by_date_old_to_new: Tarih (Eskiden Yeniye)
36
+ sort_by_price_low_to_high: Fiyat (Düşükten Yükseğe)
37
+ sort_by_price_high_to_low: Fiyat (Yüksekten Düşüğe)
38
+ home:
39
+ all_products: "Tüm ürünler"
40
+ featured: "Öne çıkan"
41
+ featured_categories: "Öne çıkan kategoriler"
42
+ featured_products: "Öne çıkan ürünler"
43
+ featured_video: ""
44
+ products:
45
+ add_to_cart: "Sepete ekle"
46
+ added: "Eklendi" # Used in few themes, intentionally not exposed in theme settings
47
+ adding: "Ekleniyor..." # Used in few themes, intentionally not exposed in theme settings
48
+ almost_sold_out: "Sadece birkaç tane kaldı!"
49
+ coming_soon: "Yakında"
50
+ description: "Açıklama'"
51
+ in_stock: "stokta"
52
+ inventory: "Stok Durumu"
53
+ low_inventory: "Sınırlı sayıda"
54
+ no_products: "Ürün bulunamadı"
55
+ on_sale: "İndirimde"
56
+ related_products: "İlgili ürünler"
57
+ reset: "Sıfırla"
58
+ search_results: "Arama sonuçları"
59
+ select: "Seç"
60
+ select_variant: "Seçenek seç"
61
+ sold_out: "Tükendi"
62
+ cart:
63
+ checkout: "Ödeme"
64
+ continue_shopping: "Alışverişe devam et"
65
+ empty_cart: "Sepetiniz boş"
66
+ quantity_abbreviated: "Ad."
67
+ quantity: "Adet"
68
+ remove: "Kaldır"
69
+ share_this_cart: "Bu sepeti paylaş"
70
+ share_this_cart_link_copy_success: "Bağlantı kopyalandı!"
71
+ subtotal: "Ara toplam"
72
+ view_cart: "Sepeti görüntüle"
73
+ contact:
74
+ email: "E-posta"
75
+ form_success: "Teşekkürler! Mesajınız gönderildi ve en kısa sürede size geri döneceğiz."
76
+ message: "Mesaj"
77
+ name: "İsim"
78
+ send_button: "Mesaj gönder"
79
+ subject: "Konu"
@@ -0,0 +1,79 @@
1
+ zh-CN:
2
+ storefront:
3
+ navigation:
4
+ all: "全部"
5
+ all_products: "所有产品"
6
+ back_to_site: "返回网站"
7
+ cart: "购物车"
8
+ categories: "分类"
9
+ contact: "联系我们"
10
+ home: "主页"
11
+ item: "件商品"
12
+ items: "件商品"
13
+ more: "更多"
14
+ next: "下一页"
15
+ newest: "最新"
16
+ pages: "页面"
17
+ previous: "上一页"
18
+ products: "产品"
19
+ quick_view: "快速预览"
20
+ search: "搜索"
21
+ shop: "商店"
22
+ social: "关注我们"
23
+ subscribe: "订阅"
24
+ top_selling: "畅销"
25
+ view: "查看"
26
+ view_all: "查看全部"
27
+ # "Sort By" translations are used in very few themes, and are not exposed in theme settings for sellers to configure
28
+ sort_by: 排序
29
+ sort_by_featured: 精选商品
30
+ sort_by_on_sale: 特价商品
31
+ sort_by_top_selling: 热销商品
32
+ sort_by_alphabetically_a_to_z: 英文字母 (A 到 Z)
33
+ sort_by_alphabetically_z_to_a: 英文字母 (Z 到 A)
34
+ sort_by_date_new_to_old: 日期 (最新到最旧)
35
+ sort_by_date_old_to_new: 日期 (最旧到最新)
36
+ sort_by_price_low_to_high: 价格 (低到高)
37
+ sort_by_price_high_to_low: 价格 (高到低)
38
+ home:
39
+ all_products: "所有产品"
40
+ featured: "精选"
41
+ featured_categories: "精选分类"
42
+ featured_products: "精选产品"
43
+ featured_video: ""
44
+ products:
45
+ add_to_cart: "加入购物车"
46
+ added: "已加入" # Used in few themes, intentionally not exposed in theme settings
47
+ adding: "加入中" # Used in few themes, intentionally not exposed in theme settings
48
+ almost_sold_out: "即将售罄!"
49
+ coming_soon: "即将上线"
50
+ description: "商品描述"
51
+ in_stock: "有庫存"
52
+ inventory: "庫存"
53
+ low_inventory: "库存有限"
54
+ no_products: "未找到产品"
55
+ on_sale: "特价"
56
+ related_products: "相关产品"
57
+ reset: "重置"
58
+ search_results: "搜索结果"
59
+ select: "选择"
60
+ select_variant: "选择规格"
61
+ sold_out: "已售罄"
62
+ cart:
63
+ checkout: "结账"
64
+ continue_shopping: "继续购物"
65
+ empty_cart: "您的购物车是空的"
66
+ quantity_abbreviated: "数量"
67
+ quantity: "数量"
68
+ remove: "移除"
69
+ share_this_cart: "分享购物车"
70
+ share_this_cart_link_copy_success: "链接已复制!"
71
+ subtotal: "小计"
72
+ view_cart: "查看购物车"
73
+ contact:
74
+ email: "电子邮箱"
75
+ form_success: "谢谢!您的消息已发送,我们将尽快回复您。"
76
+ message: "留言"
77
+ name: "姓名"
78
+ send_button: "发送留言"
79
+ subject: "主题"
@@ -0,0 +1,79 @@
1
+ zh-TW:
2
+ storefront:
3
+ navigation:
4
+ all: "全部"
5
+ all_products: "所有商品"
6
+ back_to_site: "返回網站"
7
+ cart: "購物車"
8
+ categories: "分類"
9
+ contact: "聯絡我們"
10
+ home: "首頁"
11
+ item: "件商品"
12
+ items: "件商品"
13
+ more: "更多"
14
+ next: "下一頁"
15
+ newest: "最新"
16
+ pages: "頁面"
17
+ previous: "上一頁"
18
+ products: "商品"
19
+ quick_view: "快速預覽"
20
+ search: "搜尋"
21
+ shop: "商店"
22
+ social: "关注我们"
23
+ subscribe: "訂閱"
24
+ top_selling: "熱銷"
25
+ view: "查看"
26
+ view_all: "查看全部"
27
+ # "Sort By" translations are used in very few themes, and are not exposed in theme settings for sellers to configure
28
+ sort_by: 排序
29
+ sort_by_featured: 精選商品
30
+ sort_by_on_sale: 特價商品
31
+ sort_by_top_selling: 熱銷商品
32
+ sort_by_alphabetically_a_to_z: 英文字母 (A 到 Z)
33
+ sort_by_alphabetically_z_to_a: 英文字母 (Z 到 A)
34
+ sort_by_date_new_to_old: 日期 (最新到最舊)
35
+ sort_by_date_old_to_new: 日期 (最舊到最新)
36
+ sort_by_price_low_to_high: 價格 (低到高)
37
+ sort_by_price_high_to_low: 價格 (高到低)
38
+ home:
39
+ all_products: "所有商品"
40
+ featured: "精選"
41
+ featured_categories: "精選分類"
42
+ featured_products: "精選商品"
43
+ featured_video: ""
44
+ products:
45
+ add_to_cart: "加入購物車"
46
+ added: "已加入" # Used in few themes, intentionally not exposed in theme settings
47
+ adding: "加入中" # Used in few themes, intentionally not exposed in theme settings
48
+ almost_sold_out: "即將售罄!"
49
+ coming_soon: "即將上線"
50
+ description: "商品描述"
51
+ in_stock: "有庫存"
52
+ inventory: "庫存"
53
+ low_inventory: "庫存有限"
54
+ no_products: "未找到商品"
55
+ on_sale: "特價"
56
+ related_products: "相關商品"
57
+ reset: "重設"
58
+ search_results: "搜尋結果"
59
+ select: "選擇"
60
+ select_variant: "選擇規格"
61
+ sold_out: "已售罄"
62
+ cart:
63
+ checkout: "結帳"
64
+ continue_shopping: "繼續購物"
65
+ empty_cart: "您的購物車是空的"
66
+ quantity_abbreviated: "数量"
67
+ quantity: "数量"
68
+ remove: "移除"
69
+ share_this_cart: "分享購物車"
70
+ share_this_cart_link_copy_success: "連結已複製!"
71
+ subtotal: "小計"
72
+ view_cart: "查看購物車"
73
+ contact:
74
+ email: "電子郵件"
75
+ form_success: "謝謝!您的訊息已發送,我們將盡快回覆您。"
76
+ message: "留言"
77
+ name: "姓名"
78
+ send_button: "發送留言"
79
+ subject: "主題"
data/log/dugway.log ADDED
@@ -0,0 +1 @@
1
+ # Logfile created on 2025-04-08 18:41:37 -0700 by logger.rb/v1.4.2
@@ -11,7 +11,7 @@ feature 'Page rendering' do
11
11
  scenario 'products.html' do
12
12
  visit '/products'
13
13
  expect(page).to have_content('Dugway') # layout.html
14
- expect(page).to have_content('Products')
14
+ expect(page).to have_selector('[data-testid="page-name-test"]', text: 'Products', visible: :all)
15
15
  expect(page).to have_content('My Product')
16
16
  expect(page).to have_content('$10.00')
17
17
  end
@@ -19,7 +19,7 @@ feature 'Page rendering' do
19
19
  scenario 'products.html via artist' do
20
20
  visit '/artist/artist-one'
21
21
  expect(page).to have_content('Dugway') # layout.html
22
- expect(page).to have_content('Artist One')
22
+ expect(page).to have_selector('[data-testid="page-name-test"]', text: 'Artist One', visible: :all)
23
23
  expect(page).to have_content('My Product')
24
24
  expect(page).to have_content('$10.00')
25
25
  end
@@ -27,7 +27,7 @@ feature 'Page rendering' do
27
27
  scenario 'products.html via category' do
28
28
  visit '/category/tees'
29
29
  expect(page).to have_content('Dugway') # layout.html
30
- expect(page).to have_content('Tees')
30
+ expect(page).to have_selector('[data-testid="page-name-test"]', text: 'Tees', visible: :all)
31
31
  expect(page).to have_content('My Product')
32
32
  expect(page).to have_content('$10.00')
33
33
  end
@@ -35,7 +35,7 @@ feature 'Page rendering' do
35
35
  scenario 'product.html' do
36
36
  visit '/product/my-product'
37
37
  expect(page).to have_content('Dugway') # layout.html
38
- expect(page).to have_content('My Product')
38
+ expect(page).to have_selector('[data-testid="page-name-test"]', text: 'My Product', visible: :all)
39
39
  expect(page).to have_content('$10.00')
40
40
  end
41
41