Changeset 161 for trunk


Ignore:
Timestamp:
Nov 1, 2017, 12:58:42 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Translate status bar text.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/AcronymDecoder.lpi

    r151 r161  
    424424        <StackChecks Value="True"/>
    425425      </Checks>
     426      <VerifyObjMethodCallValidity Value="True"/>
    426427    </CodeGeneration>
    427428    <Linking>
  • trunk/Forms/UFormMain.pas

    r153 r161  
    161161  SAddedCount = 'Imported %d acronyms. Added %d new.';
    162162  SProcessImportSources = 'Process import sources';
     163  SAcronymsCount = 'Acronyms count: %d';
     164  SMeaningsCount = 'Meanings count: %d';
    163165
    164166
     
    683685  Caption := Title;
    684686  if Assigned(Core.AcronymDb) then begin
    685     StatusBar1.Panels[0].Text := 'Acronyms count: ' +
    686       IntToStr(Core.AcronymDb.Acronyms.Count);
    687     StatusBar1.Panels[1].Text := 'Meanings count: ' +
    688       IntToStr(Core.AcronymDb.GetMeaningsCount);
     687    StatusBar1.Panels[0].Text := Format(SAcronymsCount, [
     688      Core.AcronymDb.Acronyms.Count]);
     689    StatusBar1.Panels[1].Text := Format(SMeaningsCount, [
     690      Core.AcronymDb.GetMeaningsCount]);
    689691  end else begin
    690692    StatusBar1.Panels[0].Text := '';
  • trunk/Languages/AcronymDecoder.cs.po

    r152 r161  
    912912msgstr "Opravdu chcete odebrat vybrané zdroje importu?"
    913913
     914#: uformmain.sacronymscount
     915msgid "Acronyms count: %d"
     916msgstr "Počet zkratek: %d"
     917
    914918#: uformmain.saddedcount
    915919msgid "Imported %d acronyms. Added %d new."
     
    924928msgstr "Zkratky byly upraveny. Chcete je před odchodem uložit do souboru?"
    925929
     930#: uformmain.smeaningscount
     931msgid "Meanings count: %d"
     932msgstr "Počet významů: %d"
     933
    926934#: uformmain.smodified
    927935msgid "modified"
  • trunk/Languages/AcronymDecoder.po

    r152 r161  
    902902msgstr ""
    903903
     904#: uformmain.sacronymscount
     905msgid "Acronyms count: %d"
     906msgstr ""
     907
    904908#: uformmain.saddedcount
    905909msgid "Imported %d acronyms. Added %d new."
     
    914918msgstr ""
    915919
     920#: uformmain.smeaningscount
     921msgid "Meanings count: %d"
     922msgstr ""
     923
    916924#: uformmain.smodified
    917925msgid "modified"
Note: See TracChangeset for help on using the changeset viewer.