...date strings to use "Qt" (and not qt or QT)
- update initialisation of notificator to use qApp->applicationName() instead of a static string
See #1276 for informations!
I don't think this will cause many conflicts, so I don't mind merging. One thing I'm not sure about is "bitcoin address" or "Bitcoin address". It could be interpreted both as referring the the currency or to the system.
For me such an address is a Bitcoin (system) address used to transfer bitcoins :). But we should hear others, too.
Just take a look at http://en.wikipedia.org/wiki/Bitcoin There they write Bitcoin address
Can we please decide to get this in quick? I want to create the next version of the en translation master file, so that we have enough time for such things to mature!
ACK
Final merge-request ;).
425 | @@ -426,7 +426,7 @@ void BitcoinGUI::createTrayIcon() 426 | trayIconMenu->addAction(quitAction); 427 | #endif 428 | 429 | - notificator = new Notificator(tr("bitcoin-qt"), trayIcon); 430 | + notificator = new Notificator(tr("Bitcoin-Qt"), trayIcon);
Can someone confirm changing this won't have any unexpected side effects?
I took a look through the Notificator class and it is used as programName in args.append(programName); It this is the case we should perhaps remove the tr() for this and I change it back to lower-case?`@laanwj Can you help here?
I think we should just use qApp->applicationName() instead of tr("bitcoin-qt"). We use app.setApplicationName("Bitcoin-Qt"); to set the name, so it should be fine to query it via applicationName()...
425 | @@ -426,7 +426,7 @@ void BitcoinGUI::createTrayIcon() 426 | trayIconMenu->addAction(quitAction); 427 | #endif 428 | 429 | - notificator = new Notificator(tr("bitcoin-qt"), trayIcon); 430 | + notificator = new Notificator(qApp->applicationName(), trayIcon);
Updated to use the dynamic solution in favor of a static string as app-name.
I am not sure what the 'appname' in freedesktop notifications is actually used for. The specification is unclear on this: http://developer.gnome.org/notification-spec/
Using qApp name sounds like a good idea. There's no need to translate it.