~ubuntu-branches/ubuntu/precise/kde-l10n-uk/precise-proposed

« back to all changes in this revision

Viewing changes to scripts/kdelibs/kdelibs4/kdelibs4.js

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter, Jonathan Thomas, Harald Sitter
  • Date: 2010-07-31 12:59:35 UTC
  • mfrom: (1.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100731125935-81u71y1u9xfnn07x
Tags: 4:4.5.0-0ubuntu1
[ Jonathan Thomas ]
* Depend on libkdecore5 rather than on kdelibs5, since the latter is
  transitional now

[ Harald Sitter ]
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// kdelibs4.js of Ukrainian KDE translation (copied from Serbian)
 
1
// kdelibs4.js of Ukrainian KDE translation
2
2
 
3
3
// ------------------------------
4
4
// Pick a phrase depending on a dynamic context field.
36
36
    return phrase;
37
37
}
38
38
Ts.setcall("за-контекстом", select_by_context);
 
39
 
 
40
// Return the phrase without the given prefix if it has it,
 
41
// or the full phrase otherwise.
 
42
// Thanks to Chusslove Ilich from Serbian team
 
43
function without_prefix (prefix, phrase)
 
44
{
 
45
    if (phrase.indexOf(prefix) == 0) {
 
46
        phrase = phrase.substr(prefix.length);
 
47
    }
 
48
    return phrase;
 
49
}
 
50
  Ts.setcall("без-префікса", without_prefix);
 
 
b'\\ No newline at end of file'