[mobile] Bug 47107

This commit is contained in:
JuliaSvinareva 2021-06-28 17:45:02 +03:00
parent cc850adfcc
commit dbf70c662a
6 changed files with 90 additions and 6 deletions

View file

@ -340,7 +340,27 @@
"textMarginsW": "Left and right margins are too high for a given page width",
"textMarginsH": "Top and bottom margins are too high for a given page height",
"textCollaboration": "Collaboration",
"textFindAndReplaceAll": "Find and Replace All"
"textFindAndReplaceAll": "Find and Replace All",
"txtScheme1": "Office",
"txtScheme2": "Grayscale",
"txtScheme3": "Apex",
"txtScheme4": "Aspect",
"txtScheme5": "Civic",
"txtScheme6": "Concourse",
"txtScheme7": "Equity",
"txtScheme8": "Flow",
"txtScheme9": "Foundry",
"txtScheme10": "Median",
"txtScheme11": "Metro",
"txtScheme12": "Module",
"txtScheme13": "Opulent",
"txtScheme14": "Oriel",
"txtScheme15": "Origin",
"txtScheme16": "Paper",
"txtScheme17": "Solstice",
"txtScheme18": "Technic",
"txtScheme19": "Trek",
"txtScheme22": "New Office"
},
"Edit": {
"textClose": "Close",

View file

@ -162,6 +162,13 @@ const PageDocumentColorSchemes = props => {
const _t = t('Settings', {returnObjects: true});
const storeSettings = props.storeDocumentSettings;
const allSchemes = storeSettings.allSchemes;
const SchemeNames = [
_t.txtScheme1, _t.txtScheme2, _t.txtScheme3, _t.txtScheme4, _t.txtScheme5,
_t.txtScheme6, _t.txtScheme7, _t.txtScheme8, _t.txtScheme9, _t.txtScheme10,
_t.txtScheme11, _t.txtScheme12, _t.txtScheme13, _t.txtScheme14, _t.txtScheme15,
_t.txtScheme16, _t.txtScheme17, _t.txtScheme18, _t.txtScheme19, _t.txtScheme20,
_t.txtScheme21, _t.txtScheme22
];
return (
<Page>
@ -169,8 +176,9 @@ const PageDocumentColorSchemes = props => {
<List>
{
allSchemes ? allSchemes.map((scheme, index) => {
const name = scheme.get_name();
return (
<ListItem radio={true} className="color-schemes-menu no-fastclick" key={index} title={scheme.get_name()} checked={stateScheme === index}
<ListItem radio={true} className="color-schemes-menu no-fastclick" key={index} title={(index < 22) ? (SchemeNames[index] || name) : name} checked={stateScheme === index}
onChange={() => {
if(index !== curScheme) {
setScheme(index);

View file

@ -209,7 +209,27 @@
"textHighlight": "Highlight Results",
"textReplace": "Replace",
"textNoTextFound": "Text not Found",
"textCollaboration": "Collaboration"
"textCollaboration": "Collaboration",
"txtScheme1": "Office",
"txtScheme2": "Grayscale",
"txtScheme3": "Apex",
"txtScheme4": "Aspect",
"txtScheme5": "Civic",
"txtScheme6": "Concourse",
"txtScheme7": "Equity",
"txtScheme8": "Flow",
"txtScheme9": "Foundry",
"txtScheme10": "Median",
"txtScheme11": "Metro",
"txtScheme12": "Module",
"txtScheme13": "Opulent",
"txtScheme14": "Oriel",
"txtScheme15": "Origin",
"txtScheme16": "Paper",
"txtScheme17": "Solstice",
"txtScheme18": "Technic",
"txtScheme19": "Trek",
"txtScheme22": "New Office"
},
"Add": {
"textSlide": "Slide",

View file

@ -38,6 +38,13 @@ const PagePresentationColorSchemes = props => {
const _t = t('View.Settings', {returnObjects: true});
const storePresentationSettings = props.storePresentationSettings;
const allSchemes = storePresentationSettings.allSchemes;
const SchemeNames = [
_t.txtScheme1, _t.txtScheme2, _t.txtScheme3, _t.txtScheme4, _t.txtScheme5,
_t.txtScheme6, _t.txtScheme7, _t.txtScheme8, _t.txtScheme9, _t.txtScheme10,
_t.txtScheme11, _t.txtScheme12, _t.txtScheme13, _t.txtScheme14, _t.txtScheme15,
_t.txtScheme16, _t.txtScheme17, _t.txtScheme18, _t.txtScheme19, _t.txtScheme20,
_t.txtScheme21, _t.txtScheme22
];
return (
<Page>
@ -45,8 +52,9 @@ const PagePresentationColorSchemes = props => {
<List>
{
allSchemes ? allSchemes.map((scheme, index) => {
const name = scheme.get_name();
return (
<ListItem radio={true} className="color-schemes-menu no-fastclick" key={index} title={scheme.get_name()} checked={stateScheme === index}
<ListItem radio={true} className="color-schemes-menu no-fastclick" key={index} title={(index < 22) ? (SchemeNames[index] || name) : name} checked={stateScheme === index}
onChange={() => {
if(index !== curScheme) {
setScheme(index);

View file

@ -545,7 +545,27 @@
"textValues": "Values",
"textNoTextFound": "Text not found",
"textReplaceAll": "Replace All",
"textCollaboration": "Collaboration"
"textCollaboration": "Collaboration",
"txtScheme1": "Office",
"txtScheme2": "Grayscale",
"txtScheme3": "Apex",
"txtScheme4": "Aspect",
"txtScheme5": "Civic",
"txtScheme6": "Concourse",
"txtScheme7": "Equity",
"txtScheme8": "Flow",
"txtScheme9": "Foundry",
"txtScheme10": "Median",
"txtScheme11": "Metro",
"txtScheme12": "Module",
"txtScheme13": "Opulent",
"txtScheme14": "Oriel",
"txtScheme15": "Origin",
"txtScheme16": "Paper",
"txtScheme17": "Solstice",
"txtScheme18": "Technic",
"txtScheme19": "Trek",
"txtScheme22": "New Office"
}
},
"Statusbar": {

View file

@ -11,6 +11,13 @@ const PageSpreadsheetColorSchemes = props => {
const _t = t('View.Settings', {returnObjects: true});
const storeSpreadsheetSettings = props.storeSpreadsheetSettings;
const allSchemes = storeSpreadsheetSettings.allSchemes;
const SchemeNames = [
_t.txtScheme1, _t.txtScheme2, _t.txtScheme3, _t.txtScheme4, _t.txtScheme5,
_t.txtScheme6, _t.txtScheme7, _t.txtScheme8, _t.txtScheme9, _t.txtScheme10,
_t.txtScheme11, _t.txtScheme12, _t.txtScheme13, _t.txtScheme14, _t.txtScheme15,
_t.txtScheme16, _t.txtScheme17, _t.txtScheme18, _t.txtScheme19, _t.txtScheme20,
_t.txtScheme21, _t.txtScheme22
];
return (
<Page>
@ -18,8 +25,9 @@ const PageSpreadsheetColorSchemes = props => {
<List>
{
allSchemes ? allSchemes.map((scheme, index) => {
const name = scheme.get_name();
return (
<ListItem radio={true} className="color-schemes-menu no-fastclick" key={index} title={scheme.get_name()} checked={stateScheme === index}
<ListItem radio={true} className="color-schemes-menu no-fastclick" key={index} title={(index < 22) ? (SchemeNames[index] || name) : name} checked={stateScheme === index}
onChange={() => {
if(index !== curScheme) {
setScheme(index);