Merge pull request #425 from cachethq/crowdin-incontext

Use CrowdIn's In-Context Localization Feature
This commit is contained in:
Joe Cohen
2015-01-27 11:56:58 -06:00
13 changed files with 497 additions and 0 deletions
+2
View File
@@ -32,6 +32,8 @@
</style>
@endif
@include('partials.crowdin')
<script src="{{ elixir('js/all.js') }}"></script>
</head>
<body class="error-page">
+2
View File
@@ -40,6 +40,8 @@
@include('partials.stylesheet')
@include('partials.crowdin')
@if($stylesheet = Setting::get('stylesheet'))
<style type="text/css">
{{ $stylesheet }}
+7
View File
@@ -0,0 +1,7 @@
@if(Setting::get('app_locale') === 'en-UD')
<script type="text/javascript">
var _jipt = [];
_jipt.push(['project', 'cachet']);
</script>
<script type="text/javascript" src="//cdn.crowdin.com/jipt/jipt.js"></script>
@endif
@@ -23,6 +23,8 @@
<link href="//fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="{{ elixir('css/all.css') }}">
@include('partials.crowdin')
<script type="text/javascript">
var Global = {};
Global.locale = '{{ Setting::get('app_locale') }}';