-
Notifications
You must be signed in to change notification settings - Fork 5
/
jsstrings.php
26 lines (26 loc) · 1.25 KB
/
jsstrings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<script>
/**
* These few strings are used in Javascript.
* This is dirty a integration of JS translatable strings (why bother with another JS library ?)
* BEWARE OF DOUBLE-QUOTES
*/
var LANG = {};
LANG.AUTHENTICATE = "<?php echo _("Authenticate");?>";
LANG.CANCEL = "<?php echo _("Cancel");?>";
LANG.CHOOSE = "<?php echo _("Choose");?>";
LANG.ERROR_LANG_IN_USE = "<?php echo _("This language is already in use");?>";
LANG.ERROR_PLACES = "<?php echo _("Error while loading places");?>";
LANG.ERROR_PREF = "<?php echo _("Error saving user preferences");?>";
LANG.ERROR_RETRIEVE = "<?php echo _("Error while retrieving OSM object");?>";
LANG.ERROR_SAVE = "<?php echo _("Error while saving object");?>";
LANG.ERROR_SUBMIT = "<?php echo _("Error while submitting changes");?>";
LANG.REVERT = "<?php echo _("Revert");?>";
LANG.SAVE = "<?php echo _("Save");?>";
LANG.SAVED = "<?php echo _("Changes saved");?>";
LANG.TIP1 = "<?php echo _("type a");?>";
LANG.TIP2 = "<?php echo _("language code (ie. en, fr, de)");?>";
LANG.TIP_WP_ISO639 = "<?php echo _("http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes");?>";
LANG.RELATION_OBJ = "<?php echo _("Relation object");?>";
LANG.NODE_OBJ = "<?php echo _("Node object");?>";
LANG.PROPOSALS = "<?php echo _("Proposals");?>";
</script>