~ubuntu-branches/ubuntu/natty/unity-2d/natty

« back to all changes in this revision

Viewing changes to libunity-2d-private/src/unity2dtr.h

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert, Oliver Grawert, Aurélien Gâteau
  • Date: 2011-04-08 16:03:10 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110408160310-yth7qb9kbgabkqk0
Tags: 3.8.2-0ubuntu1
[ Oliver Grawert ]
* New upstream bugfix release
 - (LP: #632526)  Dash elipsizes file and application names too soon, making them
   unreadable
 - (LP: #669926) [launcher] Web favorites support
 - (LP: #708479) Dash view should use "Prefferred Applications" icons where
   appropriate
 - (LP: #718686) [dash] Group of results sometimes badly positioned
 - (LP: #727483) unity-2d-panel crashed with SIGSEGV in g_return_if_fail_warning()
 - (LP: #731449) [launcher] Dragging a tile at the top of the launcher while
   autoscrolling makes autoscroll wrong afterwards
 - (LP: #736097) [dash] home screen misses icons for applications that are not
   installed
 - (LP: #744999) [launcher] launchers are truncated when too many items to fit
   onscreen
 - (LP: #745077) [spread] clicking launcher with open windows not working correctly
   across workspaces
 - (LP: #745237) [dash] search field default string not translated
 - (LP: #746693) [launcher] .places messages not i18nized
 - (LP: #747836) [dash] Banshee no longer works from the dash home page in 3.8.2
 - (LP: #750753) [dash] showing/hiding places causing graphical corruption
 - (LP: #670608) [dash] Home screen customization should be easy
 - (LP: #683084) Global menu doesn't work well with more than one screen
 - (LP: #714646) [launcher] icons jagged edges during animation
 - (LP: #717744) [panel] inactive menus are clickable
 - (LP: #729002) First four items in Dash begin "Find" "Find" "Find" "Find"
 - (LP: #745758) [spread] super+s should toggle the workspace switcher
 - (LP: #751284) [launcher] Escaping of title broken with webfavorites
 - (LP: #751325) [panel] circle of friends button icon needs to be updated to match
   Unity's
 - (LP: #697816) [launcher] if an urgent window is available then the spread should
   not be activated
 - (LP: #729478) [launcher] Clicking middle mouse button should launch another
   instance of application
 - (LP: #750244) [launcher] Newly installed lenses don’t appear
 - (LP: #752948) Home's "Shortcuts" not i18n/l10n

[ Aurélien Gâteau ]
* Include .mo files in unity-2d package (LP: #751425)

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
{
50
50
    Q_OBJECT
51
51
public:
52
 
    Q_INVOKABLE QString tr(const QString&);
53
 
    Q_INVOKABLE QString tr(const QString& singular, const QString& plural, int n);
 
52
    Q_INVOKABLE QString tr(const QString&, const QString& domain = QString());
 
53
    Q_INVOKABLE QString tr(const QString& singular, const QString& plural, int n, const QString& domain = QString());
54
54
};
55
55
 
56
56
} // namespace
57
57
 
58
58
/**
59
 
 * Translate the string text
 
59
 * Translate the string text.
 
60
 *
 
61
 * If domain is NULL, the default domain name (set in init(…)) is used instead.
60
62
 */
61
 
QString u2dTr(const char* text);
 
63
QString u2dTr(const char* text, const char* domain = NULL);
62
64
 
63
65
/**
64
 
 * Plural version of utr. Should be called like this:
 
66
 * Plural version of u2dTr. Should be called like this:
65
67
 *
66
 
 * u2dTr("%n file", "%n files", count)
 
68
 * u2dTr("%n file", "%n files", count, domain)
67
69
 */
68
 
QString u2dTr(const char* singular, const char* plural, int n);
 
70
QString u2dTr(const char* singular, const char* plural, int n, const char* domain = NULL);
69
71
 
70
72
#endif /* UNITY2DTR_H */