Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Info to the authors and Question

Help
icyfeet
2008-10-12
2013-05-30
  • icyfeet
    icyfeet
    2008-10-12

    Referring to version 0.6.1
    In
    /openbiblio/admin/member_fields_list.php
    line 28 the "i" in "Fields" should be in lowercase to match the translation string in /locale/xx/admin.php

    In
    openbiblio/navbars/admin.php
    line 40 the space character at the end of" Member Fields" should be deleted to match the translation string in  /locale/xx/navbars.php.

    Question:
    Like poster udomuecke, I don't know how to translate the report section. Any help?

     
    • icyfeet
      icyfeet
      2008-10-12

      Found how to translate the report section.

      Will do some tests then I'll give you my solution.

       
    • icyfeet
      icyfeet
      2008-10-24

      Here are some first suggestions for translating the new report section:

      Change /navbars/reports.php (line 22) to:
      Nav::node('reportlist', $navLoc->getText("reportlist"), '../reports/index.php');
      and add the coresponding translation text to /locale/xx/navbars.php in section reports.php (round line 87 - 93):
      $trans["reportlist"]               = "\$text = 'TRANSLATION';";

      Change /navbars/reports.php (line 24) to:
        Nav::node('results', $navLoc->getText("reportresults"),
      and add the coresponding translation text to /locale/xx/navbars.php in section reports.php (round line 87 - 93):
      $trans["reportresults"]               = "\$text = 'TRANSLATION';";

      Add a new line in /reports/runreport.php after line 11:
        $navLoc = new Localize(OBIB_LOCALE,"navbars");
      and change in the same file the line 124 (formerly line 123) to:
        Nav::node('results/list', $navLoc->getText("printlist"),
      and change in the same file the line 126 (formerly line 125) to:
        Nav::node('reportcriteria', $navLoc->getText("reportcriteria"),
      and add the coresponding translation text to /locale/xx/navbars.php in a new section "runreport.php and report_criteria.php":
      $trans["printlist"]               = "\$text = 'TRANSLATION';";
      and add the coresponding translation text to /locale/xx/navbars.php in the new section runreport.php
      $trans["reportcriteria"]               = "\$text = 'TRANSLATION';";

      Add a new line in /reports/report_criteria.php after line 14:
        $navLoc = new Localize(OBIB_LOCALE,"navbars");
      and change in the same file the line 32 (formerly line 31) to:
        Nav::node('reportcriteria', $navLoc->getText("reportcriteria"));
      No translationstring needs to be added as it uses the same as the string in runreport.php (see above)

      Change lines 1 and 2 in /reports/defs/balanceDueList.rpt to
      .title "balanceDueList"
      .category "Circulation"

      Change lines 1 and 2 in /reports/defs/holds.rpt to
      .title "reportHolds"
      .category "Circulation"

      Change lines 1 and 2 in /reports/defs/popularBiblios.rpt to
      .title "popularBiblios"
      .category "Circulation"

      Add in /locale/xx/reports.de in section report_criteria.php:
      $trans["HTML (page-by-page)"]      = "\$text = 'TRANSLATION';";
      $trans["HTML (one big page)"]      = "\$text = 'TRANSLATION';";

      Add in /locale/xx/reports.de in a new section called *.rpt
      $trans["Minimum balance"]          = "\$text = 'TRANSLATION';";
      $trans["Barcode Starts With"]      = "\$text = 'TRANSLATION';";
      $trans["Newer than"]               = "\$text = 'TRANSLATION';";
      $trans["Copy Search"]              = "\$text = 'TRANSLATION';";
      $trans["Circulation"]              = "\$text = 'TRANSLATION';";
      $trans["Cataloging"]               = "\$text = 'TRANSLATION';";

       


Anonymous


Cancel   Add attachments