Standardize additional translations.

This commit is contained in:
Patrick Fic
2024-02-26 12:14:13 -08:00
parent 8b0b37aab4
commit 2d07c20ea8
11 changed files with 21 additions and 16 deletions

View File

@@ -85,7 +85,7 @@ async function PbsCalculateAllocationsAp(socket, billids) {
TransactionDate: moment().tz(socket.bodyshop.timezone).toISOString(), //"0001-01-01T00:00:00.0000000Z",
//Description: "Bulk AP posting.",
//AdditionalInfo: "String",
Source: "ImEX Online",
Source: "ImEX Online", //TODO:AIO Resolve this for rome online.
Lines: [], //socket.apAllocations,
},
};

View File

@@ -661,7 +661,7 @@ async function InsertAccountPostingData(socket) {
.toISOString(), //"0001-01-01T00:00:00.0000000Z",
Description: socket.txEnvelope.story,
//AdditionalInfo: "String",
Source: InstanceManager({imex: "ImEX Online", rome:"Rome Online"}),
Source: InstanceManager({imex: t("titles.imexonline"), rome:t("titles.romeonline")}),
Lines: wips,
},
},

View File

@@ -160,7 +160,7 @@ exports.sendNotification = async (req, res) => {
.send({
topic: "PRD_PATRICK-messaging",
notification: {
title: `ImEX Online Message - +16049992002`,
title: `ImEX Online Message - ,
body: "Test Noti.",
//imageUrl: "https://thinkimex.com/img/io-fcm.png",
},

View File

@@ -109,7 +109,7 @@ exports.receive = async (req, res) => {
InstanceManager({
imex:`ImEX Online Message - ${data.phone_num}` ,
rome: `Rome Online Message - ${data.phone_num}`,
promanager: `Pro Manager Message - ${data.phone_num}`
promanager: `ProManager Message - ${data.phone_num}`
})
,
body: message.image_path ? `Image ${message.text}` : message.text,