~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy-backports

« back to all changes in this revision

Viewing changes to ksysguard/gui/ksgrd/SensorManager.cc

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-10-31 19:16:54 UTC
  • Revision ID: james.westby@ubuntu.com-20071031191654-xuof6e1jg6uxqaze
Tags: 3.95.0-0ubuntu1~gutsy1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
 
64
64
SensorManager::SensorManager()
65
65
{
 
66
  retranslate();
 
67
}
 
68
void SensorManager::retranslate()
 
69
{
66
70
  // Fill the sensor description dictionary.
67
 
 
 
71
  mDict.clear();
68
72
  mDict.insert( QLatin1String( "Delta" ), i18n( "Change" ) );
69
73
  mDict.insert( QLatin1String( "Rate" ), i18n( "Rate" ) );
70
74
 
158
162
  }
159
163
 
160
164
  // TODO: translated descriptions not yet implemented.
161
 
 
 
165
  mUnits.clear();
162
166
  mUnits.insert( QLatin1String( "1/s" ), i18nc( "the unit 1 per second", "1/s" ) );
163
167
  mUnits.insert( QLatin1String( "kBytes" ), i18n( "kBytes" ) );
164
168
  mUnits.insert( QLatin1String( "min" ), i18nc( "the unit minutes", "min" ) );
165
169
  mUnits.insert( QLatin1String( "MHz" ), i18nc( "the frequency unit", "MHz" ) );
166
170
  mUnits.insert( QLatin1String( "%" ), i18nc( "a percentage", "%" ) );
167
171
 
 
172
  mTypes.clear();
168
173
  mTypes.insert( QLatin1String( "integer" ), i18n( "Integer Value" ) );
169
174
  mTypes.insert( QLatin1String( "float" ), i18n( "Floating Point Value" ) );
170
175
  mTypes.insert( QLatin1String( "table" ), i18n( "Process Controller" ) );