- Timestamp:
- Oct 14, 2021 12:25:38 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/ExtPack/ExtPack.h
r91475 r91722 341 341 * @param pszComment Comment to the string to resolve possible ambiguities 342 342 * (NULL means no comment). 343 * @param iNum Number used to define plural form of the translation343 * @param aNum Number used to define plural form of the translation 344 344 */ 345 345 DECLR3CALLBACKMEMBER(const char *, pfnTranslate,(PCVBOXEXTPACKHLP pHlp, 346 const char *pszComponent,347 const char *pszSourceText,348 const char *pszComment,349 const int iNum));346 const char *pszComponent, 347 const char *pszSourceText, 348 const char *pszComment, 349 const size_t aNum)); 350 350 351 351 DECLR3CALLBACKMEMBER(int, pfnReserved1,(PCVBOXEXTPACKHLP pHlp)); /**< Reserved for minor structure revisions. */ -
trunk/src/VBox/Main/include/ExtPackManagerImpl.h
r91312 r91722 183 183 VBOXEXTPACK_IF_CS(IVetoEvent) **ppEventOut); 184 184 static DECLCALLBACK(const char *) i_hlpTranslate(PCVBOXEXTPACKHLP pHlp, 185 const char *pszComponent,186 const char *pszSourceText,187 const char *pszComment = NULL,188 const int iNum = -1);185 const char *pszComponent, 186 const char *pszSourceText, 187 const char *pszComment = NULL, 188 const size_t aNum = -1); 189 189 static DECLCALLBACK(int) i_hlpReservedN(PCVBOXEXTPACKHLP pHlp); 190 190 /** @} */ -
trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp
r91718 r91722 2015 2015 /*static*/ DECLCALLBACK(const char *) 2016 2016 ExtPack::i_hlpTranslate(PCVBOXEXTPACKHLP pHlp, 2017 const char *pszComponent,2018 const char *pszSourceText,2019 const char *pszComment /* = NULL */,2020 const int iNum /* = -1 */)2017 const char *pszComponent, 2018 const char *pszSourceText, 2019 const char *pszComment /* = NULL */, 2020 const size_t aNum /* = -1 */) 2021 2021 { 2022 2022 /* … … 2030 2030 #ifdef VBOX_WITH_MAIN_NLS 2031 2031 return VirtualBoxTranslator::translate(m->pTrComponent, pszComponent, 2032 pszSourceText, pszComment, iNum);2032 pszSourceText, pszComment, aNum); 2033 2033 #else 2034 2034 NOREF(pszComponent); 2035 2035 NOREF(pszComment); 2036 NOREF( iNum);2036 NOREF(aNum); 2037 2037 return pszSourceText; 2038 2038 #endif -
trunk/src/VBox/Main/src-all/ExtPackUtil.cpp
r91720 r91722 1091 1091 if (ObjInfo.cbObject >= 9*_1G64) 1092 1092 rc = vboxExtPackReturnError(VERR_OUT_OF_RANGE, pszError, cbError, 1093 ExtPackUtil::tr("'%s': too large (%'RU64 bytes)", "", ObjInfo.cbObject),1093 ExtPackUtil::tr("'%s': too large (%'RU64 bytes)", "", (size_t)ObjInfo.cbObject), 1094 1094 pszName, (uint64_t)ObjInfo.cbObject); 1095 1095 if (!RTFS_IS_FILE(ObjInfo.Attr.fMode))
Note:
See TracChangeset
for help on using the changeset viewer.