Translate src/vector/platform
This commit is contained in:
@@ -18,6 +18,8 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import BasePlatform from 'matrix-react-sdk/lib/BasePlatform';
|
||||
import _t from 'matrix-react-sdk/lib/languageHandler';
|
||||
|
||||
import Favico from 'favico.js';
|
||||
|
||||
/**
|
||||
@@ -36,7 +38,7 @@ export default class VectorBasePlatform extends BasePlatform {
|
||||
}
|
||||
|
||||
getHumanReadableName(): string {
|
||||
return 'Vector Base Platform';
|
||||
return 'Vector Base Platform'; // no translation required: only used for analytics
|
||||
}
|
||||
|
||||
_updateFavicon() {
|
||||
@@ -94,6 +96,6 @@ export default class VectorBasePlatform extends BasePlatform {
|
||||
* device Vector is running on
|
||||
*/
|
||||
getDefaultDeviceDisplayName(): string {
|
||||
return "Unknown device";
|
||||
return _t("Unknown device");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user