Strings.php 4.22 KB
Newer Older
Pham Huy committed
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
<?php
/**
 * Auto-generated class, do not edit.
 * The purpose of this is to provide extractable strings that can be compiled at runtime into raw data for exporting to JavaScript.
 */
class Loco_js_Strings extends Loco_hooks_TranslateBuffer {

    /**
     * @return array
     */ 
    public function compile(){

        // When text filtering reduces to an empty view
        __("Nothing matches the text filter",'loco-translate');

        /* Where %s is the name of the POT template file. Message appears after sync
         * xgettext: javascript-format */
        __("Merged from %s",'loco-translate');

        // Message appears after sync operation
        __("Merged from source code",'loco-translate');

        // Summary of new strings after running in-editor Sync
        _n("1 new string added","%s new strings added",0,'loco-translate');

        // Summary of existing strings that no longer exist after running in-editor Sync
        _n("1 obsolete string removed","%s obsolete strings removed",0,'loco-translate');

        /* Message appears after sync operation when nothing has changed. %s refers to a POT file.
         * xgettext: javascript-format */
        __("Already up to date with %s",'loco-translate');

        // Message appears after sync operation when nothing has changed
        __("Already up to date with source code",'loco-translate');

        // Warning appears when user tries to refresh or navigate away when editor work is unsaved
        __("Your changes will be lost if you continue without saving",'loco-translate');

        // Shows total string count at top of editor
        _n("1 string","%s strings",0,'loco-translate');

        /* Shows percentage translated at top of editor
         * xgettext: javascript-format */
        __("%s%% translated",'loco-translate');

        /* Shows number of fuzzy strings at top of editor
         * xgettext: javascript-format */
        __("%s fuzzy",'loco-translate');

        /* Shows number of untranslated strings at top of editor
         * xgettext: javascript-format */
        __("%s untranslated",'loco-translate');

        // Generic error when external process broke an Ajax request
        __("Server returned invalid data",'loco-translate');

        //
        __("Check console output for debugging information",'loco-translate');

        //
        __("Provide the following text when reporting a problem",'loco-translate');

        //
        __("Unknown error",'loco-translate');

        //
        __("Error",'loco-translate');

        //
        __("Warning",'loco-translate');

        //
        __("Notice",'loco-translate');

        //
        __("OK",'loco-translate');

        /* Label for the window pane holding the original English text
         * List heading showing preview of English text for each item */
        _x("Source text","Editor",'loco-translate');

        /* Where %s is the name of the language, e.g. "French translation"
         * xgettext: javascript-format */
        _x("%s translation","Editor",'loco-translate');

        // Label for the window pane holding message context
        _x("Context","Editor",'loco-translate');

        // Label for the window pane for entering translator comments
        _x("Comments","Editor",'loco-translate');

        // Label for the singular form of the original English text
        _x("Single","Editor",'loco-translate');

        // Label for the plural form of the original English text
        _x("Plural","Editor",'loco-translate');

        //
        _x("Untranslated","Editor",'loco-translate');

        //
        _x("Translated","Editor",'loco-translate');

        //
        _x("Fuzzy","Editor",'loco-translate');

        // Label for the source text window when no translation selected
        _x("Source text not loaded","Editor",'loco-translate');

        // Label for the context window when no translation selected
        _x("Context not loaded","Editor",'loco-translate');

        // Label for the translation editing window when no translation selected
        _x("Translation not loaded","Editor",'loco-translate');

        // List heading showing preview of translated text for each item
        _x("Translation","Editor",'loco-translate');


        return $this->flush('loco-translate');
    }
}