1
0
Fork 0

Merge pull request #1013 from jeroenpeters1986/master

nl_NL improvements and added some iOS bundle-id's 'translations'
master
Gordon Williams 2021-12-06 13:56:13 +00:00 committed by GitHub
commit ab7889d428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 7 deletions

View File

@ -95,7 +95,7 @@
{
"id": "ios",
"name": "iOS Integration",
"version": "0.03",
"version": "0.04",
"description": "(BETA) App to display notifications from iOS devices",
"icon": "app.png",
"tags": "tool,system,ios,apple,messages,notifications",
@ -197,7 +197,7 @@
{
"id": "locale",
"name": "Languages",
"version": "0.10",
"version": "0.11",
"description": "Translations for different countries",
"icon": "locale.png",
"type": "locale",

View File

@ -1,3 +1,4 @@
0.01: New App!
0.02: Remove messages on disconnect
0.03: Handling of message actions (ok/clear)
0.04: Added common bundleId's

View File

@ -54,11 +54,26 @@ E.on('notify',msg=>{
"name" : string,
*/
var appNames = {
"com.netflix.Netflix" : "Netflix",
"com.google.ios.youtube" : "YouTube",
"nl.ah.Appie": "Albert Heijn",
"com.apple.mobilecal": "Calendar",
"com.apple.mobilemail": "Mail",
"com.apple.reminders": "Reminders",
"com.apple.shortcuts": "Shortcuts",
"com.atebits.Tweetie2": "Twitter",
"com.burbn.instagram" : "Instagram",
"com.facebook.Facebook": "Facebook",
"com.facebook.Messenger": "FB Messenger",
"com.google.Gmail" : "GMail",
"com.google.hangouts" : "Hangouts",
"com.google.ios.youtube" : "YouTube",
"com.jumbo.app" : "Jumbo",
"com.netflix.Netflix" : "Netflix",
"com.skype.skype": "Skype",
"com.skype.SkypeForiPad": "Skype",
"com.atebits.Tweetie2": "Twitter"
"com.spotify.client": "Spotify",
"net.whatsapp.WhatsApp": "WhatsApp",
"com.wordfeud.free": "WordFeud",
// could also use NRF.ancsGetAppInfo(msg.appId) here
};
var unicodeRemap = {

View File

@ -10,3 +10,4 @@
0.08: Added Mavigation units and en_NAV
0.09: Added New Zealand en_NZ
0.10: Apply 12hour setting to time
0.11: Added translations for nl_NL and changes one formatting

View File

@ -184,12 +184,12 @@ var locales = {
temperature: "°C",
ampm: { 0: "", 1: "" },
timePattern: { 0: "%HH:%MM:%SS", 1: "%HH:%MM" },
datePattern: { 0: "%A %B %d %Y", 1: "%d.%m.%y" }, // zondag 1 maart 2020 // 01.01.20
datePattern: { 0: "%B %d %Y", 1: "%d.%m.%y" }, // zondag 1 maart 2020 // 01.01.20
abday: "zo,ma,di,wo,do,vr,za",
day: "zondag,maandag,dinsdag,woensdag,donderdag,vrijdag,zaterdag",
abmonth: "jan,feb,mrt,apr,mei,jun,jul,aug,sep,okt,nov,dec",
month: "januari,februari,maart,april,mei,juni,juli,augustus,september,oktober,november,december",
// No translation for english...
trans: { yes: "ja", Yes: "Ja", no: "nee", No: "Nee", ok: "ok", on: "aan", off: "uit", "< Back": "< Terug" }
},
"en_CA": {
lang: "en_CA",