Skip to content

Commit

Permalink
Merge pull request #176 from mlamberts78/develop
Browse files Browse the repository at this point in the history
### **๐Ÿš€ Features**
- Added Korean translation. Thanks @miumida

### **๐Ÿ›  Under the hood**
- Fixed missing sun setting in readme (Closes #160)
- Updated some Portuguese translation. Thanks @ViPeR5000
  • Loading branch information
mlamberts78 committed May 10, 2024
2 parents efabffc + acdb4b7 commit e88206b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ HACS is a third party community store and is not included in Home Assistant out
| show_temperature | boolean | true | Show or hide the current temperature. |
| show_current_condition| boolean | true | Show or hide the current weather condition. |
| show_attributes | boolean | true | Show or hide a section with attributes such as pressure, humidity, wind direction and speed, etc. |
| show_sun | boolean | true | Show or hide the sunset information |
| show_time | boolean | false | Show or hide the current time on the card. |
| show_time_seconds | boolean | false | Show or hide seconds for the current time on the card. |
| show_day | boolean | false | Show or hide the current day on the card. (Only visible when show_time is true.) |
Expand Down
43 changes: 39 additions & 4 deletions dist/weather-chart-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ const locale = {
'tempHi': 'Temperatura mรกxima',
'tempLo': 'Temperatura noite',
'precip': 'Precipitaรงรฃo',
'feelsLike': 'Sente-se como',
'feelsLike': 'Sensaรงรฃo Tรฉrmica',
'units': {
'km/h': 'km/h',
'm/s': 'm/s',
Expand All @@ -530,12 +530,12 @@ const locale = {
'N', 'N-NE', 'NE', 'E-NE', 'E', 'E-SE', 'SE', 'S-SE',
'S', 'S-SW', 'SW', 'W-SW', 'W', 'W-NW', 'NW', 'N-NW', 'N'
],
'clear-night': 'Cรฉu limpo, noite',
'clear-night': 'Noite limpa',
'cloudy': 'Nublado',
'fog': 'Nevoeiro',
'hail': 'Granizo',
'lightning': 'Trovรฃo',
'lightning-rainy': 'Trovรตes, chuva',
'lightning': 'Relรขmpago ',
'lightning-rainy': 'Chuva e relรขmpagos',
'partlycloudy': 'Parcialmente nublado',
'pouring': 'Chuva forte',
'rainy': 'Chuva',
Expand Down Expand Up @@ -749,6 +749,40 @@ const locale = {
'windy': 'ะ’ั–ั‚ั€ัะฝะพ',
'windy-variant': 'ะ’ั–ั‚ั€ัะฝะพ'
},
ko: {
'tempHi': '์ตœ๊ณ  ๊ธฐ์˜จ',
'tempLo': '์ตœ์ € ๊ธฐ์˜จ',
'precip': '๊ฐ•์ˆ˜',
'feelsLike': '์ฒด๊ฐ',
'units': {
'km/h': 'km/h',
'm/s': 'm/s',
'mph': 'mph',
'Bft': 'Bft',
'hPa': 'hPa',
'mmHg': 'mm Hg',
'mm': 'mm',
'in': 'in'
},
'cardinalDirections': [
'๋ถ', '๋ถ๋ถ๋™', '๋ถ๋™', '๋™๋ถ๋™', '๋™', '๋™๋‚จ๋™', '๋‚จ๋™', '๋‚จ๋‚จ๋™',
'๋‚จ', '๋‚จ๋‚จ์„œ', '๋‚จ์„œ', '์„œ๋‚จ์„œ', '์„œ', '์„œ๋ถ์„œ', '๋ถ์„œ', '๋ถ๋ถ์„œ', '๋ถ'
],
'clear-night': '๋ง‘์Œ(๋ฐค)',
'cloudy': 'ํ๋ฆผ',
'fog': '์•ˆ๊ฐœ',
'hail': '์šฐ๋ฐ•',
'lightning': '๋ฒˆ๊ฐœ',
'lightning-rainy': '๋ฒˆ๊ฐœ, ๋‡Œ์šฐ',
'partlycloudy': '์กฐ๊ธˆ ํ๋ฆผ',
'pouring': 'ํญ์šฐ',
'rainy': '๋น„',
'snowy': '๋ˆˆ',
'snowy-rainy': '์ง„๋ˆˆ๊นจ๋น„',
'sunny': '๋ง‘์Œ',
'windy': '๋ฐ”๋žŒ',
'windy-variant': '๊ฐ•ํ’'
},
};

const cardinalDirectionsIcon = [
Expand Down Expand Up @@ -1485,6 +1519,7 @@ class WeatherChartCardEditor extends s {
<ha-list-item .value=${'es'}>Spanish</ha-list-item>
<ha-list-item .value=${'sv'}>Swedish</ha-list-item>
<ha-list-item .value=${'uk'}>Ukrainian</ha-list-item>
<ha-list-item .value=${'ko'}>ํ•œ๊ตญ์–ด</ha-list-item>
</ha-select>
</div>
</div>
Expand Down

0 comments on commit e88206b

Please sign in to comment.