Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Arguments for Push Message localisation in SendExchange do not seem to work

Aperta
#98 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@ryzngard ci sta già lavorando.

Dal 1/6/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug Plug-in - GameKit

Sending an Exchange with the GKTurnBasedMatch.SendExchange method with a localisation key that is set in the Localizable.strings and one or more arguments leads to a push message that only displays the localisation key (in my example LC_PushMsg_MatchEnded). If the message does not contain arguments the push message is correctly localized and displayed.

Example of localizable.strings entry with one argument to be replaced:

"LC_PushMsg_MatchEnded" = "The match has ended. The winner is %@";

I also tried

"LC_PushMsg_MatchEnded" = "The match has ended. The winner is %1$@";

I even added a log to the swift file to make sure that exactly one argument is passed to the native SendExchange method (for this example) and the call seems to have the right argument.

Lingua principale
C#
Stelle
986
Fork
252
Merge medio
1h 36m
PR unite (30g)
2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apple/unityplugins

Tutte le issue di apple/unityplugins

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.