add some i18n() in the test applet

This commit is contained in:
Marco Martin 2013-08-22 17:01:00 +02:00
parent b71f8bd894
commit 1b2a75a819

View File

@ -44,10 +44,10 @@ Rectangle {
id: column id: column
anchors.centerIn: parent anchors.centerIn: parent
Text { Text {
text: "I'm an applet" text: i18n("I'm an applet")
} }
PlasmaComponents.Button { PlasmaComponents.Button {
text: "Background" text: i18n("Background")
checked: plasmoid.backgroundHints == 1 checked: plasmoid.backgroundHints == 1
onClicked: { onClicked: {
print("Background hints: " + plasmoid.backgroundHints) print("Background hints: " + plasmoid.backgroundHints)
@ -61,7 +61,7 @@ Rectangle {
} }
} }
PlasmaComponents.Button { PlasmaComponents.Button {
text: "Busy" text: i18n("Busy")
checked: plasmoid.busy checked: plasmoid.busy
onClicked: { onClicked: {
plasmoid.busy = !plasmoid.busy plasmoid.busy = !plasmoid.busy