[GTK] Enable translations for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=111398

Patch by Gustavo Noronha Silva <gns@gnome.org> on 2013-03-07.
Reviewed by Martin Robinson.

* GNUmakefile.am: adjust path for i18n GNUmakefile.am.
* configure.ac: generate the i18n makefile unconditionally, the translations are
used by both WebKitGTK+ and WebKit2GTK+.

Source/WebCore:

* GNUmakefile.am: distribute po files.
* platform/gtk/po/POTFILES.in: adjust paths for translatable files.

Source/WebCore/platform/gtk/po:

* GNUmakefile.am: Renamed from Source/WebKit/gtk/po/GNUmakefile.am.
* POTFILES.in: Renamed from Source/WebKit/gtk/po/POTFILES.in.
* README: Renamed from Source/WebKit/gtk/po/README.
* ar.po: Renamed from Source/WebKit/gtk/po/ar.po.
* as.po: Renamed from Source/WebKit/gtk/po/as.po.
* bg.po: Renamed from Source/WebKit/gtk/po/bg.po.
* cs.po: Renamed from Source/WebKit/gtk/po/cs.po.
* de.po: Renamed from Source/WebKit/gtk/po/de.po.
* el.po: Renamed from Source/WebKit/gtk/po/el.po.
* en_CA.po: Renamed from Source/WebKit/gtk/po/en_CA.po.
* en_GB.po: Renamed from Source/WebKit/gtk/po/en_GB.po.
* eo.po: Renamed from Source/WebKit/gtk/po/eo.po.
* es.po: Renamed from Source/WebKit/gtk/po/es.po.
* et.po: Renamed from Source/WebKit/gtk/po/et.po.
* eu.po: Renamed from Source/WebKit/gtk/po/eu.po.
* fr.po: Renamed from Source/WebKit/gtk/po/fr.po.
* gl.po: Renamed from Source/WebKit/gtk/po/gl.po.
* gu.po: Renamed from Source/WebKit/gtk/po/gu.po.
* he.po: Renamed from Source/WebKit/gtk/po/he.po.
* hi.po: Renamed from Source/WebKit/gtk/po/hi.po.
* hu.po: Renamed from Source/WebKit/gtk/po/hu.po.
* id.po: Renamed from Source/WebKit/gtk/po/id.po.
* it.po: Renamed from Source/WebKit/gtk/po/it.po.
* ko.po: Renamed from Source/WebKit/gtk/po/ko.po.
* lt.po: Renamed from Source/WebKit/gtk/po/lt.po.
* lv.po: Renamed from Source/WebKit/gtk/po/lv.po.
* mr.po: Renamed from Source/WebKit/gtk/po/mr.po.
* nb.po: Renamed from Source/WebKit/gtk/po/nb.po.
* nl.po: Renamed from Source/WebKit/gtk/po/nl.po.
* pa.po: Renamed from Source/WebKit/gtk/po/pa.po.
* pl.po: Renamed from Source/WebKit/gtk/po/pl.po.
* pt.po: Renamed from Source/WebKit/gtk/po/pt.po.
* pt_BR.po: Renamed from Source/WebKit/gtk/po/pt_BR.po.
* ro.po: Renamed from Source/WebKit/gtk/po/ro.po.
* ru.po: Renamed from Source/WebKit/gtk/po/ru.po.
* sl.po: Renamed from Source/WebKit/gtk/po/sl.po.
* sr.po: Renamed from Source/WebKit/gtk/po/sr.po.
* sr@latin.po: Renamed from Source/WebKit/gtk/po/sr@latin.po.
* sv.po: Renamed from Source/WebKit/gtk/po/sv.po.
* uk.po: Renamed from Source/WebKit/gtk/po/uk.po.
* vi.po: Renamed from Source/WebKit/gtk/po/vi.po.
* zh_CN.po: Renamed from Source/WebKit/gtk/po/zh_CN.po.

Source/WebKit2:

* GNUmakefile.am: define PACKAGE_LOCALE_DIR when building WebProcess's main module.
* WebProcess/gtk/WebProcessMainGtk.cpp:
(WebKit::WebProcessMainGtk): register the i18n domain name, and prefer UTF-8, since
we're GTK+; at the moment we're just using the same name as WebKitGTK+, pro: the
translation module can be reused, con: you can't have different versions of
WebKitGTK+ and WebKit2GTK+ installed, because the module would not be fit for reuse
in that case.
* UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
(WebKit::childSetupFunction): do not set LC_ALL environment variable explicitly,
the child process will already inherit the environment of the parent, which should
have all the variables set properly.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Add some more compilation annotations to NavigatorView
https://bugs.webkit.org/show_bug.cgi?id=111730

Reviewed by Alexander Pavlov.

* inspector/front-end/NavigatorView.js:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145082 268f45cc-cd09-0410-ab3c-d52691b4dbfc