Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-34237

Clean up unused properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0, 2.6.1, 2.6.2, 2.7.0
    • Fix Version/s: None
    • Labels:
      None
    • Previous Issue Keys:
      SAK-12313, SAM-968

      Description

      Copy the original email from D. Stuart Freeman:

      In a conversation with Jean-Francois about the trouble involved in translating Sakai to French the topic of orphaned keys in the property files came up. I rote a script that I used to locate these in the resources, but I didn't realize how wide spread the problem is. I ran my script against each directory in trunk like so:

      find . -maxdepth 1 -mindepth 1 -type d -exec sh -c 'echo -n "{}: "|sed s/^..// && cd {}; orphankeys |wc -l' \; > ~/key-offenders

      I then summed and sorted the entries in key-offenders to find that with a few false positives there are over 6000 keys that wouldn't need to be translated, and probably shouldn't be in the source tree.

      I'm attaching the orphankeys script so that tool maintainers can run it against their individual tools and track down the offending keys.

      Here's the list of tools, and their associated totals:

      total: 1847
      ...
      sam: 127
      ...

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                samigoteam SAMIGO TEAM (Inactive)
                Reporter:
                ktsao Karen Tsao
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration