Skip to content

Commit

Permalink
fix: correct formatting in cocktail and ingredient data, and add Dirt…
Browse files Browse the repository at this point in the history
…y Martini to locales
  • Loading branch information
anton-gustafsson committed Jan 6, 2025
1 parent 8db9c4e commit ed87db6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/data/cocktail-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2360,7 +2360,7 @@ const cocktails: StaticCocktail[] = [
category: DrinkCategory.Cocktail,
ingredientGroups: [
{ amount: '300', ingredientId: '8', unit: Unit.ML },
{ amount: '3', ingredientId: '20', unit: Unit.CUP},
{ amount: '3', ingredientId: '20', unit: Unit.CUP },
{ amount: '0.5', ingredientId: '2', unit: Unit.CUP },
{ amount: '700', ingredientId: '45', unit: Unit.ML },
{ amount: '1', ingredientId: '88', unit: Unit.CUP },
Expand Down Expand Up @@ -2650,8 +2650,8 @@ const cocktails: StaticCocktail[] = [
{ amount: '1', ingredientId: '142', unit: Unit.DASH },
{ amount: '1', ingredientId: '141', unit: Unit.DASH },
{ amount: '1', ingredientId: '139', unit: Unit.DASH },
{ amount: '60', ingredientId: '54', unit: Unit.ML},
{ amount: '120', ingredientId: '91', unit: Unit.ML}
{ amount: '60', ingredientId: '54', unit: Unit.ML },
{ amount: '120', ingredientId: '91', unit: Unit.ML }
],
tags: []
},
Expand All @@ -2663,10 +2663,10 @@ const cocktails: StaticCocktail[] = [
category: DrinkCategory.Cocktail,
ingredientGroups: [
{ amount: '175', ingredientId: '6', unit: Unit.ML },
{ amount: '1', ingredientId: '31', unit: Unit.Dash },
{ amount: '1', ingredientId: '31', unit: Unit.DASH },
{ amount: '30', ingredientId: '172', unit: Unit.ML },
{ amount: '', ingredientId: '32', unit: '' }
],
tags: []
},
]
}
];
2 changes: 1 addition & 1 deletion src/data/ingredient-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const currentIngredients: StaticIngredient[] = [
{ id: '169', translation: 'akvavit', spiritType: SpiritType.None, abv: 37.5 },
// https://en.wikipedia.org/wiki/Akvavit
{ id: '170', translation: 'country-lane', spiritType: SpiritType.None, abv: 17, replacementIds: ['108', '147', '171'] },
{ id: '171', translation: 'amarula-cream', spiritType: SpiritType.None, abv: 17, replacementIds: ['108', '147', '170'] }
{ id: '171', translation: 'amarula-cream', spiritType: SpiritType.None, abv: 17, replacementIds: ['108', '147', '170'] },
// https://en.wikipedia.org/wiki/Amarula
{ id: '172', translation: 'olive-brine', spiritType: SpiritType.None },
];
1 change: 1 addition & 0 deletions src/locales/en/cocktails.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"whiskey-sour": "Whiskey Sour",
"pink-lady": "Pink Lady",
"gin-sour": "Gin Sour",
"dirty-martini": "Dirty Martini",
"dry-martini": "Dry Martini",
"hot-shot": "Hot Shot",
"frozen-margarita": "Frozen Margarita",
Expand Down

0 comments on commit ed87db6

Please sign in to comment.