diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-05-16 20:46:27 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-05-16 20:46:27 +0000 |
commit | 296157204cb8c89827ee68c39f5e1783d2de7e86 (patch) | |
tree | 0f923ec1c6530e45dfc7c5e2725d2e92afe09bb2 /protocols/Omegle/src/constants.h | |
parent | 693b7a10ad35934e9e91656642e2c2321b27fab3 (diff) |
Omegle:
- Show in status bar when Stranger is typing
- Added option to chose language of Stranger
- Use version.h file
- Updated copyright year
- Small fixes.
- Version bump.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/constants.h')
-rw-r--r-- | protocols/Omegle/src/constants.h | 92 |
1 files changed, 86 insertions, 6 deletions
diff --git a/protocols/Omegle/src/constants.h b/protocols/Omegle/src/constants.h index 319c184992..81a4630c98 100644 --- a/protocols/Omegle/src/constants.h +++ b/protocols/Omegle/src/constants.h @@ -3,7 +3,7 @@ Omegle plugin for Miranda Instant Messenger
_____________________________________________
-Copyright © 2011-12 Robert Pösel
+Copyright © 2011-13 Robert Pösel
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,10 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once
-// Version management
-#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0,1,1,0)
-#define __VERSION_STRING "0.1.1.0"
-
// Product management
#define OMEGLE_NAME "Omegle"
#define OMEGLE_SERVER_REGULAR "http://www.omegle.com"
@@ -52,4 +48,88 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // Servers list
//static const char *servers[] = {"Random", "bajor", "cardassia", "promenade", "odo-bucket", "ferengi", "quilt", "empok-nor", "quibbler"};
-static const char *servers[] = {"Random", "front1", "front2", "front3", "front4", "qfront1"};
\ No newline at end of file +static const char *servers[] = {"Random", "front1", "front2", "front3", "front4", "front5", "front6", "front7", "front8", "front9"};
+
+static const struct {
+ const char *id;
+ const char *lang;
+} languages[] = {
+ {"en", "English"},
+ {"af", "Afrikaans"},
+ {"sq", "Albanian"},
+ {"ar", "Arabic"},
+ {"hy", "Armenian"},
+ {"az", "Azerbaijani"},
+ {"eu", "Basque"},
+ {"be", "Belarusian"},
+ {"bn", "Bengali"},
+ {"bs", "Bosnian"},
+ {"bg", "Bulgarian"},
+ {"ceb", "Cebuanese"},
+ {"cs", "Czech"},
+ {"zh-CN", "Chinese (simplified)"},
+ {"zh-TW", "Chinese (traditional)"},
+ {"da", "Danish"},
+ {"eo", "Esperanto"},
+ {"et", "Estonian"},
+ {"tl", "Philipino"},
+ {"fi", "Finnish"},
+ {"fr", "French"},
+ {"gl", "Galician"},
+ {"ka", "Georgian"},
+ {"gu", "Gujarati"},
+ {"ht", "Haitian Creole"},
+ {"iw", "Hebrew"},
+ {"hi", "Hindi"},
+ {"hmn", "Hmong"},
+ {"nl", "Dutch"},
+ {"hr", "Croat"},
+ {"id", "Indonesian"},
+ {"ga", "Irish"},
+ {"is", "Icelandic"},
+ {"it", "Italian"},
+ {"ja", "Japanese"},
+ {"jw", "Javanese"},
+ {"yi", "Yiddish"},
+ {"kn", "Kannada"},
+ {"ca", "Catalan"},
+ {"km", "Khmer"},
+ {"ko", "Korean"},
+ {"lo", "Lao"},
+ {"la", "Latina"},
+ {"lt", "Lithuanian"},
+ {"lv", "Latvian"},
+ {"hu", "Hungarian"},
+ {"mk", "Macedonian"},
+ {"ms", "Malay"},
+ {"mt", "Maltese"},
+ {"mr", "Marathi"},
+ {"de", "German"},
+ {"no", "Norwegian"},
+ {"fa", "Persian"},
+ {"pl", "Polish"},
+ {"pt", "Portugese"},
+ {"ro", "Romañian"},
+ {"ru", "Russian"},
+ {"el", "Greek"},
+ {"sk", "Slovak"},
+ {"sl", "Slovenian"},
+ {"sr", "Serbian"},
+ {"sw", "Swahili"},
+ {"es", "Spanish"},
+ {"sv", "Swedish"},
+ {"ta", "Tamil"},
+ {"te", "Telugu"},
+ {"th", "Thai"},
+ {"tr", "Turkish"},
+ {"uk", "Ukrainian"},
+ {"ur", "Urdu"},
+ {"cy", "Welsh"},
+ {"vi", "Vietnamese"}
+};
+
+// Known server messages, only to inform lpgen
+static const char *server_messages[] = {
+ LPGEN("Stranger is using Omegle's mobile Web site (omegle.com on a phone or tablet)"),
+ LPGEN("You and stranger speak the same language.")
+};
|