Skip to content

bbl list: The output shows uppercase, but user need to put lowercase to select specific translation. #7

@freakse-sa

Description

@freakse-sa

Proposal

Can I propose the idea to refine more familiar for non-technical users.

Rationale

Currently, when a user runs bbl list, the output is a list of available translations. The list shows uppercase, though users need to put lowercae like this "bbl gen 1 in webus" (they can't put "WEBUS").

While this function "list"is helpful, adding a brief explanation would improve the user experience, especially for new users.

For example, a message like "This is a list of available Bible translations. Could you put lower case when you select these translations ? (Such as bbl gen 1 in *webus* instead of WEBUS" would guide the user and provide context without making the output too cluttered.

This could be implemented by adding a new echo() call at the end of the run() method in ListCli.kt, after the main list output loop.

// In ListCli.kt
override fun run() {
    // ... existing logic to print the list ...

    echo("") // Add an empty line for separation
    echo("This is a list of available Bible translations. Could you put lower case when you select these translations ?  Such as `bbl gen 1 in webus` instead of WEBUS.")
}

I think the way to change from val abbrev = this.toString().uppercase() to val abbrev = this.toString().lowercase() in line 85 atTranslation.kt. But I think the first way is more kindly for users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions