Menu ▾ ▴

#1496 MapDataSet references wrong i18n keys

SQuirreL
closed-fixed
nobody
None
medium
2022-02-19
2022-02-13
Chris B
No

In class net.sourceforge.squirrel_sql.fw.datasetviewer.MapDataSet:

:
private interface i18n
{
  // i18n[mapdataset.unsupported=<Unsupported>]
  String UNSUPPORTED = s_stringMgr.getString("hashtabledataset.unsupported");
  // i18n[mapdataset.key=Key]
  String NAME_COLUMN = s_stringMgr.getString("hashtabledataset.key");
  // i18n[mapdataset.value=Value]
  String VALUE_COLUMN = s_stringMgr.getString("mapdataset.value");
}
:

This has no harmful impact so far since values in "I18NStrings.properties" for "hashtabledataset." and "mapdataset." are the same at the moment:

:
hashtabledataset.unsupported=<Unsupported>
hashtabledataset.key=Key
hashtabledataset.value=Value

mapdataset.unsupported=<Unsupported>
mapdataset.key=Key
mapdataset.value=Value
:

However, it looks like i18n in class MapDataSet is not "as intended".

Discussion

  • Gerd Wagner

    Gerd Wagner - 2022-02-19

    Fixed in our GIT repository. Will be available in future snapshots and versions.

     
  • Gerd Wagner

    Gerd Wagner - 2022-02-19
    • status: open --> closed-fixed
     

Log in to post a comment.