~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to libs/template/templatepanel.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-21 23:19:11 UTC
  • mfrom: (1.2.33 upstream) (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221231911-z9jip7s5aht1jqn9
Tags: 2:1.7.0-1ubuntu1
* Merge from Debian Experimental. Remaining Ubuntu changes:
  - Export .pot name and copy to plugins in debian/rules
  - Version build-depends on kipi-plugins-dev to ensure build is against the
    same version on all archs
* Drop debian/patches/kubuntu_01_linker.diff, incoporated upstream
* Remove patches directory and unused patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
};
115
115
 
116
116
TemplatePanel::TemplatePanel(QWidget* parent)
117
 
             : KTabWidget(parent), d(new TemplatePanelPriv)
 
117
    : KTabWidget(parent), d(new TemplatePanelPriv)
118
118
{
119
119
    // -- Rights Template information panel -------------------------------------------------------------
120
120
 
141
141
    d->authorsPositionEdit->setClickMessage(i18n("Enter the job titles of the authors here."));
142
142
    label2->setBuddy(d->authorsPositionEdit);
143
143
    d->authorsPositionEdit->setWhatsThis(i18n("<p>This field should contain the job titles of the authors. Examples might include "
144
 
                                              "titles such as: Staff Photographer, Freelance Photographer, or Independent Commercial "
145
 
                                              "Photographer. Since this is a qualifier for the Author field, the Author field must also "
146
 
                                              "be filled out.</p>"
147
 
                                              "<p>With IPTC, this field is limited to 32 ASCII characters.</p>"));
 
144
                                         "titles such as: Staff Photographer, Freelance Photographer, or Independent Commercial "
 
145
                                         "Photographer. Since this is a qualifier for the Author field, the Author field must also "
 
146
                                         "be filled out.</p>"
 
147
                                         "<p>With IPTC, this field is limited to 32 ASCII characters.</p>"));
148
148
 
149
149
    // --------------------------------------------------------
150
150
 
266
266
    d->locationSublocationEdit->setClickMessage(i18n("Enter the city sublocation of contents here."));
267
267
    label10->setBuddy(d->locationSublocationEdit);
268
268
    d->locationSublocationEdit->setWhatsThis(i18n("<p>This field should contain the sublocation of the city "
269
 
                                                  "where the photograph was taken.</p>"));
 
269
            "where the photograph was taken.</p>"));
270
270
 
271
271
    // --------------------------------------------------------
272
272
 
276
276
    d->locationProvinceStateEdit->setClickMessage(i18n("Enter the province or state of contents here."));
277
277
    label11->setBuddy(d->locationProvinceStateEdit);
278
278
    d->locationProvinceStateEdit->setWhatsThis(i18n("<p>This field should contain the province or state "
279
 
                                                    "where the photograph was taken.</p>"));
 
279
            "where the photograph was taken.</p>"));
280
280
 
281
281
    // --------------------------------------------------------
282
282
 
284
284
    d->locationCountryCodeEdit = new CountrySelector(page2);
285
285
    label12->setBuddy(d->locationCountryCodeEdit);
286
286
    d->locationCountryCodeEdit->setWhatsThis(i18n("<p>Select here the country "
287
 
                                                  "where the photograph was taken.</p>"));
 
287
            "where the photograph was taken.</p>"));
288
288
 
289
289
    // --------------------------------------------------------
290
290
 
330
330
    d->contactCountryEdit->setClickMessage(i18n("Enter the country name of the lead author here."));
331
331
    label14->setBuddy(d->contactCountryEdit);
332
332
    d->contactCountryEdit->setWhatsThis(i18n("<p>This field should contain the country name "
333
 
                                             "where the lead author lives.</p>"));
 
333
                                        "where the lead author lives.</p>"));
334
334
 
335
335
    // --------------------------------------------------------
336
336
 
340
340
    d->contactAddressEdit->setClickMessage(i18n("Enter the address of the lead author here."));
341
341
    label15->setBuddy(d->contactAddressEdit);
342
342
    d->contactAddressEdit->setWhatsThis(i18n("<p>This field should contain the address "
343
 
                                             "where the lead author lives.</p>"));
 
343
                                        "where the lead author lives.</p>"));
344
344
 
345
345
    // --------------------------------------------------------
346
346
 
350
350
    d->contactPostalCodeEdit->setClickMessage(i18n("Enter the postal code of the lead author here."));
351
351
    label16->setBuddy(d->contactPostalCodeEdit);
352
352
    d->contactPostalCodeEdit->setWhatsThis(i18n("<p>This field should contain the postal code "
353
 
                                                "where the lead author lives.</p>"));
 
353
                                           "where the lead author lives.</p>"));
354
354
 
355
355
    // --------------------------------------------------------
356
356
 
360
360
    d->contactProvinceStateEdit->setClickMessage(i18n("Enter the province of the lead author here."));
361
361
    label17->setBuddy(d->contactProvinceStateEdit);
362
362
    d->contactProvinceStateEdit->setWhatsThis(i18n("<p>This field should contain the province "
363
 
                                                   "where the lead author lives.</p>"));
 
363
            "where the lead author lives.</p>"));
364
364
 
365
365
    // --------------------------------------------------------
366
366