| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change-Id: I6de63d01c21aabd8e00c750c987300ecf610a758
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
There is currently only one translation (german)
Change-Id: I76abb04d842b91726d3052a94d8b81dbac1b10e8
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
|
|
|
|
|
|
|
| |
To choose which precipitation and wind speed units to display.
Change-Id: Ie1fe3dd8f325a9fe253f411addfc9ab3174f4a0c
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
|
|
|
|
|
|
|
|
| |
It is now more generic and can adapt to different localizations
and temperature units if needed.
Change-Id: I8b756cd117e5be8bfbf3cc538c62542a5c9e371c
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Javacript Date() is using UTC time. However the time
given by yr.no is in the city local timezone and should
be used as it.
Now retrieve the offset between the UTC time and the device
local time to correct the time accordingly.
Change-Id: Ib95bba390a890cbef57c55c950440e253ba6f380
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
|
|
|
|
|
|
|
|
| |
- Remove useless JS function
- Use CONSTANT for constant properties
Change-Id: Ie921852250f3f7df718d998e7b3d160dc7db6a15
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
|
|
|
|
|
|
|
|
| |
Now we are using other languages than English, we need to get the
translated string of the temperature unit to calculate the expected size.
Change-Id: I262d1f5aec4ed5bf316ebf75301073bac5934b67
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
|
|
|
|
|
|
|
| |
Now we are using different languages, we need to calculate
the expected lenghts depending on the locale in use.
Change-Id: I6204bc9cdd3564841f7e344b87a93be29d225572
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
|
|
|
|
|
|
|
|
| |
Not all languages use the three first letters of the day name for the
short version (i.e. Finnish)
Change-Id: I50176e0e27ea93d8b78fbf4298e4ee74d0764c2c
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|
|
|
|
|
|
|
| |
Limit strings manipulation by using Date instead. Use system
locale to retrieve date and time formats to display.
Change-Id: Ib9b3be727546a031bcb9c8f231fa77091bdc7587
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
|
|
|
|
|
|
|
| |
Use same temperature formating everywhere.
Change-Id: I80b7004a5011634bee4d11a47116f24ccb317723
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
|
|
|
|
|
|
|
| |
Change-Id: I68dc519a7177810dcc39e9c648cf823904a949ef
Reviewed-by: Hanne Linaae <hanne.linaae@digia.com>
Reviewed-by: Sami Makkonen <sami.makkonen@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
|
|
|