@autobusal/routes-order 1.35.0 → 1.36.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 (2) hide show
  1. package/Step2.tsx +11 -2
  2. package/package.json +1 -1
package/Step2.tsx CHANGED
@@ -48,8 +48,17 @@ const Step2 = ({ step1, t, onSearch, onSave, onBack }: Props): JSX.Element => {
48
48
  ? t('routes_order.step2.title_pair', {
49
49
  from: from.name,
50
50
  to: to.name,
51
- from_country: sameCountry ? '' : ` ${ from.country?.name ?? '' }`,
52
- to_country: sameCountry ? '' : ` ${ to.country?.name ?? '' }`
51
+ /*
52
+ * Claude - 2026-08-30 (reported by Ferjolt): a COMMA before the
53
+ * country - "Tirana, Albania", not "Tirana Albania".
54
+ *
55
+ * The separator lives here rather than in the template because the
56
+ * country is dropped entirely when both cities share one, and a
57
+ * `{{from}}, {{from_country}}` template would leave the comma
58
+ * stranded on a domestic route.
59
+ */
60
+ from_country: sameCountry ? '' : `, ${ from.country?.name ?? '' }`,
61
+ to_country: sameCountry ? '' : `, ${ to.country?.name ?? '' }`
53
62
  })
54
63
  : t('routes_order.step2.title');
55
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/routes-order",
3
- "version": "1.35.0",
3
+ "version": "1.36.0",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts",