summaryrefslogtreecommitdiff
path: root/langpacks/english/Plugins/Weather.txt
diff options
context:
space:
mode:
authorBasil <basil@miranda-ng.org>2013-01-31 06:27:37 +0000
committerBasil <basil@miranda-ng.org>2013-01-31 06:27:37 +0000
commitcd15bdeb56eeb8135ad3ac162d10cb5d7d19f9ce (patch)
treeb776846810b5a7fc651075ac1be4082dec3a3d71 /langpacks/english/Plugins/Weather.txt
parent25862f213dcd8e853ce453940021038e978b84b5 (diff)
- lpgen.js fixed bug with cutting strings, which are ended with '). Now more correct RegExp with \1 using. When string starts with (" than match end as "), not ').
- english templates updated with new lpgen.js git-svn-id: http://svn.miranda-ng.org/main/trunk@3377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'langpacks/english/Plugins/Weather.txt')
-rw-r--r--langpacks/english/Plugins/Weather.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/langpacks/english/Plugins/Weather.txt b/langpacks/english/Plugins/Weather.txt
index f8b8cf64de..76f753dbbd 100644
--- a/langpacks/english/Plugins/Weather.txt
+++ b/langpacks/english/Plugins/Weather.txt
@@ -198,8 +198,7 @@
[KPA]
[HPA]
[TORR]
-["\r\nvoid GetSpeed(TCHAR *tempchar, TCHAR *unit, TCHAR *str) \r\n{\r\n // unit can be km/h, mph, m/s, knots\r\n double tempunit;\r\n TCHAR tstr[20];\r\n\r\n str[0] = 0;\r\n\r\n // convert the string into an integer (always positive)\r\n // if the result is 0, then the string is not a number, return _T(""\r\n tempunit = _ttof(tempchar);\r\n if (tempunit == 0 && tempchar[0] != '0]
-[KM/H]
+["\r\nvoid GetSpeed(TCHAR *tempchar, TCHAR *unit, TCHAR *str) \r\n{\r\n // unit can be km/h, mph, m/s, knots\r\n double tempunit;\r\n TCHAR tstr[20];\r\n\r\n str[0] = 0;\r\n\r\n // convert the string into an integer (always positive)\r\n // if the result is 0, then the string is not a number, return _T(""\r\n tempunit = _ttof(tempchar);\r\n if (tempunit == 0 && tempchar[0] != '0')\r\n return;\r\n\r\n // convert all to m/s first\r\n if ( !_tcsicmp(unit, _T("KM/H]
[M/S]
[MPH]
[KNOTS]
@@ -240,7 +239,7 @@
[wintry]
[drizzle]
[rain]
-[%20"\r\n// dis = original string\r\n// return value = the modified string with space -> _T("%20"\r\nchar *GetSearchStr(char *dis) \r\n{\r\n char *pstr = dis;\r\n size_t len = strlen(dis);\r\n while (*pstr != 0)\r\n {\r\n if (*pstr == ' ]
+[%20"\r\n// dis = original string\r\n// return value = the modified string with space -> _T("%20"\r\nchar *GetSearchStr(char *dis) \r\n{\r\n char *pstr = dis;\r\n size_t len = strlen(dis);\r\n while (*pstr != 0)\r\n {\r\n if (*pstr == ' ')\r\n {\r\n memmove(pstr+3, pstr+1, len);\r\n memcpy(pstr, _T("%20]
[<unknown time>]
[<Error>]
[HTTP Error %i]
@@ -250,6 +249,7 @@
[Low]
[Feel]
[Wind Speed]
+[KM/H]
[COND]
[DEG]
[DAY]