Skip to content

Commit

Permalink
Translatable strings for crops (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 authored Oct 14, 2022
1 parent 51d64f2 commit 130e5dd
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 1 deletion.
32 changes: 31 additions & 1 deletion data/fields/crop.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
{
"key": "crop",
"type": "semiCombo",
"label": "Crops"
"label": "Crops",
"strings": {
"options": {
"asparagus": "Asparagus",
"barley": "Barley",
"beet": "Beets",
"cassava": "Cassava",
"coffee": "Coffee",
"cotton": "Cotton",
"cranberries": "Cranberries",
"fast_growing_wood": "Short-Rotation Coppice",
"flowers": "Flowers",
"grape": "Grapes",
"grass": "Grass",
"hop": "Hops",
"lavender": "Lavender",
"maize": "Corn",
"potato": "Potatoes",
"rape": "Rapeseed",
"rice": "Rice",
"strawberry": "Strawberries",
"sugar_beet": "Sugar Beets",
"sugarcane": "Sugarcane",
"sunflower": "Sunflowers",
"soy": "Soybeans",
"tea": "Tea",
"tobacco": "Tobacco",
"vegetable": "Vegetables",
"wheat": "Wheat"
}
}
}
53 changes: 53 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,59 @@ en:
crop:
# crop=*
label: Crops
options:
# crop=asparagus
asparagus: Asparagus
# crop=barley
barley: Barley
# crop=beet
beet: Beets
# crop=cassava
cassava: Cassava
# crop=coffee
coffee: Coffee
# crop=cotton
cotton: Cotton
# crop=cranberries
cranberries: Cranberries
# crop=fast_growing_wood
fast_growing_wood: Short-Rotation Coppice
# crop=flowers
flowers: Flowers
# crop=grape
grape: Grapes
# crop=grass
grass: Grass
# crop=hop
hop: Hops
# crop=lavender
lavender: Lavender
# crop=maize
maize: Corn
# crop=potato
potato: Potatoes
# crop=rape
rape: Rapeseed
# crop=rice
rice: Rice
# crop=soy
soy: Soybeans
# crop=strawberry
strawberry: Strawberries
# crop=sugar_beet
sugar_beet: Sugar Beets
# crop=sugarcane
sugarcane: Sugarcane
# crop=sunflower
sunflower: Sunflowers
# crop=tea
tea: Tea
# crop=tobacco
tobacco: Tobacco
# crop=vegetable
vegetable: Vegetables
# crop=wheat
wheat: Wheat
crossing:
# crossing=*
label: Type
Expand Down

0 comments on commit 130e5dd

Please sign in to comment.