Skip to content

Commit

Permalink
Add dirty martini (#568)
Browse files Browse the repository at this point in the history
* Add Dirty Martini recipe

Signed-off-by: Sam Whited <[email protected]>

* fix: correct formatting in cocktail and ingredient data, and add Dirty Martini to locales

---------

Signed-off-by: Sam Whited <[email protected]>
Co-authored-by: Anton Gustafsson <[email protected]>
  • Loading branch information
SamWhited and anton-gustafsson authored Jan 6, 2025
1 parent 1e33266 commit a629828
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
20 changes: 17 additions & 3 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,22 @@ 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: []
},
{
id: '193',
imageSrc: 'images/dry_martini.jpg',
isImagePortrait: false,
translation: 'dirty-martini',
category: DrinkCategory.Cocktail,
ingredientGroups: [
{ amount: '175', ingredientId: '6', unit: Unit.ML },
{ amount: '1', ingredientId: '31', unit: Unit.DASH },
{ amount: '30', ingredientId: '172', unit: Unit.ML },
{ amount: '', ingredientId: '32', unit: '' }
],
tags: []
}
Expand Down
3 changes: 2 additions & 1 deletion src/data/ingredient-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +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
3 changes: 2 additions & 1 deletion src/locales/en/ingredients.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,6 @@
"water": "Water",
"wheat-beer": "Wheat Beer",
"white-wine": "White wine",
"worcestershire-sauce": "Worcestershire sauce"
"worcestershire-sauce": "Worcestershire sauce",
"olive-brine": "Olive brine"
}
1 change: 1 addition & 0 deletions src/locales/en/instructions.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"cuba-libre": "Build all ingredients in a Collins glass filled with ice. \nGarnish with lime wedge.",
"daiquiri": "Pour all ingredients into shaker with ice cubes. \nShake well. \nStrain in chilled cocktail glass.",
"dark-and-stormy": "Fill highball glass (image shows a lowball glass) with ice, fill almost to the top with ginger beer, softly pour the dark rum on top to make it float. \nGarnish with lime. \nServe with straw.",
"dirty-martini": "Pour all ingredients into mixing glass with ice. \nStir until outside of glass feels cold or until diluted to taste. \nStrain in chilled martini cocktail glass. \nGarnish with several olives on cocktail sticks.",
"dry-martini": "Straight: Pour all ingredients into mixing glass with ice cubes. \nStir well. \nStrain in chilled martini cocktail glass. \nGarnish with olive.",
"elderflower-caipirinha": "Fill the glass with crushed ice and add Cachaça, lime juice and elderflower cordial. \nStir well and top with some more crushed ice. \nGarnish with lime and enjoy!",
"english-highball": "Pour brandy, gin, and sweet vermouth into a highball glass over ice cubes. \nFill with soda water. \nAdd the twist of lemon peel, stir, and serve. \n(Ginger ale may be substituted for carbonated water, if preferred.)",
Expand Down

0 comments on commit a629828

Please sign in to comment.