Menu

#958 V4.0B8 Sosa-name problem in "Events of close relatives"-view

v3.3.8
open
nobody
None
5
2008-11-17
2006-05-30
Borksoft
No

When looking at the Events of close relatives in Dutch
the names shown using the sosa-names are not shown
correctly.
For example, instead of showing "Overgrootvader" it
shows "aards". This is caused by the fact that there
are some special functions designed to print sosa-
name, which works differently in different languages.

Within person_class.php a value is created in a RELA-
record containing sosa_<nr>, which will be converted
by print_asso_rela_record into the right text, by
looking up this index (sosa_<nr>) in the pgv_lang
array.
For printing of sosa_names this function needs to be
changed. If a RELA record is seen the function should
check if the text after RELA contains sosa_. If so,
the number should be extracted and passed on to
get_sosa_name.

Discussion

  • Borksoft

    Borksoft - 2006-05-30

    Patched includes/functions_print.php (V4.0B8)

     
  • Borksoft

    Borksoft - 2006-05-30

    Logged In: YES
    user_id=1430243

    Next to the file functions_print.php a number of other
    files have to be changed, because they include
    functions_charts.php:
    - ancestry_ctrl.php
    - hourglass_ctrl.php
    - pedigree_ctrl.php
    - timeline_ctrl.php
    In these file the require-lines should be changed into
    require_once

     
  • Borksoft

    Borksoft - 2006-05-30

    includes/controllers/ancestry_ctrl.php

     
  • Borksoft

    Borksoft - 2006-05-30

    includes/controllers/hourglass_ctrl.php

     
  • Borksoft

    Borksoft - 2006-05-30

    includes/controllers/pedigree_ctrl.php

     
  • Borksoft

    Borksoft - 2006-05-30

    includes/controllers/timeline_ctrl.php

     
  • Borksoft

    Borksoft - 2006-05-30

    compact.php

     
  • Borksoft

    Borksoft - 2006-05-30

    familybook.php

     
  • Borksoft

    Borksoft - 2006-05-30

    fanchart.php

     
  • Borksoft

    Borksoft - 2006-05-30

    reportengine.php

     
  • Borksoft

    Borksoft - 2006-05-30

    Logged In: YES
    user_id=1430243

    Some more files that need the require changed into
    require_once:
    - compact.php
    - familybook.php
    - fanchart.php
    - reportengine.php

     
  • Greg Roach

    Greg Roach - 2008-11-17
    • milestone: --> v3.3.8
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.