-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add multilanguage support * update de locales * update en locales * update locales * minor improvments * add favicon * update readme * update readme * add dev script
- Loading branch information
Showing
9 changed files
with
282 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
server.document-root = "/workspaces/currency" | ||
|
||
server.port = 3000 | ||
index-file.names = ( "index.html" ) | ||
|
||
# If running lighttpd earlier than lighttpd 1.4.71, uncomment (remove '#') to add the following: | ||
mimetype.assign = ( | ||
".html" => "text/html", | ||
".txt" => "text/plain", | ||
".jpg" => "image/jpeg", | ||
".png" => "image/png", | ||
".js" => "application/javascript", | ||
".css" => "text/css" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# run as root | ||
|
||
apt-get update | ||
apt-get install -y lighttpd | ||
apt-get clean | ||
|
||
lighttpd -f lighttpd.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"title": "Währungs- und Gewichtsumrechner", | ||
"sourceLabel": "Quellwährung:", | ||
"targetLabel": "Zielwährung:", | ||
"priceLabel": "Preis in aktueller Währung:", | ||
"weightLabel": "Gewicht in Gramm in Quellwährung (optional):", | ||
"unitWeightLabel": "Gewicht in Gramm in Zielwährung (optional):", | ||
"exchangeRateLabel": "Wechselkurs:", | ||
"convertedPrice": "Preis {price} {sourceCurrency}: {convertedPrice} {targetCurrency}", | ||
"pricePerKg": "Preis pro Kilogram: {pricePerKg} {targetCurrency}/kg", | ||
"unitPrice": "Preis für {unitWeight}g: {unitPrice} {targetCurrency}", | ||
"lastUpdated": "Zuletzt aktualisiert: {exchangeTimestamp}", | ||
"errorFetchingRate": "Wechselkurs konnte nicht abgerufen werden. Bitte versuchen Sie es später erneut." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"title": "Currency and Weight Converter", | ||
"sourceLabel": "Source Currency:", | ||
"targetLabel": "Target Currency:", | ||
"priceLabel": "Price in current currency:", | ||
"weightLabel": "Weight in grams for Source Currency (optional):", | ||
"unitWeightLabel": "Weight in grams for Target Currency (optional):", | ||
"exchangeRateLabel": "Exchange Rate:", | ||
"convertedPrice": "Price {price} {sourceCurrency}: {convertedPrice} {targetCurrency}", | ||
"pricePerKg": "Price per kilogram: {pricePerKg} {targetCurrency}/kg", | ||
"unitPrice": "Price for {unitWeight}g: {unitPrice} {targetCurrency}", | ||
"lastUpdated": "Last updated: {exchangeTimestamp}", | ||
"errorFetchingRate": "Unable to fetch the exchange rate. Please try again later." | ||
} |
Oops, something went wrong.