Add full support of translation by 'locale' directory

and convert English and French languages to this format.

Signed-off-by: Camille Barneaud <camillebarneaud@gmail.com>
main
Camille Barneaud 13 years ago
parent 9c91d96f86
commit f58f132aa0

@ -153,7 +153,7 @@
for ( cat in w.apps[app].cats ) {
var menuItem = w$('<menuitem/>')
.attr('class', 'wappalyzer-category')
.attr('label', w.categories[w.apps[app].cats[cat]].name)
.attr('label', strings.getString('wappalyzer.cat' + w.apps[app].cats[cat]))
;
menuItem.bind('command', function() {

@ -1,2 +1,32 @@
wappalyzer.name = Wappalyzer
wappalyzer.noAppsDetected = No applications detected
wappalyzer.name = Wappalyzer
wappalyzer.noAppsDetected = No applications detected
wappalyzer.cat1 = CMS
wappalyzer.cat2 = Message Board
wappalyzer.cat3 = Database Manager
wappalyzer.cat4 = Documentation Tool
wappalyzer.cat5 = Widget
wappalyzer.cat6 = Web Shop
wappalyzer.cat7 = Photo Gallery
wappalyzer.cat8 = Wiki
wappalyzer.cat9 = Hosting Panel
wappalyzer.cat10 = Analytics
wappalyzer.cat11 = Blog
wappalyzer.cat12 = JavaScript Framework
wappalyzer.cat13 = Issue Tracker
wappalyzer.cat14 = Video Player
wappalyzer.cat15 = Comment System
wappalyzer.cat16 = CAPTCHA
wappalyzer.cat17 = Font Script
wappalyzer.cat18 = Web Framework
wappalyzer.cat19 = Miscellaneous
wappalyzer.cat20 = Editor
wappalyzer.cat21 = LMS
wappalyzer.cat22 = Web Server
wappalyzer.cat23 = Cache Tool
wappalyzer.cat24 = Rich Text Editor
wappalyzer.cat25 = Javascript Graphics
wappalyzer.cat26 = Mobile Framework
wappalyzer.cat27 = Programming Language
wappalyzer.cat28 = Operating System
wappalyzer.cat29 = Search Engine

@ -1,2 +1,32 @@
wappalyzer.name = Wappalyzer
wappalyzer.noAppsDetected = Pas d'applications détectées
wappalyzer.cat1 = CMS
wappalyzer.cat2 = Forum
wappalyzer.cat3 = Gestionnaire de base de données
wappalyzer.cat4 = Outil de documentation
wappalyzer.cat5 = Widget
wappalyzer.cat6 = Boutique en ligne
wappalyzer.cat7 = Galerie photo
wappalyzer.cat8 = Wiki
wappalyzer.cat9 = Gestionnaires de serveur
wappalyzer.cat10 = Outil de statistiques
wappalyzer.cat11 = Blog
wappalyzer.cat12 = Framework JavaScript
wappalyzer.cat13 = Outils de suivi de problèmes
wappalyzer.cat14 = Lecteur de vidéos
wappalyzer.cat15 = Système de commentaires
wappalyzer.cat16 = CAPTCHA
wappalyzer.cat17 = Script de police
wappalyzer.cat18 = Framework web
wappalyzer.cat19 = Divers
wappalyzer.cat20 = Editeur
wappalyzer.cat21 = LMS
wappalyzer.cat22 = Serveur web
wappalyzer.cat23 = Outil de cache
wappalyzer.cat24 = Editeur WYSIWYG
wappalyzer.cat25 = Graphismes JavaScript
wappalyzer.cat26 = Framework pour mobiles
wappalyzer.cat27 = Language de programmation
wappalyzer.cat28 = Système d'exploitation
wappalyzer.cat29 = Moteur de recherche

@ -2,39 +2,39 @@
if ( wappalyzer == null ) return;
var w = wappalyzer;
w.categories = {
1: { name: 'CMS', plural: 'CMS' },
2: { name: 'Message Board', plural: 'Message Boards' },
3: { name: 'Database Manager', plural: 'Database Managers' },
4: { name: 'Documentation Tool', plural: 'Documentation Tools' },
5: { name: 'Widget', plural: 'Widgets' },
6: { name: 'Web Shop', plural: 'Web Shops' },
7: { name: 'Photo Gallery', plural: 'Photo Galleries' },
8: { name: 'Wiki', plural: 'Wikis' },
9: { name: 'Hosting Panel', plural: 'Hosting Panels' },
10: { name: 'Analytics', plural: 'Analytics' },
11: { name: 'Blog', plural: 'Blogs' },
12: { name: 'JavaScript Framework', plural: 'JavaScript Frameworks' },
13: { name: 'Issue Tracker', plural: 'Issue Trackers' },
14: { name: 'Video Player', plural: 'Video Players' },
15: { name: 'Comment System', plural: 'Comment Systems' },
16: { name: 'CAPTCHA', plural: 'CAPTCHAs' },
17: { name: 'Font Script', plural: 'Font Scripts' },
18: { name: 'Web Framework', plural: 'Web Frameworks' },
19: { name: 'Miscellaneous', plural: 'Miscellaneous' },
20: { name: 'Editor', plural: 'Editors' },
21: { name: 'LMS', plural: 'LMS' },
22: { name: 'Web Server', plural: 'Web Servers' },
23: { name: 'Cache Tool', plural: 'Cache Tools' },
24: { name: 'Rich Text Editor', plural: 'Rich Text Editors' },
25: { name: 'Javascript Graphics', plural: 'Javascript Graphics' },
26: { name: 'Mobile Framework', plural: 'Mobile Frameworks' },
27: { name: 'Programming Language', plural: 'Programming Languages' },
28: { name: 'Operating System', plural: 'Operating Systems' },
29: { name: 'Search Engine', plural: 'Search Engines'}
1: { plural: 'CMS' },
2: { plural: 'Message Boards' },
3: { plural: 'Database Managers' },
4: { plural: 'Documentation Tools' },
5: { plural: 'Widgets' },
6: { plural: 'Web Shops' },
7: { plural: 'Photo Galleries' },
8: { plural: 'Wikis' },
9: { plural: 'Hosting Panels' },
10: { plural: 'Analytics' },
11: { plural: 'Blogs' },
12: { plural: 'JavaScript Frameworks' },
13: { plural: 'Issue Trackers' },
14: { plural: 'Video Players' },
15: { plural: 'Comment Systems' },
16: { plural: 'CAPTCHAs' },
17: { plural: 'Font Scripts' },
18: { plural: 'Web Frameworks' },
19: { plural: 'Miscellaneous' },
20: { plural: 'Editors' },
21: { plural: 'LMS' },
22: { plural: 'Web Servers' },
23: { plural: 'Cache Tools' },
24: { plural: 'Rich Text Editors' },
25: { plural: 'Javascript Graphics' },
26: { plural: 'Mobile Frameworks' },
27: { plural: 'Programming Languages' },
28: { plural: 'Operating Systems' },
29: { plural: 'Search Engines'}
};
w.apps = {
'1und1': { cats: { 1: 6 }, url: /\/shop\/catalog\/browse\?sessid\=/ },
'1C-Bitrix': { cats: { 1: 1 }, html: /<link[^>]+components\/bitrix/i, script: /1c\-bitrix/i },