Kaydet (Commit) 35fe6b95 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Localize the group prefix for pivot table defult group names.

üst 3751ab69
...@@ -599,8 +599,9 @@ ...@@ -599,8 +599,9 @@
#define STR_UNSAVED_EXT_REF 465 #define STR_UNSAVED_EXT_REF 465
#define STR_CLOSE_WITH_UNSAVED_REFS 466 #define STR_CLOSE_WITH_UNSAVED_REFS 466
#define STR_PIVOT_GROUP 467
#define STR_COUNT 467 #define STR_COUNT 468
#endif #endif
...@@ -553,6 +553,10 @@ Resource RID_GLOBSTR ...@@ -553,6 +553,10 @@ Resource RID_GLOBSTR
{ {
Text [ en-US ] = "Data" ; Text [ en-US ] = "Data" ;
}; };
String STR_PIVOT_GROUP
{
Text [ en-US ] = "Group" ;
};
String STR_PIVOTFUNC_SUM String STR_PIVOTFUNC_SUM
{ {
Text [ en-US ] = "SUM" ; Text [ en-US ] = "SUM" ;
......
...@@ -1221,8 +1221,7 @@ void ScDBFunc::GroupDataPilot() ...@@ -1221,8 +1221,7 @@ void ScDBFunc::GroupDataPilot()
} }
rtl::OUString aGroupDimName = pGroupDimension->GetGroupDimName(); rtl::OUString aGroupDimName = pGroupDimension->GetGroupDimName();
//! localized prefix string rtl::OUString aGroupName = pGroupDimension->CreateGroupName(ScGlobal::GetRscString(STR_PIVOT_GROUP));
rtl::OUString aGroupName = pGroupDimension->CreateGroupName( String::CreateFromAscii("Group") );
ScDPSaveGroupItem aGroup( aGroupName ); ScDPSaveGroupItem aGroup( aGroupName );
ScDPUniqueStringSet::const_iterator it = aEntries.begin(), itEnd = aEntries.end(); ScDPUniqueStringSet::const_iterator it = aEntries.begin(), itEnd = aEntries.end();
for (; it != itEnd; ++it) for (; it != itEnd; ++it)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment