-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45936 from code-dot-org/staging
DTT (Staging > Test) [robo-dtt]
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
dashboard/app/views/i18n/_crowdin_in_context_tool.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-# The Crowdin In-Context tool (https://crowdin.com/project/codeorg/settings#in-context) allows | ||
-# us to view original & translated strings in Crowdin. | ||
-# "in-TL" is a pseudo-language locale where the Crowdin strings are stored | ||
- if request.locale === "in-TL" | ||
:javascript | ||
var _jipt = []; | ||
_jipt.push(['project', 'codeorg']); | ||
_jipt.push(['escape', function() { | ||
window.location.href = `${window.location.pathname}/lang/en-us`; | ||
}]); | ||
%script{type: "text/javascript", src: "//cdn.crowdin.com/jipt/jipt.js"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters