brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[AUTO]:LB: LOC: ja_JP: Translation change needed in string "Install PHP7 runtime for enabling PHP-related tooling such as Code Hints, Parameter Hints, Jump to Definition and more." #14433

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by aman-lion Tuesday Apr 23, 2019 at 08:50 GMT Originally opened as https://github.com/adobe/brackets/issues/14716


Problem: General style. The target string does not sound like a part of an error message.

EN Source: Install PHP7 runtime for enabling PHP-related tooling such as Code Hints, Parameter Hints, Jump to Definition and more.

Actual Translation: コードヒント、パラメーターヒント、定義にジャンプなどの PHP 関連のツールを有効化するために、PHP7 ランタイムをインストールします。

Expected Translation: コードヒント、パラメーターヒント、定義にジャンプなどの PHP 関連のツールを有効化するために、PHP7 ランタイムをインストールしてください。

EN Screen:

en_PhP version

JP Screen:

jp_PHPversion

core-ai-bot commented 3 years ago

Comment by schroef Thursday Apr 25, 2019 at 19:47 GMT


I dont quite understand the use of the warning. It opens settings, but not really what to do. There is also no more info given on how to solve this. Probably i need to find out how to install php 7 orso

core-ai-bot commented 3 years ago

Comment by shubhsnov Tuesday Apr 30, 2019 at 05:04 GMT


@schroef It's just there to inform the user that PHP features will not work if we're unable to find the php7 executable.

We prompt the user to install php7 but in case we're unable to pick up the path on our own, the user can search for PHP related settings in the default preferences and override them with his own. You can give a custom php7 executable path there.

core-ai-bot commented 3 years ago

Comment by RockStartCrazy Thursday May 02, 2019 at 15:32 GMT


So I have been trying to modify the path but no luck the message keeps showing up. What I am doing wrong? My code on the default preferences page: "php": { // Default: true "enablePhpTooling": true,

    // Default: php
          //  I tried with C:/xampp/php/php.exe 
    "executablePath": "C://xampp//php//php.exe",

    // Default: 4095M
    "memoryLimit": "4095M",

    // Default: false
    "validateOnType": "false"
}
core-ai-bot commented 3 years ago

Comment by shubhsnov Thursday May 02, 2019 at 15:40 GMT


@RockStartCrazy

Also, the path in Win should have \\ instead of /, so in your case it would be:

"php": {
        "enablePhpTooling": true,
    "executablePath": "C:\\xampp\\php\\php.exe",
    "memoryLimit": "4095M",
    "validateOnType": "false"
}

Do let us know in case this doesn't solve your problem.

core-ai-bot commented 3 years ago

Comment by RockStartCrazy Thursday May 02, 2019 at 15:45 GMT


Oh I see thank you very much that fixed my problem

core-ai-bot commented 3 years ago

Comment by Tagehar Thursday May 02, 2019 at 22:05 GMT


I tried to change it to "executablePath":"C:\\xampp\\php\\php.exe", but I always get the Error Message and it changed back to "executablePath": "php"

core-ai-bot commented 3 years ago

Comment by shubhsnov Friday May 03, 2019 at 01:45 GMT


@Tagehar

Please give some more information so that we can try replicating the issue on our end. I feel you might be changing it directly in defaultPreferences.json rather than brackets.json. That won't work.

Also, do make sure that the php executable path you provide is of php 7 and not php 5.

core-ai-bot commented 3 years ago

Comment by Tagehar Sunday May 05, 2019 at 10:33 GMT


Yes that was my mistake.

core-ai-bot commented 3 years ago

Comment by rodolphorojas Friday Jul 12, 2019 at 06:56 GMT


Good day with everyone. I have read all of your directions above several times, but I do not understand what I am doing wrong. I have entered the code as it indicates that the preferences file does not have the indicated format. The full code of backets.json is: { "brackets-eslint.gutterMarks": true, "brackets-eslint.useLocalESLint": false, "fonts.fontSize": "12px", "fonts.fontFamily": "'SourceCodePro-Medium', MS ゴシック, 'MS Gothic', monospace", "useTabChar": false, "themes.theme": "dark-theme" } "php": { "enablePhpTooling": true, "executablePath": "C:\AppServ\php7\php.exe", "memoryLimit": "4095M", "validateOnType": "false" }

Please help me.

Edit: SOLVED - The correct code is: { "brackets-eslint.gutterMarks": true, "brackets-eslint.useLocalESLint": false, "fonts.fontSize": "12px", "fonts.fontFamily": "'SourceCodePro-Medium', MS ゴシック, 'MS Gothic', monospace", "useTabChar": false, "themes.theme": "dark-theme",

"php": {
    "enablePhpTooling": true,
    "executablePath": "C:\\AppServ\\php7\\php.exe",
    "memoryLimit": "4095M",
    "validateOnType": "false"
}

}