Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add localization to the tooltip-porcentage-mode fields with the Spanish translation #1090

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Extensions/combined/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,17 @@
},
"colorTheme": {
"message": "Color theme:"
},
"showTooltipPercentage": {
"message": "Percentage in like/dislike bar tooltip."
},
"showTooltipPercentageHover": {
"message": "Display percentage in like/dislike bar tooltip."
},
"tooltipPercentageMode": {
"message": "Percent mode:"
},
"tooltipPercentageModeHover": {
"message": "Use custom percentage display on hover."
}
}
12 changes: 12 additions & 0 deletions Extensions/combined/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,17 @@
},
"colorTheme": {
"message": "Combinación de colores:"
},
"showTooltipPercentage": {
"message": "Porcentaje en el tooltip de la barra de like/dislike."
},
"showTooltipPercentageHover": {
"message": "Mostrar porcentaje en el tooltip de la barra de like/dislike."
},
"tooltipPercentageMode": {
"message": "Modo de porcentaje:"
},
"tooltipPercentageModeHover": {
"message": "Usar visualización de porcentaje personalizada al pasar el puntero."
}
}
8 changes: 4 additions & 4 deletions Extensions/combined/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,17 +174,17 @@ <h1 style="margin-bottom: 0.75rem" title="__MSG_extensionName__">
<br />
<label
class="switch"
data-hover="Display percentage in like/dislike bar tooltip."
data-hover="__MSG_showTooltipPercentageHover__"
>
<input type="checkbox" id="show_tooltip_percentage" />
<span class="slider"></span>
<span class="switchLabel">Percentage in like/dislike bar tooltip.</span>
<span class="switchLabel">__MSG_showTooltipPercentage__</span>
</label>
<div class="custom-select">
<label
for="tooltip_percentage_mode"
data-hover="Use custom percentage display on hover."
>Percent mode:</label
data-hover="__MSG_tooltipPercentageModeHover__"
>__MSG_tooltipPercentageMode__</label
>
<select name="tooltip_percentage_mode" id="tooltip_percentage_mode">
<option value="dash_like" id="tooltip_percentage_mode_dash_like">
Expand Down