jheuel / pollrBot

Telegram bot that can create inline poll messages
MIT License
14 stars 6 forks source link

Unable to toggle multiple choice #3

Closed leonardo834 closed 5 years ago

leonardo834 commented 5 years ago

I edited a poll enabling multiple choice, but know I want to go back to select only one vote. How can it be done, since the button "multiple choice" disappears?

jheuel commented 5 years ago

I forgot implementing toggling back to single choice. Let me know if it does not work as intended.

Thanks for reporting.

leonardo834 commented 5 years ago

Now it's fine!! :-) How can I donate or translate bot?

Em qui, 25 de out de 2018 às 16:56, Johannes Heuel notifications@github.com escreveu:

Closed #3 https://github.com/jheuel/pollrBot/issues/3.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jheuel/pollrBot/issues/3#event-1927215519, or mute the thread https://github.com/notifications/unsubscribe-auth/ALGiQqzNkCBsrJXUOA_MUPQ-1OIBCAWEks5uohdZgaJpZM4X1Rir .

-- Telegram: t.me/Liozek

jheuel commented 5 years ago

Most text that is send to the user should be collected in loc.go. To add a translation, I would need the translation of these strings in quotes. You can paste the file here.

Donating is possible via this link. :-)

leonardo834 commented 5 years ago

Hi. Here's the file translated.

Em seg, 29 de out de 2018 às 15:32, Johannes Heuel notifications@github.com escreveu:

Most text that is send to the user should be collected in loc.go https://github.com/jheuel/pollrBot/blob/master/loc.go. To add a translation, I would need the translation of these strings in quotes. You can paste the file here.

Donating is possible via this link https://www.paypal.me/jheuel. :-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jheuel/pollrBot/issues/3#issuecomment-434026461, or mute the thread https://github.com/notifications/unsubscribe-auth/ALGiQm_ZjCOPON35RIXTLxNiipW7NEWtks5up0m6gaJpZM4X1Rir .

-- Telegram: t.me/Liozek

package main

import "fmt"

var ( locGotQuestion = "OK, agora que recebemos uma pergunta, por favor, envie opções de resposta para sua enquete." locStartCommand = "/start" locEditCommand = "/edit" locCreateNewPoll = "criar nova enquete" locInlineInsertPoll = "inserir enquete no chat" locSharePoll = "compartilhar enquete" locNewQuestion = "Ótimo!" Envie uma pergunta para a nova enquete, por favor. " locEditQuestion = "Ok, apenas envie a nova pergunta, por favor." locEditQuestionButton = "mudar pergunta" locAddOption = "OK. Envie as opções que você deseja adicionar à enquete, por favor." locAddOptionButton = "adicionar opções" locGotEditQuestion = "Obrigado, a pergunta foi alterada para \"%s\"." locNoMessageToEdit = "Desculpe, não consegui encontrar uma enquete para editar." locFinishedCreatingPoll = "Terminei de criar uma nova enquete\n\nVisualização:\n" locMainMenu = "Eu posso ajudar você a criar, enviar e gerenciar enquetes.\n\nO que você quer fazer?" locAboutCommand = "/about" locAboutMessage = "Você pode me encontrar no github:\nhttps: //github.com/jheuel/pollrBot" locDonateCommand = "/donate" locDonateMessage = "Você pode doar para pollrBot usando <a href=\"https://commerce.coinbase.com/checkout/6bf4d01e-c638-41d9-9ac2-4a2aaf1beba9\">bitcoin ou <a href = \ "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q43CKDHGRVSML\">paypal." locPollDoneButton = "feito" locToggleInactive = "abrir enquete" locToggleOpen = "fechar enquete" locToggleSingleChoice = "habilitar múltiplas escolhas" locToggleMultipleChoice = "habilitar escolha única" locAddedOption = fmt.Sprintf( "Você pode adicionar mais opções enviando mensagens, contendo cada uma opção. Se estiver pronto, por favor, aperte o botão %s.\n\nVisualização:\n", locPollDoneButton) )

leonardo834 commented 5 years ago

Just made a donation (558784233F392594X)

Em sex, 2 de nov de 2018 às 18:39, Leonardo Frazão < leonardo.frazao@gmail.com> escreveu:

Hi. Here's the file translated.

Em seg, 29 de out de 2018 às 15:32, Johannes Heuel < notifications@github.com> escreveu:

Most text that is send to the user should be collected in loc.go https://github.com/jheuel/pollrBot/blob/master/loc.go. To add a translation, I would need the translation of these strings in quotes. You can paste the file here.

Donating is possible via this link https://www.paypal.me/jheuel. :-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jheuel/pollrBot/issues/3#issuecomment-434026461, or mute the thread https://github.com/notifications/unsubscribe-auth/ALGiQm_ZjCOPON35RIXTLxNiipW7NEWtks5up0m6gaJpZM4X1Rir .

-- Telegram: t.me/Liozek

-- Telegram: t.me/Liozek