Skip to content

Commit

Permalink
testing translations for cf tenant for social (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-cronus authored Jul 3, 2024
1 parent 8f62f67 commit 6c15263
Show file tree
Hide file tree
Showing 149 changed files with 1,027 additions and 12 deletions.
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ require (
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/otel v1.28.0 // indirect
go.opentelemetry.io/otel/metric v1.28.0 // indirect
go.opentelemetry.io/otel/trace v1.28.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/mock v0.4.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand All @@ -168,7 +168,7 @@ require (
google.golang.org/genproto v0.0.0-20240701130421-f6361c86f094 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/grpc v1.65.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,14 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.5
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0/go.mod h1:BMsdeOxN04K0L5FNUBfjFdvwWGNe/rkmSwH4Aelu/X0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 h1:9l89oX4ba9kHbBol3Xin3leYJ+252h0zszDtBwyKe2A=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0/go.mod h1:XLZfZboOJWHNKUv7eH0inh0E9VV6eWDFB/9yJyTLPp0=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo=
go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4=
go.opentelemetry.io/otel/metric v1.28.0 h1:f0HGvSl1KRAU1DLgLGFjrwVyismPlnuU6JD6bOeuA5Q=
go.opentelemetry.io/otel/metric v1.28.0/go.mod h1:Fb1eVBFZmLVTMb6PPohq3TO9IIhUisDsbJoL/+uQW4s=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/otel/trace v1.28.0 h1:GhQ9cUuQGmNDd5BTCP2dAvv75RdMxEfTmYejp+lkx9g=
go.opentelemetry.io/otel/trace v1.28.0/go.mod h1:jPyXzNPg6da9+38HEwElrQiHlVMTnVfM3/yv2OlIHaI=
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
Expand Down Expand Up @@ -541,8 +541,8 @@ google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyac
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc=
google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
Expand Down
3 changes: 3 additions & 0 deletions kyc/social/social.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,9 @@ func (vm *VerificationMetadata) expectedPostText(user *users.User, tname tenantN
}

func getRandomIndex(maxVal int64) uint64 {
if maxVal == 0 {
log.Panic(errors.New("no translations"))
}
if maxVal == 1 {
return 0
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
✅ Verifieer my rekening op @sunwaves_token met die bynaam: "{{.Username}}".

👉 Bring feeste na die volgende vlak in die #ION ekosisteem met @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
✅ መለያዬን @ice_blockchain ላይ በቅፅል ስም በማረጋገጥ ላይ፡ "{{.Username}}"

👉 #IceNetwork እየገነባ ስላለው "ያልተማከለ የወደፊት" የበለጠ ተማር። 👇

#Binance #HTX #KuCoin #OKX #Bybit #Gateio #Upbit #Crypto #Blockchain #Web3 #Altcoin #Bitcoin #Ethereum #BNB
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
✅ التحقق من حسابي على @sunwaves_token بلقب: "{{.Username}}".

👉 جلب المهرجانات إلى المستوى التالي في نظام #ION البيئي مع @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
✅ @sunwaves_token hesabımı təxəllüslə təsdiq edirəm: "{{.Username}}".

👉 @ice_blockchain ilə #ION ekosistemində festivalları növbəti səviyyəyə çatdırır.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
✅ Проверявам акаунта си в @sunwaves_token с псевдоним: "{{.Username}}".

👉 Издигане на фестивалите на следващото ниво в екосистемата #ION с @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
✅ @sunwaves_token এ আমার অ্যাকাউন্ট যাচাই করছি ডাকনাম সহ: "{{.Username}}".

👉 @ice_blockchain এর সাথে #ION ইকোসিস্টেমে উৎসবগুলি পরবর্তী স্তরে নিয়ে যাচ্ছে.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
✅ Ověřuji svůj účet na @sunwaves_token s přezdívkou: "{{.Username}}".

👉 Posouváme festivaly na další úroveň v ekosystému #ION s @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
✅ Verifiziere mein Konto bei @sunwaves_token mit dem Spitznamen: "{{.Username}}".

👉 Bringen Festivals auf die nächste Stufe im #ION-Ökosystem mit @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
✅ Επαληθεύω τον λογαριασμό μου στο @sunwaves_token με το ψευδώνυμο: "{{.Username}}".

👉 Φέρνουμε τα φεστιβάλ στο επόμενο επίπεδο στο οικοσύστημα #ION με το @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🎉 Verified on @sunwaves_token! You can find me as "{{.Username}}".

👉 Transforming festival experiences with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🔓 Verified on @sunwaves_token! Connect with me as "{{.Username}}".

🌍 Innovating the festival scene within the #ION ecosystem using @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🌟 Proud to be on @sunwaves_token! Username: "{{.Username}}".

🌍 Revolutionizing festivals with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🎟️ Verified on @sunwaves_token! You can find me as "{{.Username}}".

✨ Transforming festival experiences with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🎈 My account on @sunwaves_token is now live as "{{.Username}}".

🌍 Bringing next-level festivals to the #ION ecosystem powered by @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
💡 I've officially joined @sunwaves_token as "{{.Username}}".

💥 Enhancing festival magic within the #ION ecosystem with @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🚀 Just verified my account on @sunwaves_token as "{{.Username}}".

👉 Taking festivals to new heights in the #ION ecosystem with @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🌟 Verified on @sunwaves_token! Now known as "{{.Username}}".

✨ Revolutionizing festivals in the #ION ecosystem with @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🔥 My account on @sunwaves_token is now active as "{{.Username}}".

🚀 Elevating the festival experience in the #ION ecosystem with @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🎵 Join me on @sunwaves_token as "{{.Username}}".

🎉 Innovating festival vibes in the #ION ecosystem with @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🤩 Verified on @sunwaves_token! My username: "{{.Username}}".

✨ Bringing festivals to the next level with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🌐 My @sunwaves_token account is now live as "{{.Username}}".

🚀 Transforming festivals with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🔒 My account on @sunwaves_token is now live as "{{.Username}}".

🚀 Bringing next-level festivals to the #ION ecosystem powered by @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
💥 Officially verified on @sunwaves_token as "{{.Username}}".

🌍 Elevating festival experiences in the #ION ecosystem with @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🎉 Excited to announce my verification on @sunwaves_token as "{{.Username}}".

✨ Innovating the festival scene with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🌟 Proud to be verified on @sunwaves_token as "{{.Username}}".

🚀 Redefining festivals with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
💼 Verified on @sunwaves_token! Find me as "{{.Username}}".

🌐 Taking festivals to new heights with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
📢 Just verified my account on @sunwaves_token as "{{.Username}}".

🎪 Transforming the festival experience with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🌟 My @sunwaves_token account is now live as "{{.Username}}".

✨ Elevating festivals in the #ION ecosystem with @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
💥 Proud to announce my verification on @sunwaves_token as "{{.Username}}".

🚀 Revolutionizing the festival scene with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🎟️ Verified on @sunwaves_token! My username: "{{.Username}}".

✨ Taking festivals to the next level with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🚀 Officially on @sunwaves_token as "{{.Username}}".

🌐 Transforming festivals with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🎈 Verified on @sunwaves_token! Find me as "{{.Username}}".

✨ Innovating the festival experience with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
⭐ I've officially joined @sunwaves_token as "{{.Username}}".

✨ Enhancing festival magic within the #ION ecosystem with @ice_blockchain.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
💡 Proud to be on @sunwaves_token as "{{.Username}}".

🚀 Redefining festivals with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🎉 My @sunwaves_token account is live as "{{.Username}}".

✨ Transforming the festival scene with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
🌟 Verified on @sunwaves_token! Username: "{{.Username}}".

🚀 Elevating festivals with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
💥 Excited to announce my verification on @sunwaves_token as "{{.Username}}".

✨ Innovating the festival experience with @ice_blockchain in the #ION ecosystem.

https://sunwavestoken.com/@{{.Username}}

#SUNWAVES $SW $ICE
Loading

0 comments on commit 6c15263

Please sign in to comment.