For JS translate you must create language pack with below files.
/app/i18n/Myshop/ro_ro/language.xml:
<?xml version="1.0"?>
<language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
<code>ro_RO</code>
<vendor>Myshop</vendor>
<package>ro_ro</package>
</language>
/app/i18n/Myshop/ro_ro/registration.php:
<?php
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::LANGUAGE,
'myshop_ro_ro',
__DIR__
);
/app/i18n/Myshop/ro_ro/ro_RO.csv with your translates (examples):
"Cart Subtotal:","Costul mărfurilor:"
"Go to Checkout","Du-te la checkout"
...
For apply your store must use Romanian locale, of course. JS translates are stored in /pub/static/frontend/Myshop/Mytheme/ro_RO/js-translation.json.
Remove this file for refresh, clear cache and browser local storage. Enjoy!