Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Dec 5, 2019
1 parent 14f9f09 commit 999b899
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/plugins/dataStore/DataStore/i18n/DataStore_fr.ts
Expand Up @@ -16,6 +16,13 @@
<translation>Données :</translation>
</message>
</context>
<context>
<name>OpenCOR::DataStore::DataStorePythonWrapper</name>
<message>
<source>The &apos;NoneType&apos; object is not subscriptable.</source>
<translation>L&apos;objet &apos;NoneType&apos; n&apos;est pas enregistrable.</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
Expand Down
Expand Up @@ -425,7 +425,7 @@ double DataStorePythonWrapper::value(DataStoreVariable *pDataStoreVariable,
return pDataStoreVariable->value(pPosition, pRun);
}

throw std::runtime_error("'NoneType' object is not subscriptable.");
throw std::runtime_error(tr("The 'NoneType' object is not subscriptable."));
}

//==============================================================================
Expand Down

0 comments on commit 999b899

Please sign in to comment.