Giter Club home page Giter Club logo

Comments (2)

boredazfcuk avatar boredazfcuk commented on September 12, 2024

I can't read your post, so I'm not sure what you're getting at, but I deliberately didn't implement this feature for China as I don't know what the Chinese translations would be for:

"iCloudPD remote synchronisation initiated" "0" "iCloudPD has detected a remote authentication request for Apple ID:"

and

"Starting remote authentication process"

another translation which I'm missing is:

"iCloudPD remote synchronisation complete" "0" "iCloudPD has completed a remote synchronisation request for Apple ID:"

just in case you're multi-lingual and feel like translating it for me. However, seeing as you didn't write your original question in English, I'm guessing you're not.

from docker-icloudpd.

RICwang avatar RICwang commented on September 12, 2024

Sorry, I thought you were a Chinese developer,
I mean, when the icloud_china is set to true, the ”user auth“ message is sent to the telegram, and the program only performs the message notification, but does not trigger a new authentication.
I looked at all the judgments about ${icloud_china} and just translated the content of the notification, so I fix it like this

                           elif [ "$(echo "${check_update_text}" | tr [:upper:] [:lower:])" = "$(echo "${user} auth" | tr [:upper:] [:lower:])" ]; then
                              LogDebug "Remote authentication message match: ${check_update_text}"
                              if [ "${icloud_china}" = false ]; then
                                 Notify "remotesync" "iCloudPD remote synchronisation initiated" "0" "iCloudPD has detected a remote authentication request for Apple ID: ${apple_id}"
                              else
                                 Notify "remotesync" "iCloudPD remote synchronisation initiated" "0" "iCloudPD将以Apple ID: ${apple_id}发起身份验证"
                              fi
                              rm "/config/${cookie_file}" "/config/${cookie_file}.session"
                              LogDebug "Starting remote authentication process"
                              /usr/bin/expect /opt/authenticate.exp &

plz merge my PR, thanks

from docker-icloudpd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.